On Sat, Jan 22, 2022 at 12:01:51PM -0000, Martin Gansser wrote: > gcc-12 breaks build [1] with vdr-live with ppc64le on rawhide > > g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu++11 -fPIC -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -shared live.o thread.o tntconfig.o setup.o i18n.o timers.o tools.o recman.o tasks.o status.o epg_events.o epgsearch.o grab.o md5.o filecache.o livefeatures.o preload.o timerconflict.o users.o osd_status.o ffmpeg.o StringMatch.o -Wl,--whole-archive pages/libpages.a css/libcss.a javascript/libjavascript.a -Wl,--no-whole-archive -ltntnet -lpcre2-8 -ltntnet -lpcre2-8 -o libvdr-live.so > {standard input}: Assembler messages: > {standard input}:40809: Error: junk at end of line, first unrecognized character is `=' > {standard input}:40810: Error: expected comma after "operator" > {standard input}:43903: Error: junk at end of line, first unrecognized character is `+' > {standard input}:43904: Error: expected comma after "operator" > {standard input}:45705: Error: junk at end of line, first unrecognized character is `+' > {standard input}:45706: Error: expected comma after "operator" > {standard input}: Assembler messages: > {standard input}:43994: Error: junk at end of line, first unrecognized character is `.' > {standard input}:43995: Error: expected comma after "__ct_base" > {standard input}:45212: Error: junk at end of line, first unrecognized character is `(' > {standard input}:45213: Error: expected comma after "operator" > {standard input}:53960: Error: junk at end of line, first unrecognized character is `(' > {standard input}:53961: Error: expected comma after "operator" > make[2]: *** [/tmp/ccKrB6Z5.mk:2: /tmp/cce7FcJC.ltrans0.ltrans.o] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[2]: *** [/tmp/ccKrB6Z5.mk:77: /tmp/cce7FcJC.ltrans25.ltrans.o] Error 1 > lto-wrapper: fatal error: make returned 2 exit status > compilation terminated. > /usr/bin/ld: error: lto-wrapper failed > collect2: error: ld returned 1 exit status > make[1]: *** [Makefile:210: libvdr-live.so] Error 1 > RPM build errors: > make: *** [Makefile:143: recursive-sofile] Error 2 > error: Bad exit status from /var/tmp/rpm-tmp.BRIequ (%build) > Bad exit status from /var/tmp/rpm-tmp.BRIequ (%build) > Child return code was: 1 > EXCEPTION: [Error()] > > > [1] https://kojipkgs.fedoraproject.org//work/tasks/1156/81651156/build.log > > How can i fix this ? I suspect it is https://gcc.gnu.org/PR104172, we'll fix it on the compiler side. Jakub _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure