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

George Rimar <gri...@accesssoftek.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gri...@accesssoftek.com
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #6 from George Rimar <gri...@accesssoftek.com> ---
I installed ubuntu 14.04 VM to check this. And used precompiled "Clang for
x86_64 Ubuntu 14.04" package from http://releases.llvm.org/download.html#4.0.0
page.

Issue reporduced from me with LLD from package:
(I have to add -lm to invocation because had undefined symbol 'pow' error)

umb@ubuntu:~/temp/test/original$
./clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-14.04/bin/ld.lld -v
LLD 4.0.0
umb@ubuntu:~/temp/test/original$
./clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-14.04/bin/clang-4.0 test.cpp -o test
-std=c++1z -stdlib=libc++ -fuse-ld=lld -static -lc++ -lc++abi -lpthread -lm
umb@ubuntu:~/temp/test/original$ ./test
Segmentation fault (core dumped)

Then I built LLD head and replaced old LLD with it:

umb@ubuntu:~/temp/test$
./clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-14.04/bin/ld.lld -v
LLD 5.0.0 (trunk 307837) (compatible with GNU linkers)
umb@ubuntu:~/temp/test$
./clang+llvm-4.0.0-x86_64-linux-gnu-ubuntu-14.04/bin/clang-4.0 test.cpp -o test
-std=c++1z -stdlib=libc++ -fuse-ld=lld -static -lc++ -lc++abi -lpthread -lm
umb@ubuntu:~/temp/test$ ./test
1umb@ubuntu:~/temp/test$ 

As can be seen HEAD LLD works fine here, issue is fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to