Current-Users archive

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

m68k ports vs. libgcc_pic?



After some 3+ years idle, I decided to drag out my MVME167A system
and see what the state of -current was on this bit of esoterica.  (Last
updated to 4.0_STABLE as of mid-June 2008.)

After coping with a dead nvram battery and hacking /etc/rc.d/swap1 to
mount my NFS-resident swap file early so the machine could actually
rebuild the databases, I set about building a few necessary packages
before comitting to installing on local disk.

I set about building dependncies leading up to "security/sudo".  This
went fine, albeit slow, until late in building for sudo itself.  The
process stopped with the following:

[...]
/bin/sh ./libtool --mode=compile gcc -c -I. -I. -I/usr/include -O2 -pthread 
-I/usr/include -D_PATH_SUDOERS=\"/usr/pkg/etc/sudoers\" -DSUDOERS_UID=0 
-DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./sudo_noexec.c
libtool: compile:  gcc -c -I. -O2 -pthread 
-D_PATH_SUDOERS=\"/usr/pkg/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 
-DSUDOERS_MODE=0440 ./sudo_noexec.c  -fPIC -DPIC -o .libs/sudo_noexec.o
libtool: compile:  gcc -c -I. -O2 -pthread -D_PATH_SUDOERS=\"/usr/pkg/etc/sudoers\" 
-DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 ./sudo_noexec.c -o sudo_noexec.o >/dev/null 
2>&1
/bin/sh ./libtool --mode=link gcc -module -L. -L/usr/lib -Wl,-R/usr/lib 
-pthread -Wl,-R/usr/pkg/lib -o libsudo_noexec.la sudo_noexec.lo -avoid-version 
-rpath /usr/pkg/libexec
libtool: link: gcc -shared  .libs/sudo_noexec.o   
-L/var/tmp/pkgsrc/security/sudo/work/sudo-1.7.7 
-L/var/tmp/pkgsrc/security/sudo/work/.buildlink/lib  -pthread 
-Wl,-R/usr/pkg/lib   -pthread -Wl,-soname -Wl,libsudo_noexec.so -o 
.libs/libsudo_noexec.so
ld: cannot find -lgcc_pic
ld: cannot find -lgcc_pic
*** Error code 1

Stop.
make: stopped in /var/tmp/pkgsrc/security/sudo/work/sudo-1.7.7
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/security/sudo
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/security/sudo
136 [sysop@mv167:../pkgsrc/security/sudo]$ uname -a
NetBSD mv167.technoskunk.fur 5.99.56 NetBSD 5.99.56 (VME167) #1: Sat Oct 29 
14:45:49 CDT 2011  
sysop%fred.technoskunk.fur@localhost:/d0/build/current/obj/mvme68k/sys/arch/mvme68k/compile/VME167
 mvme68k


I recall seeing something regarding a "lib*_pic" library recently being
removed as no-longer necessary on some ports but a quick search of the
mailing-list archives has been inconclusive.  Maybe some part of the
change is incomplete?

--
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index