From owner-freebsd-amd64@FreeBSD.ORG Thu Apr 10 18:20:04 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1663B106564A for ; Thu, 10 Apr 2008 18:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 044D78FC1A for ; Thu, 10 Apr 2008 18:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3AIK3Qj011851 for ; Thu, 10 Apr 2008 18:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3AIK3Je011850; Thu, 10 Apr 2008 18:20:03 GMT (envelope-from gnats) Date: Thu, 10 Apr 2008 18:20:03 GMT Message-Id: <200804101820.m3AIK3Je011850@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: John Baldwin Cc: 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 Reply-To: John Baldwin 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:20:04 -0000 The following reply was made to PR amd64/122624; it has been noted by GNATS. From: John Baldwin To: freebsd-amd64@freebsd.org Cc: Fernan Aguero , freebsd-gnats-submit@freebsd.org Subject: Re: amd64/122624: unusable mininal installation of FreeBSD-7.0 Date: Thu, 10 Apr 2008 13:51:48 -0400 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