Current-Users archive

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

acpica-20160930 and stdarg.h



The new import of acpica-20160930 broke ia64's skiload build.  It
seems like stdarg.h is no longer found.

If I add check for _STANDALONE to use <sys/stdarg.h>  in 
  src/sys/external/bsd/acpica/dist/include/platform/acgcc.h
with

RCS file: /cvsroot/src/sys/external/bsd/acpica/dist/include/platform/acgcc.h,v
retrieving revision 1.2
diff -r1.2 acgcc.h
51c51
< #ifdef _KERNEL
---
> #if defined(_KERNEL) || defined(_STANDALONE)

the build will complete.  Can that be added or do I need to do some
ia64-specific change instead?

Here is a snippet of the build log without the above patch:

cd /home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64 && /home/scole/nbsd/cvs/src/obj/tooldir.NetBSD-7.0.2_PATCH-i386/bin/nbmake-ia64
[snipped...]
#   compile  ski/acpi_stub.o
/home/scole/nbsd/cvs/src/obj/tooldir.NetBSD-7.0.2_PATCH-i386/bin/ia64--netbsd-gcc -O2 -ffreestanding -fshort-wchar -Wformat -D_STANDALONE -Os -ffreestanding   -std=gnu99   -Werror    --sysroot=/home/scole/nbsd/cvs/src/obj/destdir.ia64 -nostdlib -nostdinc -I/home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64/ski/obj -I/home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64/ski/../../../../../arch/ia64/stand -I/home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64/ski/../../../../../external/bsd/gnu-efi/dist/inc -I/home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64/ski/../../../../../external/bsd/gnu-efi/dist/inc/ia64 -D_STANDALONE -I/home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64/ski/../../../../../lib/libkern/../../../common/lib/libc/quad -I/home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64/ski/../../../../../lib/libkern/../../../common/lib/libc/string -I/home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64/ski/../../../../../lib/libkern/../../../common/lib/libc/arch/ia64/string -DLOADER -DSKIFS -I/home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64/ski/../../../../.. -I/home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64/ski/../../../../../arch/ia64/stand/common -DLIBKERN_OPTIMISE_SPACE  -DHEAP_VARIABLE  -c    /home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64/ski/acpi_stub.c
In file included from /home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64/ski/../../../../../external/bsd/acpica/dist/include/platform/acenv.h:174:0,
                 from /home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64/ski/../../../../../external/bsd/acpica/dist/include/acpi.h:56,
                 from /home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64/ski/../../../../../dev/acpi/acpica.h:46,
                 from /home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64/ski/acpi_stub.c:40:
/home/scole/nbsd/cvs/src/sys/arch/ia64/stand/ia64/ski/../../../../../external/bsd/acpica/dist/include/platform/acgcc.h:54:20: fatal error: stdarg.h: No such file or directory
compilation terminated.

Thanks


Home | Main Index | Thread Index | Old Index