Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Feb 2015 09:19:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-mips@FreeBSD.org
Subject:   [Bug 197259] [mips64] First Pass at clang enabled builds for mips64 (with clang36)
Message-ID:  <bug-197259-27794-frnD8pRzxd@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197259-27794@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197259-27794@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197259

--- Comment #3 from Dimitry Andric <dim@FreeBSD.org> ---
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 on the CC list for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197259-27794-frnD8pRzxd>