[Bug 227339] clang crashes with error in backend: SSE2 register return with SSE2 disabled
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Apr 8 10:27:35 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227339
Dimitry Andric <dim at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dim at FreeBSD.org
--- Comment #2 from Dimitry Andric <dim at FreeBSD.org> ---
This also reproduces with clang from head:
/usr/ports/databases/arangodb33/work/arangodb-3.3.6.1/3rdParty/curl/curl-7.50.3/lib/timeval.c:137:8:
error: SSE2 register return with SSE2 disabled
double curlx_tvdiff_secs(struct timeval newer, struct timeval older)
^
1 error generated.
and I think the problem is that the command line options make it impossible to
compile this source. E.g. it compiles for amd64, but something passes:
-mno-sse2
-mno-sse3
-mno-ssse3
-mno-sse4.1
-mno-sse4.2
-mno-sse4a
-mno-avx
-mno-fma
-mno-bmi2
-mno-avx2
-mno-xop
-mno-fma4
-mno-avx512f
-mno-avx512vl
-mno-avx512pf
-mno-avx512er
-mno-avx512cd
-mno-avx512dq
-mno-avx512bw
-mno-avx512ifma
-mno-avx512vbmi
on the command line, making it impossible to work with doubles in the amd64
ABI. You should try removing all the -mno-* options, and see if it compiles
then.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list