Kernel build failed in sys/x86/acpica _at_r281433

From: David Wolfskill <david_at_catwhisker.org>
Date: Sat, 11 Apr 2015 05:57:19 -0700
Running:
FreeBSD g1-254.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #1565  r281363M/281366:1100068: Fri Apr 10 05:41:13 PDT 2015     root_at_g1-254.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY  i386

World builds OK; kernel is OK up to:

...
>>> stage 3.2: building everything
...
--- legacy.o ---
cc  -c -O -pipe  -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -mno-mmx -mno-sse -msoft-float -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unkno--- OsdEnvironment.o ---
/usr/src/sys/x86/acpica/OsdEnvironment.c:73:39: error: incompatible pointer types passing 'ACPI_SIZE *' (aka 'unsigned int *') to parameter of type 'ACPI_PHYSICAL_ADDRESS *' (aka 'unsigned long long *') [-Werror,-Wincompatible-pointer-types]
        if (ACPI_SUCCESS(AcpiFindRootPointer(&acpi_root)))
                                             ^~~~~~~~~~
/usr/src/sys/contrib/dev/acpica/include/acexcep.h:94:44: note: expanded from macro 'ACPI_SUCCESS'
#define ACPI_SUCCESS(a)                 (!(a))
                                           ^
/usr/src/sys/contrib/dev/acpica/include/acpixf.h:506:30: note: passing argument to parameter 'RsdpAddress' here
    ACPI_PHYSICAL_ADDRESS   *RsdpAddress))
                             ^
/usr/src/sys/contrib/dev/acpica/include/acpixf.h:96:5: note: expanded from macro 'ACPI_EXTERNAL_RETURN_STATUS'
    Prototype;
    ^
1 error generated.
...
--- OsdEnvironment.o ---
*** [OsdEnvironment.o] Error code 1

make[2]: stopped in /common/S4/obj/usr/src/sys/CANARY
....

and things tend to "go downhill" from that point.

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Those who murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Sat Apr 11 2015 - 10:57:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:56 UTC