Date: Sun, 1 Aug 2010 23:21:27 +0800 From: =?GB2312?B?1dS9qL+t?= <zhaojiankai2558016@gmail.com> To: freebsd-questions@freebsd.org Subject: help for "elf_load_section: truncated ELF file" Message-ID: <AANLkTinGD-Cyk7GTROvs_JMHKO1TwWc_3HZNeyiZUOes@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Deal All: When I am compiling the kernel of FreeBSD-8.1RC2, I meet a problem. In detail: >>> stage 2.3: build tools -------------------------------------------------------------- cd /usr/obj/usr/src/sys/MYKERNEL; MAKESRCPATH=/usr/src/sys/dev/aic7xxx/aicasm make SSP_CFLAGS= -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/aicasm -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinGD-Cyk7GTROvs_JMHKO1TwWc_3HZNeyiZUOes>