[Bug 222881] on armv7, clang reports __ARM_ARCH = 6 and defines __ARM_ARCH_6KZ__

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 9 18:45:00 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222881

--- Comment #6 from Sylvain Garrigues <sylvain at sylvaingarrigues.com> ---
I take my bug back, I tested on the wrong system. My bad, sorry dim and imp.

On my armv7 system, I do get:

# clang -dM -E - -v < /dev/null
FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on LLVM
5.0.0svn)
Target: armv7-unknown-freebsd12.0-gnueabihf
Thread model: posix
InstalledDir: /usr/bin
 "/usr/bin/clang" -cc1 -triple armv7-unknown-freebsd12.0-gnueabihf -E
-disable-free -main-file-name - -mrelocation-model static -mthread-model posix
-mdisable-fp-elim -masm-verbose -mconstructor-aliases -target-cpu generic
-target-feature +strict-align -target-abi aapcs-linux -mfloat-abi hard -v
-dwarf-column-info -debugger-tuning=gdb -resource-dir /usr/lib/clang/5.0.0
-fdebug-compilation-dir /root -ferror-limit 19 -fmessage-length 156
-fallow-half-arguments-and-returns -fno-signed-char -fobjc-runtime=gnustep
-fdiagnostics-show-option -fcolor-diagnostics -dM -o - -x c -
clang -cc1 version 5.0.0 based upon LLVM 5.0.0svn default target
armv7-unknown-freebsd12.0-gnueabihf
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/clang/5.0.0/include
 /usr/include
End of search list.
#define _ILP32 1
#define __APCS_32__ 1
#define __ARMEL__ 1
#define __ARM_32BIT_STATE 1
#define __ARM_ACLE 200
#define __ARM_ARCH 7
#define __ARM_ARCH_7A__ 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list