From owner-freebsd-bugs@freebsd.org Mon Oct 9 18:45:00 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3CD83E38EBB for ; Mon, 9 Oct 2017 18:45:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2B0F176A18 for ; Mon, 9 Oct 2017 18:45:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v99IixFt041553 for ; Mon, 9 Oct 2017 18:45:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 222881] on armv7, clang reports __ARM_ARCH = 6 and defines __ARM_ARCH_6KZ__ Date: Mon, 09 Oct 2017 18:45:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sylvain@sylvaingarrigues.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 18:45:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222881 --- Comment #6 from Sylvain Garrigues --- 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 po= six -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=3Dgdb -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=3Dgnustep -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 --=20 You are receiving this mail because: You are the assignee for the bug.=