Date: Tue, 03 Aug 2010 14:54:33 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: =?gb2312?B?1dS9qL+t?= <zhaojiankai2558016@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: help for "elf_load_section: truncated ELF file" Message-ID: <444ofbmsra.fsf@be-well.ilk.org> In-Reply-To: <AANLkTinGD-Cyk7GTROvs_JMHKO1TwWc_3HZNeyiZUOes@mail.gmail.com> (" =?gb2312?B?1dS9qL%2BtIidz?= message of "Sun, 1 Aug 2010 23:21:27 %2B0800") References: <AANLkTinGD-Cyk7GTROvs_JMHKO1TwWc_3HZNeyiZUOes@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
=D5=D4=BD=A8=BF=AD <zhaojiankai2558016@gmail.com> 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 <URL:http://gcc.gnu.org/bugs.html <http://gcc.gnu.org/bugs.html>> 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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?444ofbmsra.fsf>