Can you use PIC for shared library?
H. J. Lu
hjl@lucon.org
Tue Oct 19 01:08:00 GMT 2004
More information about the Binutils mailing list
Tue Oct 19 01:08:00 GMT 2004
- Previous message (by thread): PATCH: PR 459: Shared library member is rejected for non-static link
- Next message (by thread): Can you use PIC for shared library?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I got Running /net/gnu/export/linux/src/binutils/binutils/ld/testsuite/ld-elf/exclude.exp ... /export/build/linux/binutils-debug/build-x86_64-linux/ld/../gas/as-new -o tmpdir/exclude1.o /net/gnu/export/linux/src/binutils/binutils/ld/testsuite/ld-elf/exclude1.s /export/build/linux/binutils-debug/build-x86_64-linux/ld/../gas/as-new -o tmpdir/exclude2.o /net/gnu/export/linux/src/binutils/binutils/ld/testsuite/ld-elf/exclude2.s /export/build/linux/binutils-debug/build-x86_64-linux/ld/ld-new -o tmpdir/exclude.so --shared tmpdir/exclude1.o -Ltmpdir -lexclude /export/build/linux/binutils-debug/build-x86_64-linux/ld/ld-new: tmpdir/exclude1.o: relocation R_X86_64_PC32 against `exclude_sym' can not be used when making a shared object; recompile with -fPIC /export/build/linux/binutils-debug/build-x86_64-linux/ld/ld-new: final link failed: Bad value FAIL: ld link shared library H.J.
- Previous message (by thread): PATCH: PR 459: Shared library member is rejected for non-static link
- Next message (by thread): Can you use PIC for shared library?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list