Current-Users archive

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

com.c fails to compile on evbearmv7hf-el



Hi,


with -current source cvs-updated an hour ago (or so);

===> build.sh command:    ./build.sh -u -N 1 -U -m evbearmv7hf-el -O /u/NetBSD/arch/evbearmv7hf-el/obj -D /u/NetBSD/arch/evbearmv7hf-el/dest -R /u/NetBSD/arch/evbearmv7hf-el/release -T /u/NetBSD/arch/evbearmv7hf-el/TOOLS release
===> build.sh started:    Sat Mar  7 20:00:51 MET 2015
===> NetBSD version:      7.99.6
===> MACHINE:             evbarm
===> MACHINE_ARCH:        earmv7hf
===> Build platform:      NetBSD 7.99.5 amd64
===> HOST_SH:             /bin/sh
===> MAKECONF file:       /etc/mk.conf
===> TOOLDIR path:        /u/NetBSD/arch/evbearmv7hf-el/TOOLS
===> DESTDIR path:        /u/NetBSD/arch/evbearmv7hf-el/dest
===> RELEASEDIR path:     /u/NetBSD/arch/evbearmv7hf-el/release
===> Updated makewrapper: /u/NetBSD/arch/evbearmv7hf-el/TOOLS/bin/nbmake-evbearmv7hf-el
[...]
Build directory is /u/NetBSD/arch/evbearmv7hf-el/obj/sys/arch/evbarm/compile/ARMADAXP
Don't forget to run "make depend"
depending the kern library objects
depending the compat library objects
    compile  ARMADAXP/armadaxp_start.o
    compile  ARMADAXP/locore.o
    compile  ARMADAXP/param.o
    compile  ARMADAXP/bcopy_page.o
    compile  ARMADAXP/bcopyinout.o
    compile  ARMADAXP/com.o
/u/NetBSD/src/sys/dev/ic/com.c: In function 'com_attach_subr':
/u/NetBSD/src/sys/dev/ic/com.c:531:5: error: assignment of read-only variable 'fcr'
     fcr |= FIFO_UART_ON;
     ^

*** Failed target:  com.o
*** Failed command: echo ' ' "compile ARMADAXP/com.o" && : echo /u/NetBSD/arch/evbearmv7hf-el/TOOLS/bin/armv7--netbsdelf-eabihf-gcc -pipe -mfloat-abi=soft -ffreestanding -fno-zero-initialized-in-bss -O2 -fno-strict-aliasing -fno-common -std=gnu99 -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 -march=armv7-a -msoft-float --sysroot=/u/NetBSD/arch/evbearmv7hf-el/dest -DKERNEL_BASE_VOFFSET="(0x80200000-0x00200000)" -I. -I/u/NetBSD/src/sys/../common/include -I/u/NetBSD/src/sys/arch -I/u/NetBSD/src/sys -nostdinc -D__HAVE_FAST_SOFTINTS -D__HAVE_PCI_CONF_HOOK -DKERNEL_BASE_EXT="0x80000000" -DSTARTUP_PAGETABLE_ADDR="0x100000" -DMEMSTART="0x0" -DPIC_MAXSOURCES="128" -D__HAVE_MM_MD_DIRECT_MAPPED_PHYS -DDIAGNOSTIC -DCONSADDR="0xd0012000" -DCONSPEED="115200" -DCONSFREQ="250000000" -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/quad -I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/string -I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string -c /u/NetBSD/src/sys/dev/ic/com.c && /u/NetBSD/arch/evbearmv7hf-el/TOOLS/bin/armv7--netbsdelf-eabihf-gcc -pipe -mfloat-abi=soft -ffreestanding -fno-zero-initialized-in-bss -O2 -fno-strict-aliasing -fno-common -std=gnu99 -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 -march=armv7-a -msoft-float --sysroot=/u/NetBSD/arch/evbearmv7hf-el/dest -DKERNEL_BASE_VOFFSET="(0x80200000-0x00200000)" -I. -I/u/NetBSD/src/sys/../common/include -I/u/NetBSD/src/sys/arch -I/u/NetBSD/src/sys -nostdinc -D__HAVE_FAST_SOFTINTS -D__HAVE_PCI_CONF_HOOK -DKERNEL_BASE_EXT="0x80000000" -DSTARTUP_PAGETABLE_ADDR="0x100000" -DMEMSTART="0x0" -DPIC_MAXSOURCES="128" -D__HAVE_MM_MD_DIRECT_MAPPED_PHYS -DDIAGNOSTIC -DCONSADDR="0xd0012000" -DCONSPEED="115200" -DCONSFREQ="250000000" -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT -std=gnu99 -I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/quad -I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/string -I/u/NetBSD/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string -c /u/NetBSD/src/sys/dev/ic/com.c && :
*** Error code 1

Kurt


Home | Main Index | Thread Index | Old Index