[arch-general] x86_64/parrot. libreadline.a and -fPIC problem
Hi, I need help to build parrot for x86_64. /usr/bin/ld: /usr/lib/libreadline.a(readline.o): relocation R_X86_64_32 against `rl_get_previous_history' can not be used when making a shared object; recompile with -fPIC /usr/lib/libreadline.a: could not read symbols: Bad value Does it ask to recompile readline.o with -fPIC?
On Wed, 2009-07-22 at 14:28 +0400, Sergej Pupykin wrote:
Hi,
I need help to build parrot for x86_64.
/usr/bin/ld: /usr/lib/libreadline.a(readline.o): relocation R_X86_64_32 against `rl_get_previous_history' can not be used when making a shared object; recompile with -fPIC /usr/lib/libreadline.a: could not read symbols: Bad value
Does it ask to recompile readline.o with -fPIC?
First of all, compiling static is stupid, but anyways, this is a bug in the readline package. The static lib should be compiled with -fPIC on x86_64. File a bug.
At Wed, 22 Jul 2009 12:33:37 +0200, Jan de Groot wrote:
On Wed, 2009-07-22 at 14:28 +0400, Sergej Pupykin wrote:
Hi,
I need help to build parrot for x86_64.
/usr/bin/ld: /usr/lib/libreadline.a(readline.o): relocation R_X86_64_32 against `rl_get_previous_history' can not be used when making a shared object; recompile with -fPIC /usr/lib/libreadline.a: could not read symbols: Bad value
Does it ask to recompile readline.o with -fPIC?
First of all, compiling static is stupid, but anyways, this is a bug in the readline package. The static lib should be compiled with -fPIC on x86_64. File a bug.
http://bugs.archlinux.org/task/15634 I don't know why parrot try to build .so statically linked with libreadline.a...
participants (2)
-
Jan de Groot
-
Sergej Pupykin