Description of problem: Please enable ld.gold on aarch64. Scratch build with: %define gold_arches %ix86 x86_64 %arm aarch64 http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2924943
It turns out ld.gold is needed for correct ghc linking on aarch64. So could you please enable it soon for f22 and f23? If time is an issue I can also do it - thanks!
Hi Jens, The new 2.25-7 binutils rpm in rawhide enables support for building GOLD for AArch64. Please give it a go and let me know if you encounter any problems. Has the f23 branch been created yet ? I could not see it. Cheers Nick
binutils-2.25-6.fc2 now also contains this patch.
> Has the f23 branch been created yet ? I could not see it. F-23 is the master branch
(In reply to Nick Clifton from comment #2) > The new 2.25-7 binutils rpm in rawhide enables support for building GOLD > for AArch64. Please give it a go and let me know if you encounter any > problems. Thanks! That is basically what I tested already locally. On aarch64 using -fuse-ld=gold seems to break: AC_CHECK_SIZEOF(long long, 8)
Created attachment 1018372 [details] conftest.c for "AC_CHECK_SIZEOF(long long, 8)" checking size of long long... configure: error: in `/builddir/build/BUILD/ghc-7.10.1.20150414': configure: error: cannot compute sizeof (long long) $ gcc -o conftest conftest.c $ ./conftest $ gcc -o conftest -fuse-ld=gold conftest.c $ ./conftest Killed $ (gdb) r Starting program: /home/petersen/conftest During startup program terminated with signal SIGKILL, Killed.
I can open a separate bug for AC_CHECK_SIZEOF(long long, 8).
Hi Jens, > I can open a separate bug for AC_CHECK_SIZEOF(long long, 8). Please do. Presumably gold is at fault, but it would be helpful if you could capture the command line used to invoke gold, as well as the object file that it is trying to link. Cheers Nick
Okay I filed bug 1215546.
I guess this could be closed now: ld.gold is in F23 Rawhide