Launchpad has imported 3 comments from the remote bug at
http://llvm.org/bugs/show_bug.cgi?id=20871.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2014-09-06T21:52:13+00:00 Tor Klingberg wrote:

Created attachment 13004
The C source file that triggers the bug

When I try to compile a certain short C-file with clang for a 32-bit i386 
target with optimization, I get this linker error:
/tmp/addup-b0948d.o:/home/tor/c/addup.c:function addup: error: undefined 
reference to '__multi3'

As I understand it, __multi3 is a 128-bit function, and not available on
32-bit i386. The C source does not use and 128-bit types, only 64-bit.

With the versions of clang-3.4 and 3.5 in the Ubuntu repositories, clang
segfaults instead. Reported here:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-
snapshot/+bug/1365701

Reply at: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-
snapshot/+bug/1365701/comments/7

------------------------------------------------------------------------
On 2014-09-06T21:53:29+00:00 Tor Klingberg wrote:

Created attachment 13005
Preprocessed source

Reply at: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-
snapshot/+bug/1365701/comments/8

------------------------------------------------------------------------
On 2014-09-06T21:53:59+00:00 Tor Klingberg wrote:

Created attachment 13006
Run script

Reply at: https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-
snapshot/+bug/1365701/comments/9


** Changed in: llvm
       Status: Unknown => Confirmed

** Changed in: llvm
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1365701

Title:
  clang crashed with SIGSEGV, reproducible with c file

To manage notifications about this bug go to:
https://bugs.launchpad.net/llvm/+bug/1365701/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to