NetBSD-Bugs archive

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

port-macppc/53004: Building a kernel with macofcons enabled fails



>Number:         53004
>Category:       port-macppc
>Synopsis:       Building a kernel with macofcons enabled fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 10 18:30:00 +0000 2018
>Originator:     Sevan Janiyan
>Release:        NetBSD-HEAD
>Organization:
>Environment:
NetBSD 8.99.12 macppc powerpc
>Description:
due to multiple definitions of cn_tab

#      link  GENERIC/netbsd                                                                                                                            
/usr/src/obj/tooldir.NetBSD-8.99.12-macppc/bin/powerpc--netbsd-ld -Map netbsd.map --cref -N -T netbsd.ldscript -Ttext 0x100000 -e __start -S -o netbsd 
${SYSTEM_OBJ:[@]:Nswapnetbsd.o} ${EXTRA_OBJ} vers.o swapnetbsd.o                                                                                       
ofcons.o:(.data+0x4): multiple definition of `cn_tab'                                                                                                  
cons.o:(.bss+0x0): first defined here 


Removing the inclusion of cons.c from sys/arch/macppc/conf/files.macppc as a test cause more problems.
>How-To-Repeat:
Build a kernel with
macofcons0 at pci? dev ? function ?
included
>Fix:



Home | Main Index | Thread Index | Old Index