------- Comment #4 from 3b87w8mt2n at snkmail dot com  2010-01-06 21:27 -------
Er, sorry, that's the message from the wrong run.  Here's the right one:

$ gcc -fPIC -c -o test2.o test2.c && gcc -shared -o test2.so test2.o
/usr/bin/ld: test2.o: relocation R_X86_64_PC32 against protected symbol `f2'
can not be used when making a shared object
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37611

Reply via email to