lagan-2.0-25.fc31 fails to build in Fedora 31: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o ../chaos fchaos.c thrtrie.c skiplist.c global.c translate.c filebuffer.c -lm -DCHAOS__FLAG [...] BUILDSTDERR: /usr/bin/ld: /tmp/ccKa2PVI.o: in function `connectToPrev': BUILDSTDERR: /builddir/build/BUILD/lagan20/src/fchaos.c:532: undefined reference to `findPrev' BUILDSTDERR: collect2: error: ld returned 1 exit status
I guess it's because the distribution linker flags %{build_ldflags} are not honored.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31.
*** Bug 1735981 has been marked as a duplicate of this bug. ***
Fixed in rawhide, was due to gcc failing to automatically inline a function, solved by forcing inlining