Description of problem:
Please enable ld.gold on aarch64.
Scratch build with:
%define gold_arches %ix86 x86_64 %arm aarch64
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!
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.
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
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-18.104.22.16850414':
configure: error: cannot compute sizeof (long long)
$ gcc -o conftest conftest.c
$ gcc -o conftest -fuse-ld=gold conftest.c
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).
> I can open a separate bug for AC_CHECK_SIZEOF(long long, 8).
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.
Okay I filed bug 1215546.
I guess this could be closed now: ld.gold is in F23 Rawhide