Dear all,

I am trying to build a cross-compiler for an alphaev56-unknown-linux-gnu
system, using crosstool-ng. The host is a i686-unknown-linux-gnu.

After applying several patches (look in [1]), I managed to build a
tool-chain using binutils 2.18/gcc 4.2.3/linux kernel 2.6.24.7 and glibc
2.3.6 (with linuxthreads). However, I would like to use newer versions of
gcc (4.3.x) and glibc(>=2.6). Trying to build these, however, yields some
errors (initially in glibc and now in gcc).

I managed to get as far as described here:

http://sourceware.org/ml/libc-help/2008-06/msg00061.html [1]
http://sourceware.org/ml/libc-help/2008-06/msg00062.html

The errors in [1] are coming from glibc. Ryan Arnold replied with this
message:

http://sourceware.org/ml/libc-help/2008-06/msg00063.html

which solved the first problem described in [1]. However, I now get an
error further down in the build procedure, while trying to build gcc 4.3.1
for the target architecture:

source='/root/Temp/crosstool-ng/crosstool-ng-2008-06-19/targets/src/gcc-4.3.1/libdecnumber/dpd/decimal128.c'
object='decimal128.o' libtool=no i686-pc-linux-gnu-gcc 
-I/root/Temp/crosstool-ng/crosstool-ng-2008-06-19/targets/src/gcc-4.3.1/libdecnumber
-I.  -pipe -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute
-Wcast-qual -pedantic -Wno-long-long 
-I/root/Temp/crosstool-ng/crosstool-ng-2008-06-19/targets/src/gcc-4.3.1/libdecnumber
-I.  -c
/root/Temp/crosstool-ng/crosstool-ng-2008-06-19/targets/src/gcc-4.3.1/libdecnumber/dpd/decimal128.c
[ALL  ]    rm -f libdecnumber.a
[ALL  ]    ar cru libdecnumber.a decNumber.o decContext.o decimal32.o
decimal64.o decimal128.o
[ALL  ]    i686-pc-linux-gnu-ranlib libdecnumber.a
[ALL  ]    make[1]: Leaving directory
`/root/Temp/crosstool-ng/crosstool-ng-2008-06-19/targets/alphaev56-unknown-linux-gnu/build/build-cc-core-shared/libdecnumber'
[ALL  ]    make[1]: Entering directory
`/root/Temp/crosstool-ng/crosstool-ng-2008-06-19/targets/alphaev56-unknown-linux-gnu/build/build-cc-core-shared/gcc'
[ERROR]    make[1]: *** No rule to make target `libgcc.mk'.  Stop.
[ALL  ]    make[1]: Leaving directory
`/root/Temp/crosstool-ng/crosstool-ng-2008-06-19/targets/alphaev56-unknown-linux-gnu/build/build-cc-core-shared/gcc'
[ERROR]    Build failed in step 'Installing shared core C compiler'

I couldn't find any references to this problem in the mailing list
archives and the Web. Any ideas?

Thanks for your help!

Ioannis


Reply via email to