Actions
Bug #2017
closedKernel compilation failure in sys/dev/sound/pci/hda/hdac.c
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Trying to update to the latest -2.9 with a custom kernel, the compilation fails
with this error messages:
-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
Files
Actions