Subject: lib/22241: libpthread on vax has undefined references
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tacha@tack.fukui-med.ac.jp>
List: netbsd-bugs
Date: 07/24/2003 12:19:30
>Number: 22241
>Category: lib
>Synopsis: libpthread on vax has undefined references
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 24 11:16:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Tatoku Ogaito
>Release: NetBSD 1.6U as of 2003/07/23.
>Organization:
----- : Tatoku Ogaito
/ _ _ |_ _ : Dept. Medical Informatics, Fukui Medical University
/ (_|(_ | )(_| : E-mail: tacha@tack.fukui-med.ac.jp tacha@NetBSD.org
*** NetBSD: It'll be there when you're ready for it. ***
>Environment:
System: NetBSD tamp.fukui-med.ac.jp 1.6U NetBSD 1.6U (TPX22-acpi-1.8) #12: Wed Jul 23 19:18:16 JST 2003 tacha@tamp.fukui-med.ac.jp:/sys/arch/i386/compile/obj.i386/TPX22-acpi i386
Architecture: i386
Machine: i386
>Description:
cross compiling NetBSD/vax on NetBSD/i386 fails at /usr/current/src/regress/lib/libpthread/atexit
with following message.
/usr/local/tools/bin/vax--netbsdelf-gcc -o atexit -nostdlib -Wl,-rpath-link,/exports/NetBSD-vax/lib:/exports/NetBSD-vax/usr/lib -L/exports/NetBSD-vax/lib
/exports/NetBSD-vax/usr/lib/crt0.o /exports/NetBSD-vax/usr/lib/crti.o /exports/NetBSD-vax/usr/lib/crtbegin.o atexit.o -lpthread -L/exports/NetBSD-vax/usr/lib
-L/exports/NetBSD-vax/usr/lib -lgcc -lc -lgcc /exports/NetBSD-vax/usr/lib/crtend.o /exports/NetBSD-vax/usr/lib/crtn.o
/exports/NetBSD-vax/usr/lib/libpthread.so: undefined reference to `PT_TRAPUC'
/exports/NetBSD-vax/usr/lib/libpthread.so: undefined reference to `pthread__switch_return_point'
collect2: ld returned 1 exit status
>How-To-Repeat:
./build.sh -m vax -D... -R... release
>Fix:
Sorry, I don't know.
AFAICT genassym.cf in arch/{sh3,sh5,vax} does not have 'define PT_TRAPUC foobar'.
>Release-Note:
>Audit-Trail:
>Unformatted: