This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc-4.2.3 build problem: ASM_APP_ON undeclared
- From: Danny Backx <danny dot backx at scarlet dot be>
- To: bug-gcc at gnu dot org
- Date: Mon, 10 Mar 2008 21:09:40 +0100
- Subject: gcc-4.2.3 build problem: ASM_APP_ON undeclared
- Reply-to: danny dot backx at scarlet dot be
I must be doing something wrong, I cannot seem to compile the new
4.2.3 :
gmake[3]: Entering directory `/home/danny/src/gcc/x86-bootstrap/gcc'
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I.
-I../../gcc-4.2.3/gcc -I../../gcc-4.2.3/gcc/.
-I../../gcc-4.2.3/gcc/../include -I../../gcc-4.2.3/gcc/../libcpp/include
-I../../gcc-4.2.3/gcc/../libdecnumber
-I../libdecnumber ../../gcc-4.2.3/gcc/final.c -o final.o
../../gcc-4.2.3/gcc/final.c: In function âapp_enableâ:
../../gcc-4.2.3/gcc/final.c:281: error: âASM_APP_ONâ undeclared (first
use in this function)
../../gcc-4.2.3/gcc/final.c:281: error: (Each undeclared identifier is
reported only once
../../gcc-4.2.3/gcc/final.c:281: error: for each function it appears
in.)
../../gcc-4.2.3/gcc/final.c: In function âapp_disableâ:
../../gcc-4.2.3/gcc/final.c:294: error: âASM_APP_OFFâ undeclared (first
use in this function)
../../gcc-4.2.3/gcc/final.c: In function âprofile_functionâ:
../../gcc-4.2.3/gcc/final.c:1465: warning: implicit declaration of
function âASM_OUTPUT_ALIGNâ
../../gcc-4.2.3/gcc/final.c: In function âfinal_scan_insnâ:
../../gcc-4.2.3/gcc/final.c:1894: error: âASM_APP_OFFâ undeclared (first
use in this function)
../../gcc-4.2.3/gcc/final.c:2074: error: âASM_APP_ONâ undeclared (first
use in this function)
../../gcc-4.2.3/gcc/final.c: In function âoutput_asm_labelâ:
../../gcc-4.2.3/gcc/final.c:3147: warning: implicit declaration of
function âASM_GENERATE_INTERNAL_LABELâ
gmake[3]: *** [final.o] Error 1
gmake[3]: Leaving directory `/home/danny/src/gcc/x86-bootstrap/gcc'
gmake[2]: *** [all-stage1-gcc] Error 2
gmake[2]: Leaving directory `/home/danny/src/gcc/x86-bootstrap'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/home/danny/src/gcc/x86-bootstrap'
gmake: *** [all] Error 2
This is with a very simple configure line :
../gcc-4.2.3/configure --enable-languages=c
on a vanilla Mandriva 2007.0 x86 PC.
Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info