Subject: port-vax/15034: Wrong entrypoint definition in sys/arch/vax/conf/Makefile.vax
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: netbsd-bugs
Date: 12/22/2001 17:42:44
>Number: 15034
>Category: port-vax
>Synopsis: Wrong entrypoint definition in sys/arch/vax/conf/Makefile.vax
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-vax-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 22 08:43:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Thilo Manske
>Release: NetBSD 1.5ZA
>Organization:
Dies ist Thilos Unix Signature! Viel Spass damit.
>Environment:
System: any
Architecture: vax
Machine: vax
>Description:
On current -current NetBSD/vax kernels won't link because the linker uses
the wrong entry symbol:
make
[...]
ld -N -Ttext 80000000 -e _start -S -o netbsd ${SYSTEM_OBJ} vers.o
Undefined entry symbol `_start'
ld: internal consistency check failure: # undefined symbols 1, accounted for 0
*** Error code 1
>How-To-Repeat:
>Fix:
s/_start/start/ in sys/arch/vax/conf/Makefile.vax
--- Makefile.vax.orig Sat Nov 24 13:26:50 2001
+++ Makefile.vax Sat Dec 22 17:37:49 2001
@@ -57,7 +57,7 @@
## (5) link settings
##
TEXTADDR?= 80000000
-ENTRYPOINT= _start
+ENTRYPOINT= start
LINKFORMAT= -N
LINKFLAGS_DEBUG= -X
LINKFLAGS_NORMAL= -S
>Release-Note:
>Audit-Trail:
>Unformatted: