From owner-freebsd-bugs@FreeBSD.ORG Mon Feb 2 09:19:23 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 811EDE58 for ; Mon, 2 Feb 2015 09:19:23 +0000 (UTC) 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 62C756B0 for ; Mon, 2 Feb 2015 09:19:23 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t129JNFF011372 for ; Mon, 2 Feb 2015 09:19:23 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 197259] [mips64] First Pass at clang enabled builds for mips64 (with clang36) Date: Mon, 02 Feb 2015 09:19:23 +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: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Feb 2015 09:19:23 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197259 --- Comment #3 from Dimitry Andric --- This compiles with clang trunk r227785, though there are some warnings about unsupported feature flags: $ /share/dim/llvm/227785-trunk-freebsd11-i386-aconf-rel-1/bin/clang "-cc1" "-triple" "mips64-unknown-freebsd11.0" "-emit-obj" "-disable-free" "-main-file-name" "absvti2.c" "-mrelocation-model" "pic" "-pic-level" "1" "-mthread-model" "posix" "-mdisable-fp-elim" "-masm-verbose" "-mconstructor-aliases" "-target-cpu" "mips64r2" "-target-feature" "-o32" "-target-feature" "+n64" "-target-abi" "n64" "-mfloat-abi" "hard" "-mllvm" "-mips-ssection-threshold=0" "-v" "-dwarf-column-info" "-D" "VISIBILITY_HIDDEN" "-O2" "-Wsystem-headers" "-Werror" "-Wall" "-Wno-format-y2k" "-Wno-uninitialized" "-Wno-pointer-sign" "-Wno-empty-body" "-Wno-string-plus-int" "-Wno-unused-const-variable" "-Wno-tautological-compare" "-Wno-unused-value" "-Wno-parentheses-equality" "-Wno-unused-function" "-Wno-enum-conversion" "-Wno-unused-local-typedef" "-Wno-switch" "-Wno-switch-enum" "-Wno-knr-promoted-parameter" "-std=gnu99" "-ferror-limit" "19" "-fmessage-length" "0" "-fvisibility" "hidden" "-mstackrealign" "-fobjc-runtime=gnustep" "-fdiagnostics-show-option" "-vectorize-loops" "-vectorize-slp" "-x" "c" "absvti2-6a9ce7.c" clang -cc1 version 3.7.0 based upon LLVM 3.7.0svn default target i386-unknown-freebsd11.0 #include "..." search starts here: #include <...> search starts here: /share/dim/llvm/227785-trunk-freebsd11-i386-aconf-rel-1/bin/../lib/clang/3.7.0/include /usr/include End of search list. '-o32' is not a recognized feature for this target (ignoring feature) '+n64' is not a recognized feature for this target (ignoring feature) '-o32' is not a recognized feature for this target (ignoring feature) '+n64' is not a recognized feature for this target (ignoring feature) '-o32' is not a recognized feature for this target (ignoring feature) '+n64' is not a recognized feature for this target (ignoring feature) '-o32' is not a recognized feature for this target (ignoring feature) '+n64' is not a recognized feature for this target (ignoring feature) '-o32' is not a recognized feature for this target (ignoring feature) '+n64' is not a recognized feature for this target (ignoring feature) '-o32' is not a recognized feature for this target (ignoring feature) '+n64' is not a recognized feature for this target (ignoring feature) '-o32' is not a recognized feature for this target (ignoring feature) '+n64' is not a recognized feature for this target (ignoring feature) '-o32' is not a recognized feature for this target (ignoring feature) '+n64' is not a recognized feature for this target (ignoring feature) The reduced test case is: __int128 a; __int128 __absvti2() { __int128 s = -1; return (a ^ s) - 1; } -- You are receiving this mail because: You are the assignee for the bug.