I think I've found where this problem comes from.
In binutils srpm, there is a patch called
binutils-126.96.36.199.1-aarch64-paths.patch. In this patch, there is a
diff -urN binutils-188.8.131.52.1/ld/configure.tgt
--- binutils-184.108.40.206.1/ld/configure.tgt 2012-11-15 14:33:51.503580945 -0700
+++ binutils-220.127.116.11.1-aarch64/ld/configure.tgt 2012-11-15 16:01:31.095377997
@@ -716,6 +716,12 @@
NATIVE_LIB_DIRS='/lib /usr/lib /usr/local/lib'
+ NATIVE_LIB_DIRS="/usr/local/lib64 /lib64 /usr/lib64"
^^^ This may results the error. Since, there has to be ";;" between this two
just removing the "aarch64*-*-linux*)" line.
On Sun, Nov 25, 2012 at 10:54:38AM +0800, Chen Baozi wrote:
It is really excited to see ARMv8 bootstrap on fedora. I'd really love to
Right now, I'm following the wiki's instructions to rebuild stage1 to get
familiar with ARMv8's bootstrap. However, there is an error stopping the
stage1 building process saying:
/line 725: syntax error near unexpected token `)'
/line 725: `aarch64*-*-linux*)'
make: *** [configure-ld] Error 1
make: Leaving directory
make: *** [all] Error 2
+ echo Module binutils failed
Module binutils failed
+ return 1
The cross toolchain that I used is downloaded from linaro. And I rename all
its aarch64-linux-gnu-* to aarch64-redhat-linux-gnu-*.
On Wed, Nov 21, 2012 at 02:30:27PM -0700, Al Stone wrote:
> It's time to announce a little project I've been working on for the last
> few weeks: the ARMv8 bootstrap project for Fedora.
> There has been a lot of interest in ARMv8 (also known as aarch64) in the
> last few months since it was introduced by ARM. A 64-bit processor that
> uses as little power as possible could provide an enormous cost savings
> to the vast and growing data centers throughout the world.
> So, even though hardware is not yet available, we have started the work
> needed to bring Fedora to ARMv8. Using the ARM provided Foundation
> model (a platform simulator for ARMv8), we have been building up the
> packages needed to eventually get to a full native build of Fedora.
> Details and current status are here:
> Of the six stages needed in the bootstrap of a new architecture, we
> are in the middle of stage 2; these are therefore pretty early bits.
> In the interest of full transparency in what we do, and in the spirit
> of release early and release often, grab a copy and have fun!
> On the Fedora wiki, you will find instructions on where to find all
> the bits and pieces used to construct the root file system image
> that's been created so far, and how to use the ARM Foundation model
> to do further work. And there is plenty to do :).
> If you'd like to help, read through the wiki pages above and get
> yourself to the point where you can run the ARM Foundation model
> using the Fedora root file system. Then find a package needing
> some love and do what needs to be done for ARMv8 (the wiki explains
> And if you have questions, you can find me (ahs3) on #fedora-arm on
> IRC (Freenode), or ask on this mailing list; the more, the merrier.
> Al Stone
> Software Engineer
> Red Hat, Inc.
> arm mailing list