Date: Sat, 14 Jul 2012 15:52:28 GMT From: Geoffrey Lassner <freebsd83-pae-emu10k1@zyni.com> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/169857: kernel compile fails for PAE with device sound and device snd_emu10k1 Message-ID: <201207141552.q6EFqScs030854@red.freebsd.org> Resent-Message-ID: <201207141600.q6EG0Ass021791@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <output omitted> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207141552.q6EFqScs030854>