I think I've found where this problem comes from. In binutils srpm, there is a patch called binutils-2.22.52.0.1-aarch64-paths.patch. In this patch, there is a changset: diff -urN binutils-2.22.52.0.1/ld/configure.tgt binutils-2.22.52.0.1-aarch64/ld/configure.tgt --- binutils-2.22.52.0.1/ld/configure.tgt 2012-11-15 14:33:51.503580945 -0700 +++ binutils-2.22.52.0.1-aarch64/ld/configure.tgt 2012-11-15 16:01:31.095377997 -0700 @@ -716,6 +716,12 @@ NATIVE_LIB_DIRS='/lib /usr/lib /usr/local/lib' ;; +aarch64*-redhat-linux*) + MULTIARCHTUPLE=aarch64-linux-gnu + NATIVE_LIB_DIRS="/usr/local/lib64 /lib64 /usr/lib64" + ;; + +hppa*64*-*-hpux11*) aarch64*-*-linux*) ^^^ This may results the error. Since, there has to be ";;" between this two lines. Or just removing the "aarch64*-*-linux*)" line. On Sun, Nov 25, 2012 at 10:54:38AM +0800, Chen Baozi wrote: > Hi Al, > > It is really excited to see ARMv8 bootstrap on fedora. I'd really love to > get involved. > > 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: > > /home/cbz/src/fedora-armv8/bootstrap/rpmbuild/BUILD/binutils-2.22.52.0.1/ld/configure.tgt: > /line 725: syntax error near unexpected token `)' > /home/cbz/src/fedora-armv8/bootstrap/rpmbuild/BUILD/binutils-2.22.52.0.1/ld/configure.tgt: > /line 725: `aarch64*-*-linux*)' > make[1]: *** [configure-ld] Error 1 > make[1]: Leaving directory > `/home/cbz/src/fedora-armv8/bootstrap/builds/binutils' > make: *** [all] Error 2 > + echo > > + 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-*. > > Any ideas? > > Regards, > > Chen Baozi > > On Wed, Nov 21, 2012 at 02:30:27PM -0700, Al Stone wrote: > > Howdy. > > > > 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: > > > > https://fedoraproject.org/wiki/Architectures/ARM/AArch64 > > > > 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 > > how). > > > > 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. > > > > -- > > ciao, > > al > > ----------------------------------- > > Al Stone > > Software Engineer > > Red Hat, Inc. > > ahs3@xxxxxxxxxx > > ----------------------------------- > > _______________________________________________ > > arm mailing list > > arm@xxxxxxxxxxxxxxxxxxxxxxx > > https://admin.fedoraproject.org/mailman/listinfo/arm _______________________________________________ arm mailing list arm@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/arm