Subject: port-pmax/9113: Cannot build a kernel without framebuffer support
To: None <gnats-bugs@gnats.netbsd.org>
From: None <pjt@phxase.allied.com>
List: netbsd-bugs
Date: 01/03/2000 13:15:42
>Number: 9113
>Category: port-pmax
>Synopsis: Cannot build a kernel without framebuffer support
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-pmax-maintainer (NetBSD/pmax Portmaster)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 3 13:15:01 2000
>Last-Modified:
>Originator: Philip Tait
>Organization:
Honeywell Engines & Systems
>Release: 1.4.1
>Environment:
NetBSD phxtst05 1.4.1 NetBSD 1.4.1 (GENERIC) #38: Mon Aug 9 22:19:29 EST 1999
root@vlad:/usr/src/sys/arch/pmax/compile/GENERIC pmax
>Description:
In trying to work around the problem reported in port-pmax/9109, I
tried (unsuccessfully) to build a kernel without framebuffer support.
There appear to be hardcoded dependencies to the framebuffer code,
that are not eliminated by removing the framebuffer options.
>How-To-Repeat:
Here is the diff of the configuration file I used, followed by the
output from 'make':
10c10
< options MIPS3 # R4000/R4400 CPUs
---
> #options MIPS3 # R4000/R4400 CPUs
15c15
< options DEC_5100 # DECsystem 5100 (kn230)
---
> #options DEC_5100 # DECsystem 5100 (kn230)
17,18c17,18
< options DEC_3MIN # DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
< options DEC_MAXINE # Personal DECstation 5000/xx (kn02ca)
---
> #options DEC_3MIN # DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
> #options DEC_MAXINE # Personal DECstation 5000/xx (kn02ca)
80,85c80
< options NETATALK # AppleTalk networking protocols
< #options PPP_BSDCOMP # BSD-Compress compression support for PPP
< #options PPP_DEFLATE # Deflate compression support for PPP
< #options PPP_FILTER # Active filter support for PPP (requires bpf)
< #options PFIL_HOOKS # pfil(9) packet filter hooks
< options IPFILTER_LOG # ipmon(8) log support
---
> #options NETATALK # AppleTalk networking protocols
90c85
< options COMPAT_12 # Netbsd 1.2 reboot()
---
> #options COMPAT_12 # Netbsd 1.2 reboot()
119c114
< include "arch/pmax/conf/builtin.maxine"
---
> #include "arch/pmax/conf/builtin.maxine"
163,164c158,159
< pseudo-device rasterconsole 1 # NB: raster console requires "fb"
< pseudo-device fb 1 # up to 3 framebuffers
---
> #pseudo-device rasterconsole 1 # NB: raster console requires "fb"
> #pseudo-device fb 1 # up to 3 framebuffers
After fixing a couple of trivial issues in pmax/dev/dc.c and
pmax/tc/scc.c,
here is the end of the output from make:
ld -Ttext 0x80030000 -T ../../../../arch/mips/conf/kern.ldscript -e start -G 0 -x -o netbsd ${SYSTEM_OBJ} vers.o
ioconf.o(.data+0x2d0): undefined reference to `kn230bus_ca'
pm.o: In function `pmattach':
../../../../arch/pmax/dev/pm.c(.text+0x150): undefined reference to `init_pmaxfbu'
../../../../arch/pmax/dev/pm.c(.text+0x150): relocation truncated to fit: R_MIPS_26 init_pmaxfbu
../../../../arch/pmax/dev/pm.c(.text+0x194): undefined reference to `fbconnect'
../../../../arch/pmax/dev/pm.c(.text+0x194): relocation truncated to fit: R_MIPS_26 fbconnect
cfb.o: In function `cfbinit':
../../../../arch/pmax/dev/cfb.c(.text+0x204): undefined reference to `init_pmaxfbu'
../../../../arch/pmax/dev/cfb.c(.text+0x204): relocation truncated to fit: R_MIPS_26 init_pmaxfbu
../../../../arch/pmax/dev/cfb.c(.text+0x218): undefined reference to `tb_kbdmouseconfig'
../../../../arch/pmax/dev/cfb.c(.text+0x218): relocation truncated to fit: R_MIPS_26 tb_kbdmouseconfig
../../../../arch/pmax/dev/cfb.c(.text+0x230): undefined reference to `fbconnect'../../../../arch/pmax/dev/cfb.c(.text+0x230): relocation truncated to fit: R_MIPS_26 fbconnect
sfb.o: In function `sfbinit':
../../../../arch/pmax/dev/sfb.c(.text+0x23c): undefined reference to `init_pmaxfbu'
../../../../arch/pmax/dev/sfb.c(.text+0x23c): relocation truncated to fit: R_MIPS_26 init_pmaxfbu
../../../../arch/pmax/dev/sfb.c(.text+0x250): undefined reference to `tb_kbdmouseconfig'
../../../../arch/pmax/dev/sfb.c(.text+0x250): relocation truncated to fit: R_MIPS_26 tb_kbdmouseconfig
../../../../arch/pmax/dev/sfb.c(.text+0x268): undefined reference to `fbconnect'../../../../arch/pmax/dev/sfb.c(.text+0x268): relocation truncated to fit: R_MIPS_26 fbconnect
mfb.o: In function `mfbinit':
../../../../arch/pmax/dev/mfb.c(.text+0x1c8): undefined reference to `defCursor'../../../../arch/pmax/dev/mfb.c(.text+0x1cc): undefined reference to `defCursor'../../../../arch/pmax/dev/mfb.c(.text+0x20c): undefined reference to `init_pmaxfbu'
../../../../arch/pmax/dev/mfb.c(.text+0x20c): relocation truncated to fit: R_MIPS_26 init_pmaxfbu
../../../../arch/pmax/dev/mfb.c(.text+0x220): undefined reference to `tb_kbdmouseconfig'
../../../../arch/pmax/dev/mfb.c(.text+0x220): relocation truncated to fit: R_MIPS_26 tb_kbdmouseconfig
../../../../arch/pmax/dev/mfb.c(.text+0x248): undefined reference to `fbconnect'../../../../arch/pmax/dev/mfb.c(.text+0x248): relocation truncated to fit: R_MIPS_26 fbconnect
*** Error code 1
Stop.
>Fix:
Any ideas welcome!
>Audit-Trail:
>Unformatted: