From owner-freebsd-current@FreeBSD.ORG Wed Jul 25 20:08:01 2007 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B96C616A418 for ; Wed, 25 Jul 2007 20:08:01 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.freebsd.org (Postfix) with ESMTP id 7467813C442 for ; Wed, 25 Jul 2007 20:08:01 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.0.61] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.8/8.13.8) with ESMTP id l6PJaBMM064049 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 25 Jul 2007 12:36:12 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-ID: <46A7A620.5000604@FreeBSD.org> Date: Wed, 25 Jul 2007 12:36:00 -0700 From: Maxim Sobolev Organization: Sippy Software, Inc. User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: "current@freebsd.org" Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: installworld breaks my FreeBSD/powerpc system!!! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2007 20:08:01 -0000 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