Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jul 2007 13:00:59 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        current@freebsd.org
Subject:   Unable to build kernel after csup yesterday
Message-ID:  <20070708200059.A107445042@ptavv.es.net>

next in thread | raw e-mail | index | archive | help
--==_Exmh_1183924859_57196P
Content-Type: multipart/mixed ;
	boundary="==_Exmh_1183924848_571960"

This is a multipart MIME message.

--==_Exmh_1183924848_571960
Content-Type: text/plain; charset=us-ascii

After updating sources yesterday and deleting everything in
/usr/obj/usr/src, buildkernel no longer builds. Sources from Friday
afternoon (US/Pacific) did build OK.

I get:
cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
 -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/altq -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 -mno-sse3 
-ffreestanding -Werror  /usr/src/sys/i386/i386/sys_machdep.c
/usr/src/sys/i386/i386/sys_machdep.c: In function 'i386_ldt_grow':
/usr/src/sys/i386/i386/sys_machdep.c:697: error: 'NULL_LDT_BASE' undeclared 
(first use in this function)
/usr/src/sys/i386/i386/sys_machdep.c:697: error: (Each undeclared identifier 
is reported only once
/usr/src/sys/i386/i386/sys_machdep.c:697: error: for each function it appears 
in.)
cc1: warnings being treated as errors
/usr/src/sys/i386/i386/sys_machdep.c:751: warning: passing argument 1 of 
'set_user_ldt' from incompatible pointer type
*** Error code 1

I don't see anything relevant in UPDATING. I am attaching my config and
hopefully it will make it through the filters.

Any idea what the problem might be? I did see a number of updates to
this area recently.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751


--==_Exmh_1183924848_571960
Content-Type: text/plain ; name="IBM-T43"; charset=us-ascii
Content-Description: IBM-T43
Content-Disposition: attachment; filename="IBM-T43"

#
# IBM-T43 -- Kernel for IBM-T43 with debugging enabled
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.428 2005/03/31 20:21:42 scottl Exp $

machine		i386
#cpu		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
ident		IBM-T43
maxusers	0

# To statically compile in device wiring instead of /boot/device.hints
#hints		"GENERIC.hints"		# Default places to look for devices.

makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols

#options	CPU_SUSP_HLT		# Suspend on halt
options		SCHED_ULE		# ULE scheduler
#options	SCHED_4BSD		# 4BSD scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
options		SCTP			# Stream Transmission Control Protocol
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		UFS_GJOURNAL		# Enable gjournal-based UFS journaling
#options	NFSCLIENT		# Network Filesystem Client
#options	NFSSERVER		# Network Filesystem Server
#options 	NFS_ROOT		# NFS usable as root device, requires NFSCLIENT
options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_PART_GPT		# GUID Partition Tables.
options		GEOM_LABEL		# Provides labelization
options		COMPAT_43TTY		# BSD 4.3 TTY compat [KEEP THIS!]
options		COMPAT_FREEBSD6		# Compatible with FreeBSD6
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		IPFIREWALL		# Start firewall at boot
options		IPFIREWALL_VERBOSE	# Enable logging to syslogd(8)
options		IPFIREWALL_VERBOSE_LIMIT=100	# limit verbosity
options		IPFIREWALL_DEFAULT_TO_ACCEPT	# allow everything by default
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.
options		STOP_NMI		# Stop CPUS using NMI instead of IPI
options		AUDIT			# Security event auditing
#options		IPSEC
#options		IPSEC_ESP

# Debugging for use in -current
options 	KDB			# Enable kernel debugger support.
options 	DDB			# Support DDB.
options 	GDB			# Support remote GDB.
#options	INVARIANTS		# Enable calls of extra sanity checking
#options	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
#options	WITNESS			# Enable checks to detect deadlocks and cycles
#options	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speeed

# To make an SMP kernel, the next two are needed
#options 	SMP			# Symmetric MultiProcessor Kernel
#device		apic			# I/O APIC

# CPU frequency control
device		cpufreq

# Bus support.  Do not remove isa, even if you have no isa slots
#device		eisa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
#device		ataraid		# ATA RAID drives
device		atapicd		# ATAPI CDROM drives
#device		atapifd		# ATAPI floppy drives
#device		atapist		# ATAPI tape drives
device		atapicam	# Emulate ATAPI devices as SCSI ditto via CAM
				# needs CAM to be present (scbus & pass)
options 	ATA_STATIC_ID	#Static device numbering

# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
#device		ch		# SCSI media changers
device		da		# Direct Access (disks)
#device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)
device		ses		# SCSI Environmental Services (and SAF-TE)

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		kbdmux		# keyboard multiplexer
options		KBD_RESETDELAY=500

device		vga		# VGA video card driver

device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc
options		SC_HISTORY_SIZE=2000
options		SC_PIXEL_MODE	#add support for the raster text mode

device		agp		# support several AGP chipsets

# Power management support (see NOTES for more options)
#device		apm
# Add suspend/resume support for the i8254.
device		pmtimer

# 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
device		uart		# Generic UART driver

# Parallel port
#device		ppc
#device		ppbus		# Parallel port bus (required)
#device		lpt		# Printer
#device		plip		# TCP/IP over parallel
#device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to the sio and/or ppc drivers):
#device		puc

# 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		bge		# Broadcom BCM570xx Gigabit Ethernet
device		dc		# DEC/Intel 21143 and various workalikes

# ISA Ethernet NICs.
# Xircom Ethernet
device		xe
# WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really
# exists only as a PCMCIA device, so there is no ISA attachment needed
# and resources will always be dynamically assigned by the pccard code.
device		wlan

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
#device		sl		# Kernel SLIP
#device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
device		gif		# IPv6 and IPv4 tunneling
device		faith		# IPv6-to-IPv4 relaying (translation)

# 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

# USB support
#device		uhci		# UHCI PCI->USB interface
#device		ohci		# OHCI PCI->USB interface
#device		ehci		# EHCI PCI->USB interface
#device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
#device		ugen		# Generic
#device		uhid		# "Human Interface Devices"
#device		ukbd		# Keyboard
#device		ulpt		# Printer
#device		umass		# Disks/Mass storage - Requires scbus and da
#device		ums		# Mouse
#device		urio		# Diamond Rio MP3 Player
#device		uscanner	# Scanners
# USB Ethernet, requires mii
#device		aue		# ADMtek USB ethernet
#device		axe		# ASIX Electronics USB Ethernet
#device		cdce		# Generic USB over Ethernet
#device		cue		# CATC USB ethernet
#device		kue		# Kawasaki LSI USB ethernet
#device		rue		# RealTek RTL8150 USB Ethernet

# Sound support (Requires System Management Bus for ICH)
device		smbus
device		iicbus
device		iicbb
device		intpm
device		ichsmb
device		smb
#device		sound
#device		snd_ich


--==_Exmh_1183924848_571960--



--==_Exmh_1183924859_57196P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Exmh version 2.5 06/03/2002

iD8DBQFGkUJ7kn3rs5h7N1ERAlHQAJ9ya/sLdfR107IWnQdoEtaLRsxSEwCeLz6M
/DhYUsxVmePiehRl2Xxyxeo=
=FoTL
-----END PGP SIGNATURE-----

--==_Exmh_1183924859_57196P--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070708200059.A107445042>