Subject: Re: COMPAT_16 related compilation error
To: Jun-ichiro itojun Hagino <itojun@itojun.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-kern
Date: 09/11/2003 21:12:28
On Sep 12, 10:05am, itojun@itojun.org (Jun-ichiro itojun Hagino) wrote:
-- Subject: Re: COMPAT_16 related compilation error

Ok, I think that the simplest solution is to make sigcontext visible
in the kernel all the time.

christos

| > Thanks, I am fixing this for non COMPAT_16 kernels. The latest cvs update
| > should work anyway.
| 
| 	i've made "cvs update" just now and the problem still persists. 
| 	here's my kernel config "STARFRUIT" (i386).
| 
| itojun
| 
| 
| *** GENERIC	Mon Sep  8 00:16:55 2003
| --- STARFRUIT	Fri Sep 12 10:04:09 2003
| ***************
| *** 100,102 ****
|   # Diagnostic/debugging support options
| ! #options 	DIAGNOSTIC	# expensive kernel consistency checks
|   #options 	DEBUG		# expensive debugging checks/support
| --- 100,102 ----
|   # Diagnostic/debugging support options
| ! options 	DIAGNOSTIC	# expensive kernel consistency checks
|   #options 	DEBUG		# expensive debugging checks/support
| ***************
| *** 104,110 ****
|   options 	DDB		# in-kernel debugger
| ! #options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
| ! options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
|   #options 	KGDB		# remote debugger
|   #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
| ! #makeoptions	DEBUG="-g"	# compile full symbol table
|   
| --- 104,110 ----
|   options 	DDB		# in-kernel debugger
| ! options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
| ! #options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
|   #options 	KGDB		# remote debugger
|   #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
| ! makeoptions	DEBUG="-g"	# compile full symbol table
|   
| ***************
| *** 166,171 ****
|   options 	INET6		# IPV6
| ! #options 	IPSEC		# IP security
| ! #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
|   #options 	IPSEC_DEBUG	# debug for IP security
| ! #options 	MROUTING	# IP multicast routing
|   options 	NS		# XNS
| --- 166,171 ----
|   options 	INET6		# IPV6
| ! options 	IPSEC		# IP security
| ! options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
|   #options 	IPSEC_DEBUG	# debug for IP security
| ! options 	MROUTING	# IP multicast routing
|   options 	NS		# XNS
| ***************
| *** 182,184 ****
|   #options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
| ! #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
|   
| --- 182,184 ----
|   #options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
| ! options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
|   
| ***************
| *** 249,251 ****
|   
| ! #apm0	at mainbus0			# Advanced power management
|   
| --- 249,251 ----
|   
| ! apm0	at mainbus0			# Advanced power management
|   
| ***************
| *** 255,258 ****
|   #options 	APM_NO_POWEROFF		# Don't power off on halt(8)
| ! #options 	APM_POWER_PRINT		# Print stats on the console
| ! #options 	APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts
|   
| --- 255,258 ----
|   #options 	APM_NO_POWEROFF		# Don't power off on halt(8)
| ! options 	APM_POWER_PRINT		# Print stats on the console
| ! options 	APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts
|   
| ***************
| *** 451,453 ****
|   # CardBus serial interfaces
| ! #com*	at cardbus? dev ? function ?	# Modems and serial cards
|   
| --- 451,453 ----
|   # CardBus serial interfaces
| ! com*	at cardbus? dev ? function ?	# Modems and serial cards
|   
| ***************
| *** 558,561 ****
|   # CardBus SCSI cards
| ! #adv*	at cardbus? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
| ! #ahc*	at cardbus? dev ? function ?	# Adaptec ADP-1480
|   
| --- 558,561 ----
|   # CardBus SCSI cards
| ! ahc*	at cardbus? dev ? function ?	# Adaptec ADP-1480
| ! adv*	at cardbus? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
|   
| ***************
| *** 763,768 ****
|   # CardBus network cards
| ! #ex*	at cardbus? dev ? function ?	# 3Com 3C575TX
| ! #fxp*	at cardbus? dev ? function ?	# Intel i8255x
| ! #rtk*	at cardbus? dev ? function ?	# Realtek 8129/8139
| ! #tlp*	at cardbus? dev ? function ?	# DECchip 21143
|   
| --- 763,768 ----
|   # CardBus network cards
| ! ex*	at cardbus? dev ? function ?	# 3Com 3C575TX
| ! fxp*	at cardbus? dev ? function ?	# Intel i8255x
| ! rtk*	at cardbus? dev ? function ?	# Realtek 8129/8139
| ! tlp*	at cardbus? dev ? function ?	# DECchip 21143
|   
| ***************
| *** 876,877 ****
| --- 876,880 ----
|   
| + ubt*	at uhub? port ?		# usb
| + bthci*	at ubt?
| + 
|   # Prolific PL2301/PL2302 host-to-host adapter
| ***************
| *** 926,938 ****
|   # PCI IEEE1394 controllers
| ! #fwohci* at pci? dev ? function ?	# IEEE1394 Open Host Controller
|   
|   # CardBus IEEE1394 controllers
| ! #fwohci* at cardbus? dev ? function ?	# IEEE1394 Open Host Controller
|   
| ! #fw*	at fwbus?			# IP over 1394
|   
|   # IEEE1394 nodes
| ! #fwnode* at fwbus? idhi ? idlo ?
| ! #sbpscsi* at fwnode?
| ! #scsibus* at sbpscsi?
|   
| --- 929,941 ----
|   # PCI IEEE1394 controllers
| ! fwohci* at pci? dev ? function ?	# IEEE1394 Open Host Controller
|   
|   # CardBus IEEE1394 controllers
| ! fwohci* at cardbus? dev ? function ?	# IEEE1394 Open Host Controller
|   
| ! fw*	at fwbus?			# IP over 1394
|   
|   # IEEE1394 nodes
| ! fwnode* at fwbus? idhi ? idlo ?
| ! sbpscsi* at fwnode?
| ! scsibus* at sbpscsi?
|   
| ***************
| *** 1086,1088 ****
|   pseudo-device	ccd		4	# concatenated/striped disk devices
| ! #pseudo-device	cgd		4	# cryptographic disk devices
|   pseudo-device	raid		8	# RAIDframe disk driver
| --- 1089,1091 ----
|   pseudo-device	ccd		4	# concatenated/striped disk devices
| ! pseudo-device	cgd		4	# cryptographic disk devices
|   pseudo-device	raid		8	# RAIDframe disk driver
| ***************
| *** 1113,1116 ****
|   pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
| ! #pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
| ! #pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
|   pseudo-device	vlan			# IEEE 802.1q encapsulation
| --- 1116,1119 ----
|   pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
| ! pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
| ! pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
|   pseudo-device	vlan			# IEEE 802.1q encapsulation
| ***************
| *** 1141 ****
| --- 1141,1150 ----
|   pseudo-device	ksyms			# /dev/ksyms
| + 
| + options SOSEND_NO_LOAN
| + 
| + pseudo-device	pf
| + pseudo-device	pflog
| + pseudo-device	pfsync
| + 
| + #options	APMDEBUG
| + #options	APMDEBUG_VALUE=0xff
-- End of excerpt from Jun-ichiro itojun Hagino