Created attachment 192303 [details]
preprocessed file and invocation script
While trying to update the databases/arangodb33 port to the latest upstream version, this happens. Attached are the preprocessed source file and invocation script.
This is clang 4.0 in 11.1-RELEASE-p8.
This also reproduces with clang from head:
/usr/ports/databases/arangodb33/work/arangodb-22.214.171.124/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:
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.