Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spidermonkey:52 build failure #313

Open
sandikata opened this issue May 12, 2019 · 7 comments
Open

spidermonkey:52 build failure #313

sandikata opened this issue May 12, 2019 · 7 comments

Comments

@sandikata
Copy link

https://gist.github.com/sandikata/8a0f86d99a6aa18d56caf394d9630179

@sandikata
Copy link
Author

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

@javashin
Copy link

javashin commented May 20, 2019

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"

@javashin
Copy link

keeps happening

@javashin
Copy link

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 ?

@sandikata
Copy link
Author

I don't know what to tell you, a -r1 spidermonkey fails to build.

@javashin
Copy link

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

@javashin
Copy link

and make.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants