InBetweenNames / gentooLTO

A Gentoo Portage configuration for building with -O3, Graphite, and LTO optimizations
GNU General Public License v2.0
570 stars 96 forks source link

missing separator and other failures #409

Open sandikata opened 5 years ago

sandikata commented 5 years ago

Some packages just fails to build, with missing separator error.

cjs xfsdump deadbeef spidermonkey virtualbox

jiblime commented 5 years ago

Can confirm multiple packages, specifically xfsdump for myself, face ICE with 9.2. My first go to is to turn off SAFEST_MATH and switching -O3 to -O2 or even -O1 for packages that benefit more from stability than speed.

javashin commented 5 years ago

xfsdump dont compile is broken with xfs 5.2.1

javashin commented 5 years ago

i had just compiled virtualbox in 1 try today and is working nice app-emulation/virtualbox-6.0.10-r2::gentoo was built with the following: USE="alsa java lvm opengl opus pam pulseaudio python qt5 sdk udev -debug -doc -dtrace -headless -libressl -pax_kernel -vboxwebsrv -vnc" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_7 -python2_7 -python3_5 -python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7 -python3_5" CFLAGS="-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -march=native -mfpmath=sse+387 -falign-functions=32 -flimit-function-alignment -fuse-ld=bfd -fno-plt -fno-math-errno -fno-trapping-math -fno-stack-protector -pipe -Wl,-O2 -Wl,--as-needed,-z,now -Wl,--hash-style=gnu" CXXFLAGS="-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -march=native -mfpmath=sse+387 -falign-functions=32 -flimit-function-alignment -fuse-ld=bfd -fno-plt -fno-math-errno -fno-trapping-math -fno-stack-protector -pipe -Wl,-O2 -Wl,--as-needed,-z,now -Wl,--hash-style=gnu"

 Installed versions:  6.0.10-r2{tbz2}(12:05:59 AM 08/25/2019)(alsa java lvm opengl opus pam pulseaudio python qt5 sdk udev -debug -doc -dtrace -headless -libressl -pax_kernel -vboxwebsrv -vnc ELIBC="-FreeBSD" KERNEL="linux" PYTHON_SINGLE_TARGET="python3_7 -python2_7 -python3_5 -python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7 -python3_5")

needs openjdk 8 and for me never compiled with LTO before so i just tried without lto on this new installation and works fine :_

InBetweenNames commented 5 years ago

Cannot reproduce. Can you post a build.log?

jiblime commented 5 years ago

@javashin referring to xfsprogs-5.2.1, xfsdump has yet to be updated to match it. This should fix it, though I haven't tested it extensively. To use it, just remove .txt from it and put it in the /etc/portage/patches directory.

ndef-uuid_str_len-xfs-5.2-compat-calloc-decl.patch.txt

sandikata commented 5 years ago

No matter for me anymore, switched to default configuration. As there is no difference in performance, just increased build failures. Anyway respect your work.