native Linux x86 compile failure

Joel Sherrill joel.sherrill@oarcorp.com
Fri Dec 21 15:44:00 GMT 2012


Hi

I was trying to start an RTEMS target test sweep and was building a native
compiler as the baseline to build the crosses with. The native compiler
configuration failures to build. This is on a Fedora 16 x86_64 machine
with this as the distribution compiler I am starting with. GCC reports:

gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2)

I configured gcc svn 194667 as

/users/joel/test-gcc/gcc-svn/configure --disable-werror 
--enable-languages=c,c++,ada,objc --prefix=/users/joel/test-gcc/install-svn

And the build ends with this:

g++ -c -g -DIN_GCC -fno-exceptions -fno-rtti 
-fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual 
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros 
-Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. 
-I/users/joel/test-gcc/gcc-svn/gcc -I/users/joel/test-gcc/gcc-svn/gcc/. 
-I/users/joel/test-gcc/gcc-svn/gcc/../include 
-I/users/joel/test-gcc/gcc-svn/gcc/../libcpp/include 
-I/users/joel/test-gcc/gcc-svn/gcc/../libdecnumber 
-I/users/joel/test-gcc/gcc-svn/gcc/../libdecnumber/bid -I../libdecnumber 
-I/users/joel/test-gcc/gcc-svn/gcc/../libbacktrace \
insn-recog.c -o insn-recog.o
/users/joel/test-gcc/gcc-svn/gcc/config/i386/i386.md: In function ‘const 
char* output_762(rtx_def**, rtx)Â’:
/users/joel/test-gcc/gcc-svn/gcc/config/i386/i386.md:12617:12: error: 
‘ASM_BYTE’ was not declared in this scope
/users/joel/test-gcc/gcc-svn/gcc/config/i386/i386.md:12620:10: error: 
‘ASM_SHORT’ was not declared in this scope
/users/joel/test-gcc/gcc-svn/gcc/config/i386/i386.md: In function ‘const 
char* output_763(rtx_def**, rtx)Â’:
/users/joel/test-gcc/gcc-svn/gcc/config/i386/i386.md:12617:12: error: 
‘ASM_BYTE’ was not declared in this scope
/users/joel/test-gcc/gcc-svn/gcc/config/i386/i386.md:12620:10: error: 
‘ASM_SHORT’ was not declared in this scope
/users/joel/test-gcc/gcc-svn/gcc/config/i386/i386.md: In function ‘const 
char* output_967(rtx_def**, rtx)Â’:
/users/joel/test-gcc/gcc-svn/gcc/config/i386/i386.md:17473:10: error: 
‘ASM_SHORT’ was not declared in this scope
/users/joel/test-gcc/gcc-svn/gcc/config/i386/i386.md:17473:20: error: 
expected ‘;’ before string constant
/users/joel/test-gcc/gcc-svn/gcc/config/i386/i386.md:17473:28: warning: 
statement has no effect [-Wunused-value]
/users/joel/test-gcc/gcc-svn/gcc/config/i386/i386.md:17474:1: warning: 
control reaches end of non-void function [-Wreturn-type]

Suggestions definitely appreciated. Not a good start. :(

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the Gcc mailing list