This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problems about building gcc-3.2.1 on ARM


Hi,

I downloaded gcc-3.2.1-20021002 and want to install it on my armV5l machine.
The filesystem is netwinder, it is located in my building machine (IA 32) and 
is automatically NFS mounted to the target arm machine.

Because the native build for gcc requires GNU binutils 2.10 or newer, I first 
build binutils-2.13.90.0.16 in the machine, using the following commands:

$ mkdir /tmp/binu_build
$ cd /tmp/binu_build
$ ~/binutils-2.13.90.0.16/configure --program-prefix=g
$ make
$ make install

There seems no problem when doing these steps.
Then I began to build gcc like this:

$ PWDCMD=pawd (# Because the file system is an automounted NFS one)
$ mkdir /tmp/gcc_build
$ cd /tim/gcc_build
$ ~/gcc-3.2.1-20021002/configure ?with-gnu-ld=/usr/local/bin/gld ?with-gnu-as=/usr
/local/bin/gas ?program-prefix=y

The configuring ran smoothly, and then:

$ make bootstrap

This step ended with the following error:

/home/nptltst/gcc-3.2.2/gcc/varasm.c: In function `strip_reg_name':
/home/nptltst/gcc-3.2.2/gcc/varasm.c:734: warning: comparison of unsigned expres
sion < 0 is always false
/home/nptltst/gcc-3.2.2/gcc/varasm.c: In function `decode_rtx_const':
/home/nptltst/gcc-3.2.2/gcc/varasm.c:3668: internal error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [varasm.o] Error 1
make[2]: Leaving directory `/tmp/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/tmp/gcc'
make: *** [bootstrap] Error 2

I retried these steps to build gcc-3.2.2 but met the same error.

Did anybody once met such a problem and could you please give me a hand to offer some guide? 
Thanks!


Regards,
Yishu

 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]