From owner-freebsd-questions@FreeBSD.ORG Tue Aug 3 18:54:37 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 3903D1065678 for ; Tue, 3 Aug 2010 18:54:37 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.53]) by mx1.freebsd.org (Postfix) with ESMTP id 118BE8FC16 for ; Tue, 3 Aug 2010 18:54:36 +0000 (UTC) Received: (qmail 12765 invoked from network); 3 Aug 2010 18:54:36 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 3 Aug 2010 18:54:36 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 5BF445082C; Tue, 3 Aug 2010 14:54:35 -0400 (EDT) From: Lowell Gilbert To: =?gb2312?B?1dS9qL+t?= References: Date: Tue, 03 Aug 2010 14:54:33 -0400 In-Reply-To: (" =?gb2312?B?1dS9qL+tIidz?= message of "Sun, 1 Aug 2010 23:21:27 +0800") Message-ID: <444ofbmsra.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: help for "elf_load_section: truncated ELF file" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 18:54:37 -0000 =D5=D4=BD=A8=BF=AD writes: > Deal All: > When I am compiling the kernel of FreeBSD-8.1RC2, I meet a proble= m. > In detail: >>>> stage 2.3: build tools > -------------------------------------------------------------- > cd /usr/obj/usr/src/sys/MYKERNEL; > MAKESRCPATH=3D/usr/src/sys/dev/aic7xxx/aicasm make SSP_CFLAGS=3D > -DNO_CPU_CFLAGS -DNO_CTF -f /usr/src/sys/dev/aic7xxx/aicasm/Makefile > Warning: Object directory not changed from original > /usr/obj/usr/src/sys/MYKERNEL > yacc -b aicasm_gram -d -o aicasm_gram.c > /usr/src/sys/dev/aic7xxx/aicasm/aicasm_gram.y > yacc -b aicasm_macro_gram -p mm -d -o aicasm_macro_gram.c > /usr/src/sys/dev/aic7xxx/aicasm/aicasm_macro_gram.y > cc -O2 -pipe -nostdinc -I/usr/include -I. -I/usr/src/sys/dev/aic7xxx/aica= sm > -std=3Dgnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshad= ow > -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-exter= ns > -Wredundant-decls -Wno-pointer-sign -c > /usr/src/sys/dev/aic7xxx/aicasm/aicasm.c > elf_load_section: truncated ELF file > cc: Internal error: Abort trap: 6 (program cc1) > Please submit a full bug report. > See > for > instructions. > *** Error code 1 > Stop in /usr/obj/usr/src/sys/MYKERNEL. > *** Error code 1 > Stop in /usr/src. > *** Error code 1 > Stop in /usr/src. Have you done a buildworld first? Can you build GENERIC?