Tools/Scripts/build-jsc --gtk --ftl-jit
WebKitBuild/Release/bin/jsc --verboseFTLCompilation=true some.js
This is a regression. If I set USE_LD_GOLD to OFF it works fine.
I can't reproduce this bug on Ubuntu 14.04.
Maybe your ld and ld.gold have different default settings.
Could you check if passing --enable-new-dtags or --disable-new-dtags
to your linker fixes this issue or not?
How can I pass --disable-new-dtags to my linker? I am not that familiar with the build system to know.
By the way, I am on Ubuntu 14.04 too.
I needed to do clean rebuild to get USE_LD_GOLD change to take effect. Maybe you are still using ld?
Created attachment 242406 [details]
(In reply to comment #2)
> How can I pass --disable-new-dtags to my linker? I am not that familiar with
> the build system to know.
Try the attached patch.
(In reply to comment #3)
> Maybe you are still using ld?
No, I do use ld.gold.
Passing --disable-new-dtags using the attached patch does fix the issue. Thanks.
I found that although my system is Ubuntu 14.04, my binutils package is from Ubuntu 14.10. I installed GCC 4.9 from Ubuntu 14.10 repository, which also pulled binutils, but I forgot about it.
Sorry for confusion.
*** This bug has been marked as a duplicate of bug 140049 ***