Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Apr 2018 10:27:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 227339] clang crashes with error in backend: SSE2 register return with SSE2 disabled
Message-ID:  <bug-227339-29464-jRjEJdxpV3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227339-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227339-29464@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=3D227339

Dimitry Andric <dim@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dim@FreeBSD.org

--- Comment #2 from Dimitry Andric <dim@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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227339-29464-jRjEJdxpV3>