Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Aug 2013 13:29:27 -0700
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        avg@freebsd.org
Cc:        freebsd-current@freebsd.org
Subject:   Build break in dtrace modules at r253772 with gcc
Message-ID:  <CAGHfRMC=ya=ABWNniq8680GA9%2B%2B25pQEw9j-viNdj5=zuZ9OYQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
r253772 breaks dtrace compiled as a module on amd64 like so when using gcc:

cc1: warnings being treated as errors
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1184:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1184:
warning: cast discards qualifiers from pointer target type
--- g_label_iso9660.o ---
--- modules-all ---
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1265:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1265:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1441:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1441:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1448:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1494:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1498:
warning: cast discards qualifiers from pointer target type
--- g_label_ext2fs.o ---
cc  -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=core2
-std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq
-I/usr/src/sys/contrib/libfdt -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
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-Werror  /usr/src/sys/geom/label/g_label_ext2fs.c
--- modules-all ---
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1502:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1891:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1891:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1891:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1891:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1911:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1911:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1916:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1916:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1916:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1916:
warning: cast discards qualifiers from pointer target type
--- g_label_msdosfs.o ---
--- modules-all ---
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1933:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1933:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1935:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:1935:
warning: cast discards qualifiers from pointer target type
--- g_label_msdosfs.o ---
cc  -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=core2
-std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq
-I/usr/src/sys/contrib/libfdt -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
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-Werror  /usr/src/sys/geom/label/g_label_msdosfs.c
--- g_label_ntfs.o ---
--- modules-all ---
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:
In function 'dtrace_disx86':
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2606:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2650:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2695:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2699:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2703:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2707:
warning: cast discards qualifiers from pointer target type
--- g_label_reiserfs.o ---
--- modules-all ---
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2752:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2756:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2760:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2769:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2778:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2785:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2827:
warning: cast discards qualifiers from pointer target type
--- g_label_ntfs.o ---
cc  -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=core2
-std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq
-I/usr/src/sys/contrib/libfdt -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
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-Werror  /usr/src/sys/geom/label/g_label_ntfs.c
--- modules-all ---
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2846:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2848:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2856:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2887:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2894:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2895:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2940:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2960:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2962:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2964:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2966:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2969:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2972:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:2984:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:3045:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:3047:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:3050:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:3076:
warning: cast discards qualifiers from pointer target type
/usr/src/sys/modules/dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dis_tables.c:3096:
warning: cast discards qualifiers from pointer target type
--- g_label_reiserfs.o ---
cc  -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=core2
-std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq
-I/usr/src/sys/contrib/libfdt -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
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-Werror  /usr/src/sys/geom/label/g_label_reiserfs.c
--- g_label_ufs.o ---
cc  -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=core2
-std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq
-I/usr/src/sys/contrib/libfdt -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
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-Werror  /usr/src/sys/geom/label/g_label_ufs.c
--- g_label_gpt.o ---
cc  -c -O2 -frename-registers -pipe -fno-strict-aliasing -march=core2
-std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions
-Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq
-I/usr/src/sys/contrib/libfdt -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
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=kernel
-mno-red-zone -mno-mmx -mno-sse -msoft-float
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
-Werror  /usr/src/sys/geom/label/g_label_gpt.c
--- modules-all ---
*** [dis_tables.o] Error code 1

make: stopped in /usr/src/sys/modules/dtrace/dtrace


$ uname -a
FreeBSD gran-tourismo.west.isilon.com 10.0-CURRENT FreeBSD
10.0-CURRENT #2 r+4fbed0e: Sat Jun 22 16:53:12 PDT 2013
gcooper@gran-tourismo.west.isilon.com:/usr/obj/usr/src/sys/GRAN-TOURISMO
 amd64

My KERNCONFs, make.conf, and src.conf are provided for reference.

Thanks,
-Garrett

