https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244169
Bug ID: 244169
Summary: [clang] __builtin_mul_overflow() with 64-bit values
requires __muloti4 which is missing on 32-bit
architectures
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
$ cc a.c
/tmp/a-667572.o: In function `main':
a.c:(.text+0x50): undefined reference to `__muloti4'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
$ cat a.c
#include <stdint.h>
int main(void)
{
uint64_t i;
__builtin_mul_overflow(1, 10, &i);
return 0;
}
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
To unsubscribe, send any mail to "[email protected]"