Summary: | can not compile libperl-5.8.8-r1 or perl-5.8.8-r2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Justus Ranvier <gentoo> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | gcc output |
Description
Justus Ranvier
2007-11-09 00:37:47 UTC
I think your glibc/gcc might be broken. emerge gcc glibc then try perl again. (In reply to comment #1) > I think your glibc/gcc might be broken. > emerge gcc glibc > then try perl again. > I've ran "emerge -e world" several times now, I've been able to fix everything else except these two packages. This is a fresh stage 3 install, with a handfull of extra packages. I guess I could try bootstrapping... the output you posted doesnt tell me *which* test in perl is failing you should take that try.c and compile/link it by hand and use these options: -Wl,-M -Wl,--verbose then see where this "gdtdomainname" is coming from ... i suspect it should actually be "getdomainname" also, post the output of doing: readelf -W -s /lib64/libnsl.so* | grep domain readelf -W -s /lib64/libc.so* | grep domain First the easy parts: readelf -W -s /lib64/libnsl.so* | grep domain 21: 0000000000000000 5 OBJECT GLOBAL DEFAULT UND _libc_intl_domainname@GLIBC_2.2.5 (4) 63: 0000000000000000 121 FUNC GLOBAL DEFAULT UND getdomainname@GLIBC_2.2.5 (4) 149: 000000000000cfb0 151 FUNC GLOBAL DEFAULT 12 nis_domain_of_r@@GLIBC_2.2.5 159: 0000000000004770 10 FUNC GLOBAL DEFAULT 12 xdr_domainname@@GLIBC_2.2.5 192: 0000000000005f50 171 FUNC GLOBAL DEFAULT 12 yp_get_default_domain@@GLIBC_2.2.5 222: 000000000000cf90 17 FUNC GLOBAL DEFAULT 12 nis_domain_of@@GLIBC_2.2.5 readelf -W -s /lib64/libc.so* | grep domain 19: 00000000000d2f80 23 FUNC GLOBAL DEFAULT 11 __getdomainname_chk@@GLIBC_2.4 372: 00000000000b9fb0 121 FUNC GLOBAL DEFAULT 11 getdomainname@@GLIBC_2.2.5 464: 0000000000106f82 5 OBJECT GLOBAL DEFAULT 14 _libc_intl_domainname@@GLIBC_2.2.5 526: 000000000002a7b0 27 FUNC WEAK DEFAULT 11 bind_textdomain_codeset@@GLIBC_2.2.5 1528: 000000000002d690 307 FUNC WEAK DEFAULT 11 textdomain@@GLIBC_2.2.5 1612: 000000000033db28 8 OBJECT GLOBAL DEFAULT 33 _nl_domain_bindings@@GLIBC_2.2.5 1894: 000000000002a7d0 27 FUNC WEAK DEFAULT 11 bindtextdomain@@GLIBC_2.2.5 1989: 00000000000ba030 37 FUNC GLOBAL DEFAULT 11 setdomainname@@GLIBC_2.2.5 I took the command line from the error message and added the options you specified: x86_64-pc-linux-gnu-gcc -o try -O2 -pipe -fno-strict-aliasing -pipe -Wdeclaration-after-statement -L/usr/local/lib64 try.c -lpthread -lnsl -ldb -ldl -lm -lcrypt -lutil -lc -Wl,-M -Wl,--verbose The resulting text is very long, so I'll upload it as an attachment. Created attachment 135580 [details]
gcc output
unfortunately, that shows that it worked did you get an error when running the command by hand ? (In reply to comment #8) > unfortunately, that shows that it worked > > did you get an error when running the command by hand ? > I found the problem: I have bad ram. Switching to a custom memmap that skips over the bad areas seems to have fixed the problem. Also I deleted the ccache directory, since everything in it was suspect. sounds good *** This bug has been marked as a duplicate of bug 20600 *** |