Port-hppa archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Hardware or software?



> I'll be experimenting more - for example, seeing if I can coax my
> modern 5.2 machines into (cross-)building a static system, or perhaps
> if the 2016-built system I have is working enough to self-host a
> native build.

Doing a no-particular-options native build, running on the working
system from 2016, completes apparentlky normally, but exhibits the same
failure mode the amd64 cross-build does.

I have now also tried building with MKPIC=no, both native and amd64
cross-build.  Both builds fail in the same way: when trying to link
gdb, they get

2021-08-27 09:08:59.10 #      link  gdb/gdb
2021-08-27 09:08:59.10 /root/hp700/ad1ea75/OBJDIR/tooldir.NetBSD-5.2-hp700/bin/hppa--netbsd-gcc  -B/root/hp700/ad1ea75/DESTDIR/usr/lib/ -B/root/hp700/ad1ea75/DESTDIR/usr/lib/  -Wl,-nostdlib        -o gdb  gdb.o -L/root/hp700/ad1ea75/OBJDIR/gnu/usr.bin/gdb6/libgdb -lgdb -L/root/hp700/ad1ea75/OBJDIR/gnu/usr.bin/gdb6/opcodes -lopcodes  -L/root/hp700/ad1ea75/OBJDIR/gnu/usr.bin/gdb6/bfd -lbfd  -L/root/hp700/ad1ea75/OBJDIR/gnu/usr.bin/gdb6/readline -lreadline  -ltermcap  -L/root/hp700/ad1ea75/OBJDIR/gnu/usr.bin/gdb6/libiberty -liberty -lcurses -lintl -lm -lkvm       -L/root/hp700/ad1ea75/DESTDIR/usr/lib   -Wl,-rpath-link,/root/hp700/ad1ea75/DESTDIR/lib  -L/root/hp700/ad1ea75/DESTDIR/lib -Wl,-rpath-link,/root/hp700/ad1ea75/DESTDIR/usr/lib  -L/root/hp700/ad1ea75/DESTDIR/usr/lib
2021-08-27 09:09:08.69 /root/hp700/ad1ea75/DESTDIR/usr/lib/libc.a(compat_ldexp_ieee754.o): In function `finite':
2021-08-27 09:09:08.70 : multiple definition of `finite'
2021-08-27 09:09:08.70 /root/hp700/ad1ea75/DESTDIR/usr/lib/libm.a(s_finite.o):: first defined here
2021-08-27 09:09:08.70 /root/hp700/ad1ea75/DESTDIR/usr/lib/libc.a(compat_ldexp_ieee754.o): In function `scalbn':
2021-08-27 09:09:08.70 : multiple definition of `scalbn'
2021-08-27 09:09:08.70 /root/hp700/ad1ea75/DESTDIR/usr/lib/libm.a(s_scalbn.o):: first defined here
2021-08-27 09:09:08.70 collect2: ld returned 1 exit status
2021-08-27 09:09:08.71 
2021-08-27 09:09:08.71 *** Failed target:  gdb

(that from the native build; the cross build has different paths and of
course timestamps but is otherwise identical).  Apparently MKPIC=no had
already bitrotted into (at least hp700) uselessness as far back as 5.2.

Now I'm wondering where how I managed to do that cross-build back in
2016.  It completed and produced a superficially working, albeit
largely static, system.  I have the full build log, but I'm not sure
how to turn that back into a working build command/script.  I'll be
fiddling with this to see what I can get.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index