https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65612

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 35176
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35176&action=edit
A testcase with DSO

[hjl@gnu-tools-1 pr65612]$ make
g++ -O2    -c -o main.o main.cc
g++ -shared -fPIC -O2  -o libmv20.so mv20.cc
g++ -O2  -o x main.o libmv20.so -Wl,-R,.
./x
Makefile:8: recipe for target 'all' failed
make: *** [all] Segmentation fault (core dumped)
[hjl@gnu-tools-1 pr65612]$

Reply via email to