Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2007 12:35:23 -0700
From:      Maxim Sobolev <sobomax@sippysoft.com>
To:        "current@freebsd.org" <current@FreeBSD.org>
Subject:   installworld breaks my FreeBSD/powerpc system!!!
Message-ID:  <46A7A5FB.90203@sippysoft.com>

next in thread | raw e-mail | index | archive | help
It seems that installworld from yesterday sources severely corrupted my 
7-CURRENT FreeBSD/ppc installation. :(

I believe this is caused by the recent libc changes that go together 
with dynamic linker changes, but since dynamic linker is installed 
*after* libc in installworld process, one who does source upgrade ends 
up with broken system containing old dynamic linker, while new libc 
after installworld explodes! :(((

To add insult to injury, the su is not present in /rescue and sudo is 
dynamically linked as well, so that the only way to recover is to go to 
the console and boot into single user....

-Maxim

--------------------------------------------------------------
 >>> Installing everything
--------------------------------------------------------------
cd /usr/src; /usr/obj/usr/src/make.powerpc/make -f Makefile.inc1 install
===> share/info (install)
===> lib (install)
===> lib/csu/powerpc (install)
install -o root -g wheel -m 444  crt1.o crti.o crtn.o gcrt1.o /usr/lib
===> lib/libc (install)
install -C -o root -g wheel -m 444   libc.a /usr/lib
install -C -o root -g wheel -m 444   libc_p.a /usr/lib
install -s -o root -g wheel -m 444   -fschg -S  libc.so.7 /lib
BFD: /lib/stpHZVgV: warning: allocated section `.hash' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.dynsym' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.dynstr' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.gnu.version' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.gnu.version_d' not in 
segment
BFD: /lib/stpHZVgV: warning: allocated section `.rela.dyn' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.rela.plt' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.init' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.text' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.fini' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.rodata' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.data' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.tbss' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.eh_frame' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.dynamic' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.ctors' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.dtors' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.jcr' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.got' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.sdata2' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.sdata' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.sbss' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.plt' not in segment
BFD: /lib/stpHZVgV: warning: allocated section `.bss' not in segment
ln -fs /lib/libc.so.7  /usr/lib/libc.so
/libexec/ld-elf.so.1: /lib/libc.so.7: object is not dynamically-linked
*** Error code 1

Stop in /usr/src/lib/libc.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
[sobomax@sobomac /usr/src]$ ls -l /lib/libc.so.7
/libexec/ld-elf.so.1: /lib/libc.so.7: object is not dynamically-linked
[sobomax@sobomac /usr/src]$ uname -a
/libexec/ld-elf.so.1: /lib/libc.so.7: object is not dynamically-linked



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46A7A5FB.90203>