configure: Add signed*signed check to [u]int128_t test
PATCH 1/1 configure: Add signed*signed check to [u]int128_t test
clang 3.8 with -fsanitize=undefined will fail to link code containing an int128_t * int128_t multiply (http://llvm.org/bugs/show_bug.cgi?id=16404)
so add this to our configure test for whether [u]int128_t are usable.
--- configure | 1 + 1 file changed, 1 insertion(+)
configure +1 -0
@@ -3329,6 +3329,7 @@ __uint128_t b; int main (void) { a = a + b; b = a * b; + a = a * a; return 0; } EOF
Signature · 1 line
1.7.9.5
Quoted 5 lines · Peter Maydell
clang 3.8 with -fsanitize=undefined will fail to link code containing an
int128_t*int128_tmultiply (http://llvm.org/bugs/show_bug.cgi?id=16404)
so add this to our configure test for whether [u]int128_t are usable.Signed-off-by Peter Maydell <[email protected]>
r~
Quoted 3 lines · Peter Maydell
clang 3.8 with -fsanitize=undefined will fail to link code containing an
int128_t*int128_tmultiply (http://llvm.org/bugs/show_bug.cgi?id=16404)
so add this to our configure test for whether [u]int128_t are usable.
I meant "clang 3.3" here -- can this be fixed when the patch is committed to -trivial or do you want a respin?
thanks
-- PMM
Michael Tokarev
AppliedQuoted 3 lines · Peter Maydell
clang 3.8 with -fsanitize=undefined will fail to link code containing an
int128_t*int128_tmultiply (http://llvm.org/bugs/show_bug.cgi?id=16404)
so add this to our configure test for whether [u]int128_t are usable.
I accept it as granted (with the fixup s/3.8/3.3/), I didn't try to verify whenever it's actually true for clang.
Applied to the trivial patches queue (with the fixup), thanks!
/mjt