Current-Users archive

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

i386 (amd64?) kernels w/"com* at apci?" build failure



Recent changes to com(4) attachment via ACPI break building kernels with
"com* at acpi?".  Seen on i386.  Might also affect amd64, but other
failures have prevented my amd64 builds from reaching my custom kernel
builds.

[...]
--- com_acpi.o ---
#   compile  VERTHANDI/com_acpi.o
/r0/build/current/tools/amd64/bin/i486--netbsdelf-gcc -msoft-float -mno-mmx -mno-sse -mno-avx -mindirect-branch=thunk -mindirect-branch-register -ffreestanding -fno-zero-initialized-in-bss -fno-delete-null-pointer-checks -g -O2 -fno-omit-frame-pointer -fstack-protector -Wstack-protector --param ssp-buffer-size=1 -fno-strict-aliasing -fno-common -std=gnu99 -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-unreachable-code -Wno-pointer-sign -Wno-attributes -Wextra -Wno-unused-parameter -Wold-style-definition -Wno-sign-compare --sysroot=/r0/build/current/DEST/i386 -Di386 -I. -I/x/current/src/sys/external/bsd/acpica/dist -I/x/current/src/sys/external/bsd/libnv/dist -I/x/current/src/sys/../common/lib/libx86emu -I/x/current/src/sys/../common/lib/libc/misc -I/x/current/src/sys/../common/include -I/x/current/src/sys/arch -I/x/current/src/sys -nostdinc -DDIAGNOSTIC -DCOMPAT_44 -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I/x/current/src/sys/lib/libkern/../../../common/lib/libc/quad -I/x/current/src/sys/lib/libkern/../../../common/lib/libc/string -I/x/current/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string -D_FORTIFY_SOURCE=2 -I/x/current/src/sys/dist/pf -I/x/current/src/sys/external/bsd/drm/dist/bsd-core -I/x/current/src/sys/external/bsd/drm/dist/shared-core -I/x/current/src/sys/../common/include -I/x/current/src/sys/external/bsd/acpica/dist/include -c /x/current/src/sys/dev/acpi/com_acpi.c -o com_acpi.o
[...]
--- com_acpi.o ---
/x/current/src/sys/dev/acpi/com_acpi.c: In function 'com_acpi_attach':
/x/current/src/sys/dev/acpi/com_acpi.c:175:42: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
   asc->sc_ih = acpi_intr_establish(self, (uint64_t)aa->aa_node->ad_handle,
                                          ^
cc1: all warnings being treated as errors
*** [com_acpi.o] Error code 1

nbmake: stopped in /r0/build/current/obj/i386/sys/arch/i386/compile/VERTHANDI

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index