From owner-freebsd-bugs@FreeBSD.ORG Sat Jul 14 16:00:25 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24F37106566C for ; Sat, 14 Jul 2012 16:00:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F215D8FC15 for ; Sat, 14 Jul 2012 16:00:24 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6EG0AiP021792 for ; Sat, 14 Jul 2012 16:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6EG0Ass021791; Sat, 14 Jul 2012 16:00:10 GMT (envelope-from gnats) Resent-Date: Sat, 14 Jul 2012 16:00:10 GMT Resent-Message-Id: <201207141600.q6EG0Ass021791@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Geoffrey Lassner Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2EBE1106566B for ; Sat, 14 Jul 2012 15:52:30 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 1952A8FC12 for ; Sat, 14 Jul 2012 15:52:30 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q6EFqTrI030855 for ; Sat, 14 Jul 2012 15:52:29 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q6EFqScs030854; Sat, 14 Jul 2012 15:52:28 GMT (envelope-from nobody) Message-Id: <201207141552.q6EFqScs030854@red.freebsd.org> Date: Sat, 14 Jul 2012 15:52:28 GMT From: Geoffrey Lassner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: misc/169857: kernel compile fails for PAE with device sound and device snd_emu10k1 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jul 2012 16:00:25 -0000 >Number: 169857 >Category: misc >Synopsis: kernel compile fails for PAE with device sound and device snd_emu10k1 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 14 16:00:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Geoffrey Lassner >Release: 8.3-RELEASE-p3 >Organization: self >Environment: FreeBSD northwest.zyni.com 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #2: Wed Jul 11 22:23:27 MDT 2012 root@northwest.zyni.com:/usr/src/sys/i386/compile/NORTHWEST-PAE i386 >Description: I had some existing hardware (1U intel sr1300 servers) that I was trying to add sound cards to. Unfortunately, I am limited to sound cards that have the 3.3V pci notch in them otherwise I would just use different soundcards. I have verified the cards work fine if they are loaded as modules with a non-PAE kernel. PAE kernels with "device sound" and "device snd_emu10k1" will >How-To-Repeat: Take the stock PAE config file and add the "sound" and "snd_emu10k1" devices: # diff PAE PAE_emu10k1 23a24,26 > device sound > device snd_emu10k1 > # config PAE_emu10k1 cd /sys/i386/compile/PAE_emu10k1 make cleandepend && make depend && make 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../../.. -I../../../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 -fstack-protector -Werror ../../../dev/sound/pci/emu10k1.c cc1: warnings being treated as errors ./../../dev/sound/pci/emu10k1.c: In function 'emu_memalloc': ./../../dev/sound/pci/emu10k1.c:1381: warning: cast to pointer from integer of different size *** Error code 1 Stop in /usr/src/sys/i386/compile/PAE_emu10k1. # >Fix: >Release-Note: >Audit-Trail: >Unformatted: