kern/117410: buildkernel is broken for RELENG_6
Abdullah Ibn Hamad Al-Marri
wearabnet at yahoo.ca
Mon Oct 22 12:40:01 PDT 2007
>Number: 117410
>Category: kern
>Synopsis: buildkernel is broken for RELENG_6
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Oct 22 19:40:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Abdullah Ibn Hamad Al-Marri
>Release: 6.2-STABLE
>Organization:
Arab Portal
>Environment:
FreeBSD bb.wearab.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat Oct 6 18:41:15 UTC 2007 arabian at bb.wearab.net:/usr/obj/usr/src/sys/VB i386
>Description:
Hello,
I can't do buildkernel anymore.
rith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror vnode_if.c
:> hack.c
cc -shared -nostdlib hack.c -o hack.So
rm -f hack.c
MAKE=make sh /usr/src/sys/conf/newvers.sh VB
cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/em -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror vers.c
linking kernel
procfs.o(.text+0x254): In function `procfs_init':
: undefined reference to `pfs_create_link'
procfs.o(.text+0x268): In function `procfs_init':
: undefined reference to `pfs_create_dir'
procfs.o(.text+0x283): In function `procfs_init':
: undefined reference to `pfs_create_file'
procfs.o(.text+0x29c): In function `procfs_init':
: undefined reference to `pfs_create_file'
procfs.o(.text+0x2bb): In function `procfs_init':
: undefined reference to `pfs_create_file'
procfs.o(.text+0x2d1): In function `procfs_init':
: undefined reference to `pfs_create_file'
procfs.o(.text+0x2f0): In function `procfs_init':
: undefined reference to `pfs_create_file'
procfs.o(.text+0x309): more undefined references to `pfs_create_file' follow
procfs.o(.text+0x3d8): In function `procfs_init':
: undefined reference to `pfs_create_link'
procfs.o(.text+0x3fb): In function `_procfs_mount':
: undefined reference to `pfs_mount'
procfs.o(.text+0x410): In function `_procfs_init':
: undefined reference to `pfs_init'
procfs.o(.text+0x424): In function `_procfs_uninit':
: undefined reference to `pfs_uninit'
procfs.o(.data+0xa8): undefined reference to `pfs_unmount'
procfs.o(.data+0xac): undefined reference to `pfs_root'
procfs.o(.data+0xb4): undefined reference to `pfs_statfs'
*** Error code 1
Stop in /usr/obj/usr/src/sys/VB.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
Here is my kernel conf
machine i386
cpu I686_CPU
ident VB
options SCHED_4BSD # 4BSD scheduler
options PREEMPTION # Enable kernel thread preemption
options INET # InterNETworking
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options PROCFS # Process filesystem (requires PSEUDOFS)
options GEOM_GPT # GUID Partition Tables.
options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!]
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options KBD_INSTALL_CDEV # install a CDEV entry in /dev
options ADAPTIVE_GIANT # Giant mutex is adaptive.
device apic # I/O APIC
# Bus support.
device eisa
device pci
# ATA and ATAPI devices
device ata
device atadisk # ATA disk drives
options ATA_STATIC_ID # Static device numbering
# atkbdc0 controls both the keyboard and the PS/2 mouse
device atkbdc # AT keyboard controller
device atkbd # AT keyboard
device vga # VGA video card driver
# syscons is the default console driver, resembling an SCO console
device sc
# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device cbb # cardbus (yenta) bridge
device pccard # PC Card (16-bit) bus
device cardbus # CardBus (32-bit) bus
# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device miibus # MII bus support
device fxp # Intel EtherExpress PRO/100B (82557, 82558)
options DEVICE_POLLING
options HZ=2000
# Pseudo devices.
device loop # Network loopback
device random # Entropy device
device ether # Ethernet support
device tun # Packet tunnel.
device pty # Pseudo-ttys (telnet etc)
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device bpf # Berkeley packet filter
device pf # PF OpenBSD packet-filter firewall
device pflog # logging support interface for PF
Here is my make.conf
BATCH=yes
PPP_NOSUID=true # to build ppp with normal permissions
NO_BLUETOOTH=true # do not build Bluetooth related stuff
NO_I4B=true # do not build isdn4bsd package
NO_KERBEROS=true # do not build and install Kerberos 5 (KTH Heimdal)
NO_LPR=true # do not build lpr and related programs
NO_MODULES=true # do not build modules with the kernel
NO_USB=true # do not build usbd(8) and related programs
NO_ATM=true # do not build ATM related programs and libraries
NO_GAMES=true # do not build games (games/ subdir)
NO_UUCP=true # do not build uucp related programs
WITHOUT_X11=true # don't build X11 dependencies in ports
KERNCONF=VB
# added by use.perl 2007-03-13 11:00:01
PERL_VER=5.8.8
PERL_VERSION=5.8.8
>How-To-Repeat:
buildkernel
>Fix:
none
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list