Version-Release number of selected component (if applicable): annobin-3.3-1.fc28 Steps to Reproduce: 1. koji build --arch=x86_64 --scratch rawhide 'git://pkgs.fedoraproject.org/curl?#cbbefe6fb95979859c4be9a5d92a74419211cbbb' Actual results: [...] *** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins. Event | Plugins PLUGIN_FINISH_UNIT | annobin: Generate final annotations PLUGIN_START_UNIT | annobin: Generate global annotations PLUGIN_ALL_PASSES_END | annobin: Generate per-function annotations during RTL pass: final ../../../tests/server/tftpd.c: In function 'recvtftp.isra.3': ../../../tests/server/tftpd.c:1404:1: internal compiler error: in dwarf2out_var_location, at dwarf2out.c:26542 } ^ [...] Expected results: curl-7.58.0-2.fc28 built as it did a week ago (no changes in curl since then): https://koji.fedoraproject.org/koji/buildinfo?buildID=1020500 Additional info: https://kojipkgs.fedoraproject.org//work/tasks/4198/24594198/build.log
The build log shows an earlier problem, probably unrelated: extracting debug info from /builddir/build/BUILDROOT/curl-7.58.0-2.fc28.x86_64/usr/bin/curl.minimal extracting debug info from /builddir/build/BUILDROOT/curl-7.58.0-2.fc28.x86_64/usr/lib64/libcurl.so.4.5.0.minimal /usr/bin/gdb-add-index: line 61: 22137 Aborted (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dir" gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/curl-7.58.0-2.fc28.x86_64/usr/lib64/libcurl.so.4.5.0 /usr/bin/gdb-add-index: line 61: 22133 Aborted (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dir" gdb-add-index: gdb error generating index for /builddir/build/BUILDROOT/curl-7.58.0-2.fc28.x86_64/usr/lib64/libcurl.so.4.5.0.minimal /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 7491 blocks
Created attachment 1388908 [details] bz1540549.i Compile with: -mcet -g -O2 -fcf-protection=full -mcet -fcf-protection=full is required to trigger this bug.
(In reply to Florian Weimer from comment #1) > The build log shows an earlier problem, probably unrelated: > > extracting debug info from > /builddir/build/BUILDROOT/curl-7.58.0-2.fc28.x86_64/usr/bin/curl.minimal > extracting debug info from > /builddir/build/BUILDROOT/curl-7.58.0-2.fc28.x86_64/usr/lib64/libcurl.so.4.5. > 0.minimal > /usr/bin/gdb-add-index: line 61: 22137 Aborted (core dumped) > $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" > -ex "save gdb-index $dir" > gdb-add-index: gdb error generating index for > /builddir/build/BUILDROOT/curl-7.58.0-2.fc28.x86_64/usr/lib64/libcurl.so.4.5. > 0 Filed separately as bug 1540559.
Thanks for the quick response on this!
I have pushed the following workaround to make curl build again: https://src.fedoraproject.org/cgit/rpms/curl.git/commit/?id=bf966a95
Should be fixed in gcc-8.0.1-0.13.fc28.
Thanks! I have successfully built curl-7.58.0-5.fc28 without the workaround.