View previous topic :: View next topic |
Author |
Message |
ytre n00b
Joined: 07 Oct 2005 Posts: 9
|
Posted: Tue Oct 11, 2005 6:42 am Post subject: failed nohup emerge --emptytree system > ./nohup... [solv |
|
|
I guess this problem is well known to anyone but me. The cure is?
make[3]: Leaving directory `/var/tmp/portage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2/elf'
gcc -nostdlib -nostartfiles -r -o /var/tmp/portage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2/buildhere/elf/librtld.os '-Wl,
-(' /var/tmp/portage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2/buildhere/elf/dl-allobjs.os /var/tmp/portage/glibc-2.3.3.20040
420-r2/work/glibc-2.3.2/buildhere/elf/rtld-libc.a -lgcc '-Wl,-)' \
-Wl,-Map,/var/tmp/portage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2/buildhere/elf/librtld.os.map
gcc -nostdlib -nostartfiles -shared \
-Wl,-z,combreloc -Wl,-z,relro -Wl,-z,defs -Wl,--verbose 2>&1 | \
LC_ALL=C \
sed -e '/^=========/,/^=========/!d;/^=========/d' \
-e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \
> /var/tmp/portage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2/buildhere/elf/ld.so.lds
gcc -nostdlib -nostartfiles -shared -o /var/tmp/portage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2/buildhere/elf/ld.so
\
-Wl,-z,combreloc -Wl,-z,relro -Wl,-z,defs \
/var/tmp/portage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2/buildhere/elf/librtld.os -Wl,--version-script=/var/tmp/p
ortage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2/buildhere/ld.map \
-Wl,-soname=ld-linux.so.2 -T /var/tmp/portage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2/buildhere/elf/ld.so.lds
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.5-20050130/../../../../sparc-unknown-linux-gnu/bin/ld: warning: creating a DT_T
EXTREL in object.
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.5-20050130/../../../../sparc-unknown-linux-gnu/bin/ld: BFD 2.15.92.0.2 20040927
assertion fail /var/tmp/portage/binutils-2.15.92.0.2-r10/work/binutils-2.15.92.0.2/bfd/elf32-sparc.c:2485
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.5-20050130/../../../../sparc-unknown-linux-gnu/bin/ld: /var/tmp/portage/glibc-2
.3.3.20040420-r2/work/glibc-2.3.2/buildhere/elf/librtld.os: probably compiled without -fPIC?
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.5-20050130/../../../../sparc-unknown-linux-gnu/bin/ld: final link failed: Bad v
alue
collect2: ld returned 1 exit status
make[2]: *** [/var/tmp/portage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2/buildhere/elf/ld.so] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2'
make: *** [all] Error 2
!!! ERROR: sys-libs/glibc-2.3.3.20040420-r2 failed.
!!! Function src_compile, Line 586, Exitcode 2
!!! (no error message)
--- make.conf
CFLAGS="-Os -mcpu=ultrasparc"
CHOST="sparc-unknown-linux-gnu"
CXXFLAGS="-Os -mcpu=ultrasparc"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="-X -acpi apache2 -apm bash-completion bzip2 caps crypt cups ftp hardened hardenedphp imap lm_sensors maildir mbox memlimit mmap ncurses nis nls pam perl php posix readline samba sharedmem session sockets ssl sysvipc tcpd unicode vhosts zlib pic"
---
Fails also without pic in USE. I am not sure what causes it but i suspect one of hardened/caps etc USE flag. If you find the exact reason why it fails in this step, then please update sparc handbook near the USE flags setting or branch to some other relevant documentation. (and let me know)
Last edited by ytre on Wed Oct 12, 2005 7:21 am; edited 2 times in total |
|
Back to top |
|
|
fangorn Veteran
Joined: 31 Jul 2004 Posts: 1886
|
Posted: Tue Oct 11, 2005 7:48 am Post subject: |
|
|
Quote: |
/usr/lib/gcc-lib/sparc-unknown-linux-gnu/3.3.5-20050130/../../../../sparc-unknown-linux-gnu/bin/ld: /var/tmp/portage/glibc-2.3.3.20040420-r2/work/glibc-2.3.2/buildhere/elf/librtld.os: probably compiled without -fPIC?
|
Quote: |
USE="-X -acpi apache2 -apm bash-completion bzip2 caps crypt cups ftp hardened hardenedphp imap lm_sensors maildir mbox memlimit mmap ncurses nis nls pam perl php posix readline samba sharedmem session sockets ssl sysvipc tcpd unicode vhosts zlib pic"
|
Don't know the USE flag pic, but to me this seems to be connected.
What do you wanna accomplish with the USE flag "pic"? Is it necessary or could you remove it and try again? |
|
Back to top |
|
|
ytre n00b
Joined: 07 Oct 2005 Posts: 9
|
Posted: Tue Oct 11, 2005 11:58 am Post subject: |
|
|
fangorn wrote: | What do you wanna accomplish with the USE flag "pic"? Is it necessary or could you remove it and try again? |
With the pic flag it happened in 2005.0 profile. Earlier in 2005.1 profile it had same error without pic flag.
Now retrying in 2005.0 with more conservative settings:
USE="-X -acpi apache2 -apm bash-completion bzip2 crypt cups ftp imap lm_sensors maildir mmap ncurses nis perl php posix readline samba sharedmem session sockets ssl sysvipc tcpd unicode vhosts zlib"
have looked at hardened howto or was it faq. says something about different stage1. probably that's the cause. |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Tue Oct 11, 2005 5:58 pm Post subject: |
|
|
Hardened isn't currently working for SPARC. _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|