Re: Kernel build failed in sys/x86/acpica _at_r281433

From: David Wolfskill <david_at_catwhisker.org>
Date: Sat, 11 Apr 2015 08:27:24 -0700
On Sat, Apr 11, 2015 at 05:57:19AM -0700, David Wolfskill wrote:
> 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:
> ... 
> /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)))
>                                              ^~~~~~~~~~
> ....

This seems to be specific to i386; my build & smoke test for amd64 was
successful:

FreeBSD g1-254.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #28  r281363M/281366:1100068: Fri Apr 10 06:59:53 PDT 2015     root_at_g1-254.catwhisker.org:/common/S3/obj/usr/src/sys/CANARY  amd64

FreeBSD g1-254.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #29  r281433M/281433:1100068: Sat Apr 11 06:33:16 PDT 2015     root_at_g1-254.catwhisker.org:/common/S3/obj/usr/src/sys/CANARY  amd64

(Note that this is exactly the same hardware as in the failing case
-- merely booted & run from a different slice of the disk.)

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 - 13:27:27 UTC

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