Hello,

I experience problems when trying to emerge bash-3.0-r13 on amd64.

The compilation ends with :

make[1]: Leaving directory `/tmp/portage/bash-3.0-r13/work/bash-3.0/lib/tilde'
rm -f bash
x86_64-pc-linux-gnu-gcc -L./builtins -L./lib/readline -L./lib/readline 
-L./lib/glob -L./lib/tilde  -L./lib/sh  -rdynamic  -march=athlon64 -O2 -pipe 
-fforce-addr -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o  
dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o 
jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o 
pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o braces.o 
bracecomp.o bashhist.o bashline.o  list.o stringlib.o locale.o findcmd.o 
redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o -lbuiltins 
-lsh ./lib/readline/libreadline.a ./lib/readline/libhistory.a -Wl,-Bstatic 
-lncurses -Wl,-Bdynamic -lglob -ltilde    -ldl
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: 
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/libncurses.a(lib_termcap.o):
 
relocation R_X86_64_32S against `boolcodes' can not be used when making a 
shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../lib64/libncurses.a: could 
not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [bash] Error 1

!!! ERROR: app-shells/bash-3.0-r13 failed.
!!! Function src_compile, Line 123, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status 
message.

I use the profile default-linux/amd64/2005.1 and I started from a stage 3.

I understand that I must recompile something with the -fPIC option, but I 
don't know if it's bash or ncurses. And then, I think I shouldn't add -fPIC 
to my LDFLAGS or CFLAGS because it seems discouraged. Is it a bug in an 
ebuild ?

Here are information :
CFLAGS="-march=athlon64 -O2 -pipe -fforce-addr"
CHOST="x86_64-pc-linux-gnu"
USE="amd64 X acl alsa berkdb crypt hardened ipv6 jpeg kde nls nptl nptlonly 
pam pic png readline ssl tcpd tiff unicode userlocales xinerama zlib 
userland_GNU kernel_linux elibc_glibc"

I hope it was not to hard to understand my (bad) english.

Thanks.

Nicolas MASSE


-- 
[email protected] mailing list

Reply via email to