[Bug 197259] [mips64] First Pass at clang enabled builds for mips64 (with clang36)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 2 09:19:23 UTC 2015


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

--- Comment #3 from Dimitry Andric <dim at 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 the assignee for the bug.


More information about the freebsd-bugs mailing list