Created attachment 35176 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]$
Created attachment 35176
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]$