Re: Kernel build failed in sys/x86/acpica @r281433

2015-04-13 Thread David Wolfskill
On Sat, Apr 11, 2015 at 08:27:24AM -0700, David Wolfskill wrote:
 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 
  r...@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:
 

As of r281483, it now seems to be resolved for i386:

FreeBSD g1-254.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #1566  
r281483M/281490:1100068: Mon Apr 13 06:18:28 PDT 2015 
r...@g1-254.catwhisker.org:/common/S4/obj/usr/src/sys/CANARY  i386


(As noted earlier, I never saw the roblem for amd64.)

Peace,
david
-- 
David H. Wolfskill  da...@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.


pgplPPnJf_qZ2.pgp
Description: PGP signature


Re: Kernel build failed in sys/x86/acpica @r281433

2015-04-11 Thread David Wolfskill
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 
 r...@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 
r...@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 
r...@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  da...@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.


pgpyJSrrLwsQV.pgp
Description: PGP signature


Kernel build failed in sys/x86/acpica @r281433

2015-04-11 Thread David Wolfskill
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 
r...@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  da...@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.


pgp3SIGZIPQHA.pgp
Description: PGP signature


Re: Kernel build failed in sys/x86/acpica @r281433

2015-04-11 Thread Oliver Pinter
On 4/11/15, David Wolfskill da...@catwhisker.org 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
 r...@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
 


Confirmed, jenkins build log is here:
http://nyi-01.build.hardenedbsd.org:8180/jenkins/job/HardenedBSD-master-i386/56/console

 and things tend to go downhill from that point.

 Peace,
 david
 --
 David H. Wolfskillda...@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.

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org