This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Any success building cross ARM gcc on HPUX?
- From: Klaus Pedersen <klaus dot k dot pedersen at nokia dot com>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 11 Dec 2001 22:40:43 +0100
- Subject: Any success building cross ARM gcc on HPUX?
- Organization: Nokia
Hi,
I have for some time tried to build a ARM cross compiler for HPUX 11.
(uname: HP-UX B.11.00 A 9000/785 2014470784)
But I haven't had any success yet. Please let me hear if you have had
success doing that.
For the record, I have successfully build the same most current
snapshot on both SunOS 5.6 and Linux (Mandrake 8.1).
I used this configure:
../gcc-20011203/configure \
--prefix=/opt/arm-elf-gcc --target=arm-elf --nfp \
--enable-languages=c,c++ --with-dwarf2 --enable-target-optspace \
--with-as=/opt/arm-elf-gcc/bin/arm-elf-as \
--with-ld=/opt/arm-elf-gcc/bin/arm-elf-ld
I reported this problem a long time ago, but I had classified it as
an ARM problem, and it probably isn't - because I can build the
compiler on Linux and Sun, so the bug report was ignored.
So to avoid that the bug is ignored again I post the information
here in the hope that somebody can help me supplying relevant
information.
Note that I don't have any problems building a native HPUX compiler
based on the same snapshot.
The problem first happens when xgcc is used to build thumb support
functions.
Building with 2.95.3, 20011203-snapshot or 3.0.2 on HPUX 11 all gives
this result when building libgcc2:
-----------------
[...]
gmake[2]: Entering directory `/opt/trash/gcc-3.0/gcc-build/gcc'
for d in libgcc thumb libgcc/thumb; do \
if [ -d $d ]; then true; else /bin/sh
../../gcc-20011203/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/opt/trash/gcc-3.0/gcc-build/gcc/xgcc
-B/opt/trash/gcc-3.0/gcc-build/gcc/ -B/opt/arm-elf-gcc/arm-elf/bin/
-B/opt/arm-elf-gcc/arm-elf/lib/ -isystem
/opt/arm-elf-gcc/arm-elf/include -O2 -DCROSS_COMPILE -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include -Dinhibit_libc -fno-inline -g1 -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-20011203/gcc
-I../../gcc-20011203/gcc/. -I../../gcc-20011203/gcc/config
-I../../gcc-20011203/gcc/../include -mthumb -DL_muldi3 -c
../../gcc-20011203/gcc/libgcc2.c -o libgcc/thumb/_muldi3.o
../../gcc-20011203/gcc/libgcc2.c: In function `__muldi3':
../../gcc-20011203/gcc/libgcc2.c:367: could not split insn
(insn 175 129 72 (set (reg:SI 2 r2)
(const_int 65536 [0x10000])) 176 {*thumb_movsi_insn} (nil)
(nil))
../../gcc-20011203/gcc/libgcc2.c:367: Internal compiler error in
final_scan_insn, at final.c:2928
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
gmake[2]: *** [libgcc/thumb/_muldi3.o] Error 1
gmake[2]: Leaving directory `/opt/trash/gcc-3.0/gcc-build/gcc'
gmake[1]: *** [stmp-multilib] Error 2
gmake[1]: Leaving directory `/opt/trash/gcc-3.0/gcc-build/gcc'
gmake: *** [all-gcc] Error 2
-------------------