Ken Chiu Kun Wu wrote: > Hi, > Thanks for the help... > But I am trouble finding binutils-2.9.0.22 > It seems ftp://ftp.varesearch.com/pub/support/hjl/binutils/ > doesn't have that version..as a result i use > binutils-2.9.0.31 > Can you tell me where u got ur binutils from? binutils-2.9.0.22 is not available to download but you can get binutils-2.9.0.29 and following patch (diff) files form 2.9.0.27->2.9.0.29 , 2.9.0.24-> 2.9.0.27 and 2.9.0.24 ->2.9.0.22 and apply them with -R option accordingly ( i.e revers patch). It works!!!!! > > cheers > Ken > > I also experienced the same problem yesterday ultimatly I used binutils-2.9.5.0.22 > > and it worked. (Check yesterday mails in linux-arm list) > > > > > > Ken Chiu Kun Wu wrote: > > > > > Hi > > > Has anyone had this error before when compiling gcc-2.95.2 > > > So far I've succesfully build "binutils-2.9.5.0.31". > > > Files I've used to build gcc-2.95.2 are: > > > gcc-2.95.2.tar.gz > > > gcc-fold-const.patch > > > gcc-2.95.2-diff-991022 > > > I placed all the source files under > > > /usr/src/gcc-2.95.2 > > > and applied patch gcc-2.95.2-diff-991022 (patch -p0 < gcc-2.95.2-diff-991022) > > > in directory /usr/src/gcc-2.95.2 > > > and patch gcc-fold-const.patch (patch -p0 < gcc-fold-const.patch) in > > > directory /usr/src/gcc-2.95.2/gcc > > > > > > then ./configure --target=arm-linux --prefix=/usr --disable-threads > > > and finally make LANGUAGES="c" > > > > > > the error message goes like this > > > ---------- > > > make[3]: Entering directory `/usr/src/gcc-2.95.2/gcc' > > > /usr/src/gcc-2.95.2/gcc/xgcc -B/usr/src/gcc-2.95.2/gcc/ > > > -B/usr/arm-linux/bin/ -I > > > /usr/arm-linux/include -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include > > > -I. -I. > > > -I./config -I./../include -g0 \ > > > -finhibit-size-directive -fno-inline-functions -fno-exceptions \ > > > -c ./crtstuff.c -DCRT_BEGIN -o tcrtbegin.o > > > /tmp/ccaxRL9I.s: Assembler messages: > > > /tmp/ccaxRL9I.s:61: Error: out of range branch > > > make[3]: *** [tcrtbegin.o] Error 1 > > > make[3]: Leaving directory `/usr/src/gcc-2.95.2/gcc' > > > mv: tcrtbegin.o: No such file or directory > > > make[3]: Entering directory `/usr/src/gcc-2.95.2/gcc' > > > /usr/src/gcc-2.95.2/gcc/xgcc -B/usr/src/gcc-2.95.2/gcc/ > > > -B/usr/arm-linux/bin/ -I > > > /usr/arm-linux/include -DCROSS_COMPILE -DIN_GCC -g -O2 -I./include > > > -I. -I. > > > -I./config -I./../include -g0 \ > > > -finhibit-size-directive -fno-inline-functions -fno-exceptions \ > > > -c ./crtstuff.c -DCRT_END -o tcrtend.o > > > /tmp/cc0DfYIi.s: Assembler messages: > > > /tmp/cc0DfYIi.s:37: Error: out of range branch > > > make[3]: *** [tcrtend.o] Error 1 > > > make[3]: Leaving directory `/usr/src/gcc-2.95.2/gcc' > > > mv: tcrtend.o: No such file or directory > > > make[2]: *** [stmp-multilib-sub] Error 1 > > > make[2]: Leaving directory `/usr/src/gcc-2.95.2/gcc' > > > make[1]: *** [stmp-multilib] Error 1 > > > make[1]: Leaving directory `/usr/src/gcc-2.95.2/gcc' > > > make: *** [all-gcc] Error 2 > > > --------- > > > > > > cheers > > > Ken > > > ----------------------------------------------- > > > Ken Wu (Electrical/Biomedical Eng. UNSW Sydney) > > > E-Mail: [EMAIL PROTECTED] > > > [EMAIL PROTECTED] > > > Homepage: www.progsoc.uts.edu.au/~kckwu > > > ----------------------------------------------- > > > > > > unsubscribe: body of `unsubscribe linux-arm-kernel' to >[EMAIL PROTECTED] > > > > > > ----------------------------------------------- > Ken Wu (Electrical/Biomedical Eng. UNSW Sydney) > E-Mail: [EMAIL PROTECTED] > [EMAIL PROTECTED] > Homepage: www.progsoc.uts.edu.au/~kckwu > Mobile: 0410 668 349 > ICQ number: 1074203 > ----------------------------------------------- unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED] ++ Please use [EMAIL PROTECTED] for ++ ++ kernel-related discussions. ++
