From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 10 18:10:34 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 413E5106566C; Thu, 10 Apr 2008 18:10:34 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail.speedfactory.net [66.23.216.219]) by mx1.freebsd.org (Postfix) with ESMTP id 9A6C18FC1B; Thu, 10 Apr 2008 18:10:33 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.8s) with ESMTP id 238632088-1834499 for multiple; Thu, 10 Apr 2008 14:09:24 -0400 Received: from localhost.corp.yahoo.com (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m3AIA3rQ084212; Thu, 10 Apr 2008 14:10:22 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-amd64@freebsd.org Date: Thu, 10 Apr 2008 13:51:48 -0400 User-Agent: KMail/1.9.7 References: <200804101336.m3ADaGn5000910@www.freebsd.org> In-Reply-To: <200804101336.m3ADaGn5000910@www.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804101351.49166.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 10 Apr 2008 14:10:22 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/6697/Thu Apr 10 11:05:46 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Fernan Aguero , freebsd-gnats-submit@freebsd.org Subject: Re: amd64/122624: unusable mininal installation of FreeBSD-7.0 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2008 18:10:34 -0000 On Thursday 10 April 2008 09:36:16 am Fernan Aguero wrote: > > >Number: 122624 > >Category: amd64 > >Synopsis: unusable mininal installation of FreeBSD-7.0 > >Confidential: no > >Severity: critical > >Priority: high > >Responsible: freebsd-amd64 > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Thu Apr 10 13:40:00 UTC 2008 > >Closed-Date: > >Last-Modified: > >Originator: Fernan Aguero > >Release: 7.0-RELEASE > >Organization: > UNSAM > >Environment: > >Description: > I've installed a fresh copy of FreeBSD-7.0-RELEASE (amd64) using the Disc1 ISO. > > I did an expert installation, and selected 'Minimal' in the selection of packages/distributions, because I already have a setup in the lab with a build host having a CVS mirror of FreeBSD (a setup pretty similar to that described in development(7)). > > Because of the minimal setup, /usr/src is empty. > > This in turn produces the following errors upong boot: > ld-elf.so.1: assert failed: /usr/src/libexec/rtld-elf/amd64/reloc.c:341 > Abort trap (core dumped) > > This has the consequence that many executable files are missing. The most important of which is 'make' which prevents us from doing anything (installing ports, etc): > /usr/bin/make: Exec format error. Binary file not executable > > This is solved if I edit /etc/fstab and mount a checkout of FreeBSD-7.0 sources in /usr/src. But this is not a good solution. A minimal installation from CD should produce a working installation! ld-elf.so.1 doesn't use anything from /usr/src. The specific assert that is failing is this: assert(ELF_R_TYPE(rela->r_info) == R_X86_64_JMP_SLOT); in reloc_plt() in src/libexec/rtld-elf/amd64/reloc.c. I wonder if you somehow have 32-bit binaries instead of 64-bit? -- John Baldwin