tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD-6.0.1 arm1136jf-s Warning: swp{b} use is deprecated for this architecture
Has anyone seen this warning on a NetBSD-6.0.1 build using an arm core
arm1136jf-s?
This is an armv6 architecture which deprecates the swp{b} instruction. It looks
like gcc version 4.5.3 (NetBSD nb2 20111202) is incorrectly producing swp
instructions for this cpu type, -mcpu=arm1136jf-s.
# compile ZERCONFIG/subr_debug.o
/Users/fzerangue/NetBSD-6.0.1/usr/src/tooldir.darwin/bin/arm--netbsdelf-gcc
-ffreestanding -fno-zero-initialized-in-bss -g -O2 -std=gnu99
-fno-strict-aliasing -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 -mcpu=arm1136jf-s
--sysroot=/Users/fzerangue/NetBSD-6.0.1/usr/src/destdir.zerarm -I.
-I/Volumes/Macintosh-HD1/Users/fzerangue/NetBSD-6.0.1/usr/src/sys/../common/include
-I/Volumes/Macintosh-HD1/Users/fzerangue/NetBSD-6.0.1/usr/src/sys/arch
-I/Volumes/Macintosh-HD1/Users/fzerangue/NetBSD-6.0.1/usr/src/sys -nostdinc
-DKERNEL_BASE_EXT=0x80000000 -DARM_GENERIC_TODR -DDIAGNOSTIC -DDEBUG
-DVERBOSE_IMX31_INIT -DMEMSTART=0x80000000 -DMEMSIZE=0x8000000 -DMAXUSERS=32
-D_KERNEL -D_KERNEL_OPT
-I/Volumes/Macintosh-HD1/Users/fzerangue/NetBSD-6.0.1/usr/src/sys/lib/libkern/../../../common/lib/libc/quad
-I/Volumes/Macintosh-HD1/Users/fzerangue/NetBSD-6.0.1/usr/src/sys/lib/libkern/../../../common/lib/libc/string
-I/Volumes/Macintosh-HD1/Users/fzerangue/NetBSD-6.0.1/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/arm/string
-I/Volumes/Macintosh-HD1/Users/fzerangue/NetBSD-6.0.1/usr/src/sys/../../../include
-c
/Volumes/Macintosh-HD1/Users/fzerangue/NetBSD-6.0.1/usr/src/sys/kern/subr_debug.c
/var/folders/_l/kxt7smhn64q_psxq53sp66240000gn/T//ccMvY7H3.s: Assembler
messages:
/var/folders/_l/kxt7smhn64q_psxq53sp66240000gn/T//ccMvY7H3.s:657: Warning:
swp{b} use is deprecated for this architecture
/var/folders/_l/kxt7smhn64q_psxq53sp66240000gn/T//ccMvY7H3.s:811: Warning:
swp{b} use is deprecated for this architecture
--
Frank Zerangue
frank.zerangue%gmail.com@localhost
Home |
Main Index |
Thread Index |
Old Index