DragonFly BSD
DragonFly bugs List (threaded) for 2011-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue2017] Kernel compilation failure in sys/dev/sound/pci/hda/hdac.c


From: "Francois Tigeot \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 05 Mar 2011 09:03:22 +0000

New submission from Francois Tigeot <ftigeot@wolfpond.org>:

Trying to update to the latest -2.9 with a custom kernel, the compilation fails
with this error messages:

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -std=c99 -g -nostdinc
-I. -Iinclude -I/usr/src/sys -I/usr/src/sys/../include
-I/usr/obj/usr/src/sys/BADAXE64 -I"/usr/src/sys/dev/acpica5"
-I"/usr/src/sys/contrib/dev/acpica-unix/include" -I/usr/src/sys/contrib/ipfilter
-I/usr/src/sys/dev/netif/ath/hal -I/usr/src/sys/dev/netif/ath/hal/ath_hal 
-D_KERNEL -include opt_global.h  -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000 -fno-common
-ffreestanding -mpreferred-stack-boundary=4 -mcmodel=kernel -mno-red-zone
-mfpmath=387 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -mno-ssse3
-mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a  -mno-sse5 -mno-abm -mno-aes
-mno-avx -mno-pclmul -mno-popcnt -msoft-float -fno-asynchronous-unwind-tables
-fno-omit-frame-pointer  /usr/src/sys/dev/sound/pci/hda/hdac.c -Werror
cc1: warnings being treated as errors
/usr/src/sys/dev/sound/pci/hda/hdac.c: In function 'hdac_dma_alloc':
/usr/src/sys/dev/sound/pci/hda/hdac.c:1415: error: overflow in implicit constant
conversion
*** Error code 1

System architecture is x86_64.
My custom kernel configuration file contains the following two lines at the end:

device          pcm
device          snd_hda

Apart from the above additions and a commented out APIC_IO line, it is identical
to X86_64_GENERIC_SMP

----------
keyword: kernel, x86-64
messages: 9678
nosy: ftigeot
priority: bug
status: unread
title: Kernel compilation failure in sys/dev/sound/pci/hda/hdac.c

_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue2017>
_____________________________________________________




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]