Subject: initfini build problem
To: None <port-sgimips@netbsd.org>
From: Havard Eidnes <he@netbsd.org>
List: port-sgimips
Date: 07/29/2001 23:08:40
Hi,

I'm currently running 1.5X from yesterday on my new Indigo2, and it's
been doing "make build" most of today.

A couple of oddities I note in the startup:

  IOC rev 0, machine Indigo2 (Fullhouse), board rev 8
  Timer calibration, got 1250000 cycles (1250000, 1250000, 1250000)
  CPU clock speed =3D 125.00Mhz

Actually, it's 250MHz...

  cpu0 at mainbus0: MIPS R4400 CPU (0x460) Rev. 6.0 with MIPS R4010 FPC=
 Rev. 0.0
  cpu0: L1 cache: 16KB/16B instruction, 16KB/16B data, direct mapped
  cpu0: L2 cache: 1024KB/128B mixed, no snooping
  cpu0: disabling IP22 SysAD L2 cache

The L2 cache is actually 2MB.  The disabling is because the cache code
isn't quite there yet, right?

Finally, the build stopped at:

  dependall =3D=3D=3D> regress/lib/csu/initfini
  mkdep -a -traditional-cpp /usr/src/regress/lib/csu/initfini/arch/mips=
/initfini_asm.S
  mkdep -a /usr/src/regress/lib/csu/initfini/initfini.c
  cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arit=
h -Wno-uninitialized -Werror   -c /usr/src/regress/lib/csu/initfini/ini=
tfini.c
  cc   -c -traditional-cpp /usr/src/regress/lib/csu/initfini/arch/mips/=
initfini_asm.S
  cc   -o initfini initfini.o initfini_asm.o =

  /usr/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.

I don't quite know how to deal with that...  Hints appreciated.

- H=E5vard