Subject: Can't build net/ORbit on arm32 -current
To: None <tech-pkg@NetBSD.ORG>
From: Martin Husemann <martin@duskware.de>
List: tech-pkg
Date: 03/12/2001 20:55:46
I am not sure if this is ORbit's fault or libtool, but building net/ORbit
on -current arm32 is not possible (everything updated this morning).

It stops in pkgsrc/net/ORBit/work.arm32/ORBit-0.5.6/src/IIOP with:

ar x /usr/lib/libwrap.a
for I in workarounds socket fix_options refuse hosts_ctl update eval options clean_exit percent_x rfc931 shell_cmd hosts_access diag misc; do mv $I.o $I.lo; done
ar x /usr/lib/libwrap.a
touch make_libwrap_files
/bin/sh ../../libtool --mode=link cc  -O2 -pipe -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o libIIOP.la -rpath /usr/pkg/lib -version-info 5:6:5 connection.lo encoders.lo giop-msg-buffer.lo iiop-endian.lo workarounds.lo socket.lo fix_options.lo refuse.lo hosts_ctl.lo update.lo eval.lo options.lo clean_exit.lo percent_x.lo rfc931.lo shell_cmd.lo hosts_access.lo diag.lo misc.lo  -lintl
libtool: link: `workarounds.lo' is not a valid libtool object
gmake: *** [libIIOP.la] Error 1

Any ideas for fixing this? Is extracting an object (like workarounds.lo here)
from a *.a library and  moving that to *.lo valid? I assume there are PIC vs.
non-PIC issues here?


Martin