This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld-gold, i386 without PIC and "/usr/bin/ld: -f may not be used without -shared"


On Wed, Jul 06, 2016 at 11:52:06AM -0400, Jeffrey Walton wrote:
> g++ -o cryptest.exe -DNDEBUG -g2 -O2 -march=native -pipe bench1.o
> bench2.o test.o validat1.o validat2.o validat3.o adhoc.o datatest.o
> regtest.o fipsalgt.o dlltest.o ./libcryptopp.a -pthread
> -Wl,-fuse-ld=gold
> /usr/bin/ld: -f may not be used without -shared

You're attempting to pass a gcc option to ld.

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]