Hi,

I'm getting build fails with Fedora's GCC and libtool from F22. E.g.:

/usr/bin/ld: interface.o: relocation R_X86_64_PC32 against undefined symbol `interface_cmd' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status

I think the answer to this might be to rip out some of the "have Quagga auto* build PIE" patch, and just pass -fpie to CFLAGS - as more recent libtool apparently should know to pass -fPIE and -fPIC according to whether it is building shared objects or exes.

Anyone recognise this, or have an opinion?

regards,
--
Paul Jakma      [email protected]  @pjakma Key ID: 64A2FF6A
Fortune:
Five is a sufficiently close approximation to infinity.
                -- Robert Firth

"One, two, five."
                -- Monty Python and the Holy Grail

_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to