[-- Attachment #2 --]
cpu		HAMMER
ident		GRAN-TOURISMO

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

options 	SCHED_ULE		# ULE scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
#options 	SCTP			# Stream Control Transmission 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 	MD_ROOT			# MD is a potential root device
options 	NFSCL			# New Network Filesystem Client
options 	NFSD			# New Network Filesystem Server
options 	NFSLOCKD		# Network Lock Manager
options 	NFS_ROOT		# NFS usable as /, requires NFSCL
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_FREEBSD32	# Compatible with i386 binaries
#options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
#options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
#options 	COMPAT_FREEBSD6		# Compatible with FreeBSD6
#options 	COMPAT_FREEBSD7		# Compatible with FreeBSD7
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
options 	STACK			# stack(9) 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 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
#options 	AUDIT			# Security event auditing
#options 	MAC			# TrustedBSD MAC Framework
#options 	KDTRACE_FRAME		# Ensure frames are compiled in
#options 	KDTRACE_HOOKS		# Kernel DTrace hooks
options 	INCLUDE_CONFIG_FILE     # Include this file in kernel
options 	KDB			# Kernel debugger related code
options 	KDB_TRACE		# Print a stack trace for a panic

# Make an SMP-capable kernel by default
options 	SMP			# Symmetric MultiProcessor Kernel

# CPU frequency control
device		cpufreq

# Bus support.
device		acpi
device		pci

# Floppy drives
#device		fdc

# ATA controllers
device		ahci		# AHCI-compatible SATA controllers
device		ata		# Legacy ATA/SATA controllers
options 	ATA_STATIC_ID	# Static device numbering
#device		mvs		# Marvell 88SX50XX/88SX60XX/88SX70XX/SoC SATA
#device		siis		# SiliconImage SiI3124/SiI3132/SiI3531 SATA

# ATA/SCSI peripherals
device		scbus		# SCSI bus (required for ATA/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 ATA/SCSI access)
#device		ses		# SCSI Environmental Services (and SAF-TE)

# SCSI Controllers
device		mpt		# LSI-Logic MPT-Fusion

# 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

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_PIXEL_MODE	# add support for the raster text mode

device		agp		# support several AGP chipsets

# Serial (COM) 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

device		puc		# Multi I/O cards and multi-channel UARTs

# 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		ae		# Attansic/Atheros L2 FastEthernet
#device		age		# Attansic/Atheros L1 Gigabit Ethernet
#device		alc		# Atheros AR8131/AR8132 Ethernet
#device		ale		# Atheros AR8121/AR8113/AR8114 Ethernet
#device		bce		# Broadcom BCM5706/BCM5708 Gigabit Ethernet
#device		bfe		# Broadcom BCM440x 10/100 Ethernet
#device		bge		# Broadcom BCM570xx Gigabit Ethernet
#device		dc		# DEC/Intel 21143 and various workalikes
#device		et		# Agere ET1310 10/100/Gigabit Ethernet
#device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
#device		jme		# JMicron JMC250 Gigabit/JMC260 Fast Ethernet
#device		lge		# Level 1 LXT1001 gigabit Ethernet
#device		msk		# Marvell/SysKonnect Yukon II Gigabit Ethernet
#device		nfe		# nVidia nForce MCP on-board Ethernet
#device		nge		# NatSemi DP83820 gigabit Ethernet
#device		nve		# nVidia nForce MCP on-board Ethernet Networking
#device		pcn		# AMD Am79C97x PCI 10/100 (precedence over 'le')
#device		re		# RealTek 8139C+/8169/8169S/8110S
#device		rl		# RealTek 8129/8139
#device		sf		# Adaptec AIC-6915 (``Starfire'')
#device		sge		# Silicon Integrated Systems SiS190/191
#device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
#device		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
#device		ste		# Sundance ST201 (D-Link DFE-550TX)
#device		stge		# Sundance/Tamarack TC9021 gigabit Ethernet
#device		tl		# Texas Instruments ThunderLAN
#device		tx		# SMC EtherPower II (83c170 ``EPIC'')
#device		vge		# VIA VT612x gigabit Ethernet
#device		vr		# VIA Rhine, Rhine II
#device		wb		# Winbond W89C840F
#device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# Pseudo devices.
device		loop		# Network loopback
device		random		# Entropy device
device		ether		# Ethernet support
#device		vlan		# 802.1Q VLAN support
device		tun		# Packet tunnel.
device		pty		# BSD-style compatibility pseudo ttys
device		md		# Memory "disks"
device		gif		# IPv6 and IPv4 tunneling
device		faith		# IPv6-to-IPv4 relaying (translation)
device		firmware	# firmware assist module

# 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
options 	USB_DEBUG	# enable debug msgs
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		xhci		# XHCI PCI->USB interface (USB 3.0)
device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices (needs netgraph)
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 500 MP3 player
# USB Serial devices
#device		u3g		# USB-based 3G modems (Option, Huawei, Sierra)
#device		uark		# Technologies ARK3116 based serial adapters
#device		ubsa		# Belkin F5U103 and compatible serial adapters
#device		uftdi		# For FTDI usb serial adapters
#device		uipaq		# Some WinCE based devices
device		uplcom		# Prolific PL-2303 serial adapters
device		uslcom		# SI Labs CP2101/CP2102 serial adapters
#device		uvisor		# Visor and Palm devices
#device		uvscom		# USB serial support for DDI pocket's PHS
# USB Ethernet, requires miibus
#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
#device		udav		# Davicom DM9601E USB
# USB Wireless
#device		rum		# Ralink Technology RT2501USB wireless NICs
#device		run		# Ralink Technology RT2700/RT2800/RT3000 NICs.
#device		uath		# Atheros AR5523 wireless NICs
#device		upgt		# Conexant/Intersil PrismGT wireless NICs.
#device		ural		# Ralink Technology RT2500USB wireless NICs
#device		urtw		# Realtek RTL8187B/L wireless NICs
#device		zyd		# ZyDAS zd1211/zd1211b wireless NICs

options		OFED
options		IPOIB_CM

[-- Attachment #3 --]
include		/root/GRAN-TOURISMO

ident		GRAN-TOURISMO-DEBUG

options		DEADLKRES	    	# Enable the deadlock resolver
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 speed

[-- Attachment #4 --]
.ifndef MAKE_CONF_LOCAL_SOURCED
MAKE_CONF_LOCAL_SOURCED=1

CFLAGS+=	-fno-strict-aliasing

CXXFLAGS+=	-fno-strict-aliasing

.if defined(DEBUG_FLAGS) && !empty(DEBUG_FLAGS)
CFLAGS+=	-O0
CXXFLAGS+=	-O0
.else
CFLAGS+=	-O2
CXXFLAGS+=	-O2
.endif

.if exists(/etc/make.conf-local)
.include "/etc/make.conf-local"
.endif
.endif

CC?=	clang
CXX?=	clang++

PYTHON_DEFAULT_VERSION?=	python2.7

# added by use.perl 2013-06-24 22:36:54
PERL_VERSION=5.14.4

[-- Attachment #5 --]
WITH_ATF=
WITHOUT_ATM=
WITHOUT_BHYVE=
WITHOUT_BLUETOOTH=
WITH_BMAKE=
WITHOUT_BSDCONFIG=
WITHOUT_BSDINSTALL=
WITHOUT_BSNMP=
WITHOUT_CALENDAR=
#WITHOUT_CDDL=
#WITHOUT_CLANG=
WITHOUT_CLANG_IS_CC=
WITHOUT_CVS=
WITHOUT_DICT=
WITHOUT_GAMES=
WITHOUT_GPIB=
WITHOUT_GSSAPI=
WITHOUT_HAST=
WITHOUT_HESOID=
WITHOUT_HTML=
WITHOUT_I4B=
#WITHOUT_INET6=
WITHOUT_IPFILTER=
WITHOUT_IPFW=
WITHOUT_IPX=
WITHOUT_KERBEROS=
WITHOUT_LPR=
WITHOUT_NCP=
WITHOUT_NIS=
WITHOUT_NS_CACHING=
WITH_OFED=
WITHOUT_PC_SYSINSTALL=
WITHOUT_PF=
WITHOUT_PPP=
WITHOUT_RADIUS=
WITHOUT_RCMDS=
WITHOUT_ROUTED=
WITHOUT_SYSINSTALL=
WITHOUT_TCSH=
WITH_TESTS=
WITHOUT_WIRELESS=
WITHOUT_WPA_SUPPLICANT_EAPOL=
#WITHOUT_ZFS=

DEFAULT_KERNCONF=	GRAN-TOURISMO
DEFAULT_KERNCONFDIR=	/root

KERNCONF?=		${DEFAULT_KERNCONF}-DEBUG ${DEFAULT_KERNCONF}

KERNCONFDIR?=		${DEFAULT_KERNCONFDIR}

SYSDIR=			/usr/src/sys

.if ${KERNCONFDIR} == ${DEFAULT_KERNCONFDIR}

MODULES_OVERRIDE=	cpuctl

# dtrace
MODULES_OVERRIDE+=	cyclic dtrace

MODULES_OVERRIDE+=	bge cxgbe

# geom/geli/etc
MODULES_OVERRIDE+=	zlib crypto geom

#MODULES_OVERRIDE+=	ipoib mlx mlx4 mlx4ib mlxen sdp

MODULES_OVERRIDE+=	linprocfs linsysfs linux

MODULES_OVERRIDE+=	netgraph

# NFS.
MODULES_OVERRIDE+=	krpc nfscl nfscommon nfs_common nfsclient nfsd nfslock
MODULES_OVERRIDE+=	nfslockd nfsserver nfssvc

MODULES_OVERRIDE+=	nullfs procfs

# POSIX features.
MODULES_OVERRIDE+=      aio mqueue sem

MODULES_OVERRIDE+=	opensolaris tmpfs zfs

.endif

# Uninvasive augmentations to the source tree.
LOCAL_DIRS+=	usr.bin/make
.if make(install)
.if ${.CURDIR:T} == "telnet"
LINKS+=	${BINDIR}/telnet ${BINDIR}/stelnet
.endif
.endif

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGHfRMC=ya=ABWNniq8680GA9%2B%2B25pQEw9j-viNdj5=zuZ9OYQ>