[llvm-bugs] [Bug 17693] multiplying long long with fsanitize=integer fails with undefined reference to __mulodi4

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 18 09:42:27 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=17693

Christian Holler (:decoder) <choller at mozilla.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |---
             Status|RESOLVED                    |REOPENED
                 CC|                            |choller at mozilla.com

--- Comment #4 from Christian Holler (:decoder) <choller at mozilla.com> ---
I can perfectly reproduce this on Clang 5 with the testcase from the original
comment on x86:

$ clang-5.0 -fsanitize=integer -o tst tst.c 
/tmp/tst-601e90.o: In function `main':
tst.c:(.text+0x83): undefined reference to `__mulodi4'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

$ clang-5.0 --version
clang version 5.0.0-svn303223-1~exp1 (trunk)

This prevents Firefox from being built with UBSan on 32-bit.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170518/581dcc4f/attachment.html>


More information about the llvm-bugs mailing list