From owner-freebsd-questions@FreeBSD.ORG Sat May 15 21:24:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D613C106566C for ; Sat, 15 May 2010 21:24:57 +0000 (UTC) (envelope-from dimitar.vassilev@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id 679B58FC13 for ; Sat, 15 May 2010 21:24:57 +0000 (UTC) Received: by ewy24 with SMTP id 24so973378ewy.13 for ; Sat, 15 May 2010 14:24:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=+t049HGfNPLi9RURo4LON4gxygo/NKlxiDJERWbRSd0=; b=XjH2UKv/2YJBtPLizuVSIOevlQNvWODMR4ofxhyhj/V30WkvZBjN0jJUr7VQbpYX6x BlbztbVb/se6V/iFRno4ukfAGHDsmE+tuRfwyzFjDhHsk2m62kv54dK8avSU1PzvlZI4 iCZxB5O1Jpm3liY8NVPueVoAB6NafUpjYF4IY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=xoJ5+QW7qibeQFM+IX0YbDIQDwDPRYK3HBsDf54iipcyU8h1U5CdVO/7bnbm9wS5sd 0R4fXfakG14q96URTbubw3xer/MnEZSN4q06xpCawPbqXxUEHj5rv4Kc9zElIFVA7LPV goK7Z/bUwRgDoJ/06G6FO4tQVzeENJsVnLPgk= MIME-Version: 1.0 Received: by 10.213.91.76 with SMTP id l12mr1564139ebm.47.1273957253463; Sat, 15 May 2010 14:00:53 -0700 (PDT) Received: by 10.213.33.67 with HTTP; Sat, 15 May 2010 14:00:53 -0700 (PDT) In-Reply-To: <20100515172540.90957.qmail@joyce.lan> References: <20100515172540.90957.qmail@joyce.lan> Date: Sun, 16 May 2010 00:00:53 +0300 Message-ID: From: Dimitar Vassilev To: John Levine Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: 8-STABLE truncated elf file issues after buildworld X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 May 2010 21:24:57 -0000 2010/5/15 John Levine : >>/usr/src/tools/build/dummy.c >>elf_load_section: truncated ELF file > > Any chance that means the disk filled up? > > R's, > John > ldbone@netwarrior:~/> df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad0s3a 496M 430M 26M 94% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad0s3g 9.4G 1.5G 7.2G 17% /home /dev/ad0s3f 496M 22K 456M 0% /tmp /dev/ad0s3d 19G 6.5G 11G 38% /usr /dev/ad0s3e 3.9G 355M 3.2G 10% /var procfs 4.0K 4.0K 0B 100% /proc Disk is ok. I managed to sort it out by using http://www.freebsd.org/doc/en/articles/custom-gcc/article.html and a fresh clean src pull. Switched to ports version, moved the old /usr/bin/as, made a symlink from /usr/local/bin/as to /usr/bin/ and made a copy of original /usr/local/bin/as before starting the build. After installing the install -C yanked the symlink and installed the new as binary. Testing compiling sudo - works fine without errors. Thanks for attention and have a nice week-end! Best, Dimitar