Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Can't build NetBSD with CPUFLAGS
It seems we have a number of places where CPUFLAGS can't be used but
nothing handling the case where the're set.
CPUFLAGS+=-mcpu=cortex-a8 -mfpu=neon
Isn't this supposed to be the point of CPUFLAGS?
--- bcopy.o --- # compile sa/bcopy.o
/usr/src/../tools/bin/armv7--netbsdelf-eabihf-gcc -Os -std=gnu99 -Werror
-Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith
-march=armv4 -mcpu=cortex-a8 -mfpu=neon -ffreestanding
-fno-stack-protector -fno-unwind-tables
-I/usr/src/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/../../../../../lib/libsa
-DCONSPEED=19200 -DCONADDR=0x42000000UL -DNS16550_AX4
-DNS16550_FREQ=48000000 --sysroot=/usr/src/../dest-evbarm -nostdinc
-I../../.
-I/usr/src/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/../../../../../arch/evbarm/stand/gzboot
-I/usr/src/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/../../../../../arch/evbarm/stand/board
-I/usr/src/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/../../../../..
-I/usr/src/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/../../../../../arch
-I/usr/src/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/../../../../../lib/libsa
-I/usr/src/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/../../../../../../common/dist/zlib
-mabi=apcs-gnu -mfloat-abi=soft -marm -D_STANDALONE
-DBOARD_HEAP_SIZE=1048576 -DHEAP_VARIABLE -DRELOC=0x01600000
-DMAXIMAGESIZE=0 -DLOADADDR=0x00200000
-I/usr/src/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/../../../../../lib/libkern/../../../common/lib/libc/quad
-I/usr/src/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/../../../../../lib/libkern/../../../common/lib/libc/string
-I/usr/src/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/../../../../../lib/libkern/../../../common/lib/libc/arch/arm/string
-I/usr/src/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/../../../../../lib/libsa/../../../common/dist/zlib
-DCOMPAT_UFS --sysroot=/usr/src/../dest-evbarm -Wno-pointer-sign -c
/usr/src/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/../../../../../lib/libsa/../../../common/lib/libc/string/bcopy.c
-o bcopy.o
/usr/src/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/../../../../../lib/libsa/../../../common/lib/libc/string/bcopy.c:1:0:
error: switch -mcpu=cortex-a8 conflicts with -march=armv4 switch [-Werror]
/* $NetBSD: bcopy.c,v 1.11 2014/04/16 20:39:55 joerg Exp $ */
^ cc1: all warnings being treated as errors *** [bcopy.o] Error code 1
nbmake[11]: stopped in
/usr/obj-evbarm/sys/arch/evbarm/stand/gzboot/GEMINI_dram_0x01600000/lib/sa
Home |
Main Index |
Thread Index |
Old Index