Open sandikata opened 5 years ago
a possible issue with -fuse-linker-plugin in CFLAGS. Newer spidermonkey build fine. There must be some workaround without -fuse-linker-plugin just for spidermonkey 52
i can confirm this and happen with last version dev-lang/spidermonkey-60.5.2_p0-r2::gentoo
removing -fuse-linker-plugin did help dev-lang/spidermonkey-60.5.2_p0-r2::gentoo was built with the following: USE="custom-cflags custom-optimization jit system-icu -debug -minimal -test" ABI_X86="(64)" CFLAGS="-march=native -mfpmath=both -funroll-loops -falign-functions=32 -fgraphite-identity -floop-nest-optimize -fno-semantic-interposition -fuse-ld=gold -O3 -fipa-pta -fno-plt -fno-math-errno -fno-trapping-math -fdevirtualize-at-ltrans -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 -fgraphite-identity -floop-nest-optimize -fno-semantic-interposition -fuse-ld=gold -O3 -fipa-pta -fno-plt -fno-math-errno -fno-trapping-math -fdevirtualize-at-ltrans -fno-stack-protector -pipe -Wl,-O2 -Wl,--as-needed,-z,now -Wl,--hash-style=gnu"
keeps happening
this time to be able to compile spidermonkey i had to remove bashrc bashrc.d make.conf.lto make.conf.lto.defines package.cflags from /etc/portage , delete all the leftovers from gentooLTO overay to make it compile i dont know why there is something wrong with this bashrc bashrc.d from mv:overlay do we really need mv overlay ?
I don't know what to tell you, a -r1 spidermonkey fails to build.
i had successfully emerged spidermonkey but like i say dev-lang/spidermonkey-60.5.2_p0-r3::gentoo was built with the following: USE="custom-cflags custom-optimization jit system-icu -debug -minimal -test" ABI_X86="(64)" CFLAGS="-march=native -mfpmath=both -funroll-loops -falign-functions=32 -fgraphite-identity -floop-nest-optimize -fno-semantic-interposition -fuse-ld=gold -O3 -fipa-pta -fno-plt -fno-math-errno -fno-trapping-math -fdevirtualize-at-ltrans -fno-stack-protector -pipe" CXXFLAGS="-march=native -mfpmath=both -funroll-loops -falign-functions=32 -fgraphite-identity -floop-nest-optimize -fno-semantic-interposition -fuse-ld=gold -O3 -fipa-pta -fno-plt -fno-math-errno -fno-trapping-math -fdevirtualize-at-ltrans -fno-stack-protector -pipe"
i had to remove bashrc bashrc.d make.conf.lto make.conf.lto.defines package.cflags from /etc/portage
and make.conf
https://gist.github.com/sandikata/8a0f86d99a6aa18d56caf394d9630179