Open sandikata opened 5 years ago
Strange is Fine here media-libs/glu-9.0.0-r1::gentoo was built with the following: USE="-static-libs" ABI_X86="32 (64) (-x32)" CFLAGS="-march=native -mfpmath=both -funroll-loops -falign-functions=32 -fuse-ld=gold -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=3 -fuse-linker-plugin -fno-plt -fno-math-errno -fno-trapping-math -fno-stack-protector -pipe -Wl,-O2 -Wl,--as-needed,-z,now -Wl,--hash-style=gnu" CXXFLAGS="-march=native -mfpmath=both -funroll-loops -falign-functions=32 -fuse-ld=gold -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=3 -fuse-linker-plugin -fno-plt -fno-math-errno -fno-trapping-math -fno-stack-protector -pipe -Wl,-O2 -Wl,--as-needed,-z,now -Wl,--hash-style=gnu" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" LDFLAGS="-Wl,-O2 -Wl,--as-needed,-z,now -Wl,--hash-style=gnu -march=native -mfpmath=both -funroll-loops -falign-functions=32 -fuse-ld=gold -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=3 -fuse-linker-plugin -fno-plt -fno-math-errno -fno-trapping-math -fno-stack-protector -pipe"
Installed versions: 9.0.0-r1(07:28:37 PM 06/24/2019)(-static-libs ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
I compiled glu without any issues: https://gist.github.com/elsandosgrande/9304f086332e8e16b87900df308d94d5
I'm also not able to reproduce this -- the error itself looks pretty odd. How was GCC built?
Just got hit by this, out of 1k packages this one failed, it might be not GLTO related though as it doesn't build with default flags even
~ ➜ genlop -i gcc
sys-devel/gcc
Total builds: 14 Global build time: 15 hours, 43 minutes and 19 seconds. Average merge time: 1 hour, 7 minutes and 22 seconds.
Info about currently installed ebuild:
cat /etc/portage/patches/media-libs/glu-9.0.0-r1/glu-stddef-fix.patch --- work/glu-9.0.0/src/libutil/error.c.orig 2019-07-08 16:16:22.409908650 +0300 +++ work/glu-9.0.0/src/libutil/error.c 2019-07-08 16:16:41.446397150 +0300 @@ -28,6 +28,7 @@
+#include "stddef.h"
my dirty patch for that
https://gist.github.com/sandikata/541c7b0559c90398afc2b6bfe78c1c69
build failure on such package, i cannot get it work, i need some tips.