Subject: cross-build failed
To: None <port-hpcmips@netbsd.org>
From: Fujio Nobori <toh@po.ntts.co.jp>
List: port-hpcmips
Date: 07/27/2001 11:17:02
Hi all,

I am trying to cross-build yesterday's -current.

And wondering why I am getting this:

=================================================================

toh@myhost:/usr/src/regress/lib/csu> sudo hpcmips-make dependall
+ exec make dependall
dependall ===> initfini
mkdep -a  -nostdinc -idirafter /altroot/usr/include -traditional-cpp /mnt/src/regress/lib/csu/initfini/arch/mips/initfini_asm.S
mkdep -a  -nostdinc -idirafter /altroot/usr/include /mnt/src/regress/lib/csu/initfini/initfini.c
/usr/pkg/cross/bin/mipsel-netbsd-gcc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror   -nostdinc -idirafter /altroot/usr/include -c /mnt/src/regress/lib/csu/initfini/initfini.c
/usr/pkg/cross/bin/mipsel-netbsd-gcc   -nostdinc -idirafter /altroot/usr/include -c -traditional-cpp /mnt/src/regress/lib/csu/initfini/arch/mips/initfini_asm.S
/usr/pkg/cross/bin/mipsel-netbsd-gcc   -o initfini -nostdlib -Wl,-rpath-link,/altroot/usr/lib /altroot/usr/lib/crt0.o /altroot/usr/lib/crtbegin.o initfini.o initfini_asm.o  -L/altroot/usr/lib -lgcc -lc -lgcc /altroot/usr/lib/crtend.o
/usr/pkg/cross/mipsel-netbsd/bin/ld: Warning: type of symbol `_gp_disp' changed from 1 to 3 in /altroot/usr/lib/libc.so
/usr/pkg/cross/mipsel-netbsd/bin/ld: initfini_asm.o: linking PIC files with non-PIC files
Bad value: failed to merge target specific data of file initfini_asm.o
collect2: ld returned 1 exit status
*** Error code 1

Stop.
make: stopped in /mnt/src/regress/lib/csu/initfini
*** Error code 1

Stop.
make: stopped in /mnt/src/regress/lib/csu/initfini
*** Error code 1

Stop.
make: stopped in /mnt/src/regress/lib/csu

=================================================================

I also tried to self-build the same source, but this always
faild in 'TLB miss' (I always get this when recent kernel
is working hard).

How can I get on the right track again?

Any help will be appreciated. Thank you very much in advance.

-------------------------------------------------------
Portforwarding function of SSH on Windows or WindowsCE:
    http://portforwarder.nttsoft.net/
-------------------------------------------------------
FUJIO NOBORI (toh@po.ntts.co.jp)
   NTT SOFTWARE CO., TOKYO JAPAN
   tel: +81 3 5782 7291  fax: +81 3 5782 7222