Subject: lib/20347: src/regress/lib/libpthread/ compile error
To: None <gnats-bugs@gnats.netbsd.org>
From: None <naoki@fukaumi.org>
List: netbsd-bugs
Date: 02/15/2003 15:02:22
>Number:         20347
>Category:       lib
>Synopsis:       src/regress/lib/libpthread/ compile error
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 14 22:03:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     FUKAUMI Naoki
>Release:        NetBSD 1.6N
>Organization:
	FUKAUMI Naoki
>Environment:
System: NetBSD nforce.naobsd.org 1.6N NetBSD 1.6N (NFORCE) #0: Mon Feb 10 17:25:09 JST 2003 fun@nforce.naobsd.org:/usr/obj/i386/sys/arch/i386/compile/NFORCE i386
Architecture: i386
Machine: i386
>Description:
	compile error from today's -current building...
  :
dependall ===> regress/lib/libpthread
dependall ===> regress/lib/libpthread/barrier1
CC=/home/t/i386/bin/i386--netbsdelf-gcc /home/t/i386/bin/nbmkdep -a  -nostdinc -isystem /home/d/i386/usr/include  /usr/src/regress/lib/libpthread/barrier1/barrier1.c
rm -f .gdbinit
echo "set solib-absolute-prefix /home/d/i386" > .gdbinit
/home/t/i386/bin/i386--netbsdelf-gcc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-uninitialized  -Werror  -nostdinc -isystem /home/d/i386/usr/include  -c /usr/src/regress/lib/libpthread/barrier1/barrier1.c
/home/t/i386/bin/i386--netbsdelf-gcc   -o barrier1 -nostdlib  -Wl,-rpath-link,/home/d/i386/lib:/home/d/i386/usr/lib  -L/home/d/i386/lib /home/d/i386/usr/lib/crt0.o /home/d/i386/usr/lib/crti.o /home/d/i386/usr/lib/crtbegin.o barrier1.o -lpthread -L/home/d/i386/usr/lib  -lgcc -lc -lgcc /home/d/i386/usr/lib/crtend.o /home/d/i386/usr/lib/crtn.o
/home/d/i386/usr/lib/libpthread.so: undefined reference to `pthread__nanosleeping'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
  :
>How-To-Repeat:
	build.sh release
>Fix:
	I don't know.
>Release-Note:
>Audit-Trail:
>Unformatted: