NetBSD-Bugs archive

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

port-amd64/39967: Kernel with COMPAT_NETBSD32 and without COMPAT_40 doesn't build



>Number:         39967
>Category:       port-amd64
>Synopsis:       Kernel with COMPAT_NETBSD32 and without COMPAT_40 doesn't build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 20 08:20:00 +0000 2008
>Originator:     tron%zhadum.org.uk@localhost
>Release:        NetBSD 5.0_BETA 2008-11-19 sources
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD lyssa.zhadum.org.uk 5.0_BETA NetBSD 5.0_BETA (COLWYN.64) #0: Wed 
Nov 19 12:39:30 GMT 2008 
tron%lyssa.zhadum.org.uk@localhost:/src/sys/compile/COLWYN.64 amd64
Architecture: x86_64
Machine: amd64
>Description:
I tried to remove "COMPAT_40" from NetBSD/amd64 kernel configuration because
there aren't any old binaries on the system and I prefer a kernel without
SA support. Unfortunately this breaks the build:

      link  COLWYN.64/netbsd
/src/tools/bin/x86_64--netbsd-ld -Map netbsd.map --cref -T 
/usr/src/sys/arch/amd64/conf/kern.ldscript -Ttext 0xffffffff80100000 -e start 
-X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
netbsd32_netbsd.o: In function `netbsd32_mount':
/usr/src/sys/compat/netbsd32/netbsd32_netbsd.c:395: undefined reference to 
`compat_40_sys_mount'
netbsd32_sa.o: In function `netbsd32_sa_register':
/usr/src/sys/compat/netbsd32/netbsd32_sa.c:144: undefined reference to 
`dosa_register'
netbsd32_sa.o: In function `netbsd32_sa_stacks':
/usr/src/sys/compat/netbsd32/netbsd32_sa.c:187: undefined reference to 
`sa_stacks1'
*** [netbsd] Error code 1
1 error

nbmake: stopped in /src/sys/compile/COLWYN.64
      214.75 real       288.05 user        49.35 sys

>How-To-Repeat:
Comment out "COMPAT_40" in the "GENERIC" kernel configuration and try to
build it.

>Fix:
Not known yet.



Home | Main Index | Thread Index | Old Index