Port-arm archive

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

evbarm default odroid C1kernel fail to compile



Hello folks.

During the last few days I have been trying to build a test kernel for my odroid C1+ using the default kernel configuration for the evbarm arch and building it with build.sh.

I have initially tried to build it under 7.0.1 RELEASE source code, than I moved to 7- STABLE and ultimately to CURRENT. The compiler stops at the very same point regardless the branch I am using.

The kernel test I am trying to build is basically the ODROID-C1 kernel configuration that comes with NetBSD, nothing added or removed. Attached is the compiler output error :

#   compile  ODROID-C1_current/amlogic_board.o
/usr/src/obj/tooldir.NetBSD-7.0.1-amd64/bin/arm--netbsdelf-eabi-gcc -mfloat-abi=soft -ffreestanding -fno-zero-initialized-in-bss -g -O2 -msoft-float -fno-strict-aliasing -fno-common -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2 -Wno-format-zero-length -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 -Wno-sign-compare --sysroot=/usr/src/obj/destdir.evbarm -mcpu=cortex-a5 -mfpu=neon -DKERNEL_BASE_VOFFSET=(0x80100000-0x00100000) -I. -I/usr/src/sys/../common/lib/libx86emu -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -D__HAVE_CPU_COUNTER -D__HAVE_FAST_SOFTINTS -D__HAVE_MM_MD_DIRECT_MAPPED_PHYS -DKERNEL_BASE_EXT=0x80000000 -DARM_GENERIC_TODR -DDIAGNOSTIC -DCONSADDR=0xc81004c0 -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string -I/usr/src/sys/external/bsd/common/include -I/usr/src/sys/external/bsd -I/usr/src/sys/external/bsd/dwc2/dist -c /usr/src/sys/arch/arm/amlogic/amlogic_board.c -o amlogic_board.o
In file included from /usr/src/sys/arch/arm/amlogic/amlogic_board.c:50:0:
/usr/src/sys/arch/arm/amlogic/amlogic_var.h:95:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]
 static void inline
 ^
cc1: all warnings being treated as errors

*** Failed target:  amlogic_board.o
*** Failed command: echo '# ' "compile ODROID-C1_current/amlogic_board.o" && echo /usr/src/obj/tooldir.NetBSD-7.0.1-amd64/bin/arm--netbsdelf-eabi-gcc -mfloat-abi=soft -ffreestanding -fno-zero-initialized-in-bss -g -O2 -msoft-float -fno-strict-aliasing -fno-common -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2 -Wno-format-zero-length -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 -Wno-sign-compare --sysroot=/usr/src/obj/destdir.evbarm -mcpu=cortex-a5 -mfpu=neon -DKERNEL_BASE_VOFFSET="(0x80100000-0x00100000)" -I. -I/usr/src/sys/../common/lib/libx86emu -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -D__HAVE_CPU_COUNTER -D__HAVE_FAST_SOFTINTS -D__HAVE_MM_MD_DIRECT_MAPPED_PHYS -DKERNEL_BASE_EXT="0x80000000" -DARM_GENERIC_TODR -DDIAGNOSTIC -DCONSADDR="0xc81004c0" -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string -I/usr/src/sys/external/bsd/common/include -I/usr/src/sys/external/bsd -I/usr/src/sys/external/bsd/dwc2/dist -c /usr/src/sys/arch/arm/amlogic/amlogic_board.c -o amlogic_board.o && /usr/src/obj/tooldir.NetBSD-7.0.1-amd64/bin/arm--netbsdelf-eabi-gcc -mfloat-abi=soft -ffreestanding -fno-zero-initialized-in-bss -g -O2 -msoft-float -fno-strict-aliasing -fno-common -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2 -Wno-format-zero-length -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 -Wno-sign-compare --sysroot=/usr/src/obj/destdir.evbarm -mcpu=cortex-a5 -mfpu=neon -DKERNEL_BASE_VOFFSET="(0x80100000-0x00100000)" -I. -I/usr/src/sys/../common/lib/libx86emu -I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc -D__HAVE_CPU_COUNTER -D__HAVE_FAST_SOFTINTS -D__HAVE_MM_MD_DIRECT_MAPPED_PHYS -DKERNEL_BASE_EXT="0x80000000" -DARM_GENERIC_TODR -DDIAGNOSTIC -DCONSADDR="0xc81004c0" -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad -I/usr/src/sys/lib/libkern/../../../common/lib/libc/string -I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string -I/usr/src/sys/external/bsd/common/include -I/usr/src/sys/external/bsd -I/usr/src/sys/external/bsd/dwc2/dist -c /usr/src/sys/arch/arm/amlogic/amlogic_board.c -o amlogic_board.o && echo /usr/src/obj/tooldir.NetBSD-7.0.1-amd64/bin/nbctfconvert -g -L VERSION -g amlogic_board.o && /usr/src/obj/tooldir.NetBSD-7.0.1-amd64/bin/nbctfconvert -g -L VERSION -g amlogic_board.o
*** Error code 1

Stop.
nbmake: stopped in /usr/obj/sys/arch/evbarm/compile/ODROID-C1_current

ERROR: Failed to make all in "/usr/src/sys/arch/evbarm/compile/obj/ODROID-C1_current"
*** BUILD ABORTED ***
netware$

Any help is truly appreciated. Thanks.



Home | Main Index | Thread Index | Old Index