bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/25873] ar segfaults when liblto_plugin.so.0.0.0 is a symli


From: tstellar at redhat dot com
Subject: [Bug binutils/25873] ar segfaults when liblto_plugin.so.0.0.0 is a symlink in /usr/lib/bfd-plugins
Date: Sat, 25 Apr 2020 01:33:49 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25873

--- Comment #1 from Tom Stellard <tstellar at redhat dot com> ---
It also seems like the LLVMgold.so plugin does not have the same problem.  This
similar sequence works with this plugin:

echo "int foo(){}" | clang -flto -O2 -c -x c -o foo.o -
echo "int bar(){}" | clang -flto -O2 -c -x c -o bar.o -
ln -s /usr/lib64/LLVMgold.so /usr/lib/bfd-plugins/
ar crs foo.a foo.o bar.o

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]