i386-rtems does not build on head

Joel Sherrill joel.sherrill@oarcorp.com
Fri Feb 3 15:45:00 GMT 2006


>>>The problem is with using stdint.h integer types without checking if
>>>they are actually
>>>available.  I have posted a fix for this already that needs to be
>>>reviewed.  Along with
>>>some other fixes for similar target OS dependent bugs.  Patch is here:
>>>http://gcc.gnu.org/ml/gcc-patches/2006-02/msg00032.html
>>>(and this is PR26050).
>>>      
>>>

After running autoconf, it fails a bit differently. Output below my 
signature.

But something doesn't seem right.  *-rtems* and other newlib targets 
have a stdint.h. 
Shouldn't libgcc-math be including the newlib cflags and possibly 
$(LIBGCC2_INCLUDES) when built?  I included LIBGCC2_INCLUDES because 
that is where gcc/config/t-rtems adds
the rtems specific newlib include directory.

--joel

In file included from 
../../../../gcc/libgcc-math/i386/../flt-32/e_acosf.c:21:
../../../../gcc/libgcc-math/i386/../include/math_private.h:58: error: 
expected specifier-qualifier-list before 'uint32_t'
../../../../gcc/libgcc-math/i386/../include/math_private.h:129: error: 
expected specifier-qualifier-list before 'uint32_t'
../../../../gcc/libgcc-math/i386/../include/math_private.h:182: error: 
expected '=', ',', ';', 'asm' or '__attribute__' before '__ieee754_rem_pio2'
../../../../gcc/libgcc-math/i386/../include/math_private.h:190: warning: 
type defaults to 'int' in declaration of 'int32_t'
../../../../gcc/libgcc-math/i386/../include/math_private.h:190: error: 
expected ';', ',' or ')' before '*' token
../../../../gcc/libgcc-math/i386/../include/math_private.h:225: error: 
expected '=', ',', ';', 'asm' or '__attribute__' before 
'__ieee754_rem_pio2f'
../../../../gcc/libgcc-math/i386/../include/math_private.h:233: warning: 
type defaults to 'int' in declaration of 'int32_t'
../../../../gcc/libgcc-math/i386/../include/math_private.h:233: error: 
expected ';', ',' or ')' before '*' token
../../../../gcc/libgcc-math/i386/../flt-32/e_acosf.c: In function 
'__libm_sse2_acosf':
../../../../gcc/libgcc-math/i386/../flt-32/e_acosf.c:51: error: 
'int32_t' undeclared (first use in this function)
../../../../gcc/libgcc-math/i386/../flt-32/e_acosf.c:51: error: (Each 
undeclared identifier is reported only once
../../../../gcc/libgcc-math/i386/../flt-32/e_acosf.c:51: error: for each 
function it appears in.)
../../../../gcc/libgcc-math/i386/../flt-32/e_acosf.c:51: error: expected 
';' before 'hx'
../../../../gcc/libgcc-math/i386/../flt-32/e_acosf.c:52: error: 'hx' 
undeclared (first use in this function)
../../../../gcc/libgcc-math/i386/../flt-32/e_acosf.c:52: error: 
'ieee_float_shape_type' has no member named 'word'
../../../../gcc/libgcc-math/i386/../flt-32/e_acosf.c:53: error: 'ix' 
undeclared (first use in this function)
../../../../gcc/libgcc-math/i386/../flt-32/e_acosf.c:76: error: expected 
';' before 'idf'
../../../../gcc/libgcc-math/i386/../flt-32/e_acosf.c:80: error: 'idf' 
undeclared (first use in this function)
../../../../gcc/libgcc-math/i386/../flt-32/e_acosf.c:80: error: 
'ieee_float_shape_type' has no member named 'word'
../../../../gcc/libgcc-math/i386/../flt-32/e_acosf.c:81: error: 
'ieee_float_shape_type' has no member named 'word'
../../../../gcc/libgcc-math/i386/../flt-32/e_acosf.c:89: warning: 
control reaches end of non-void function
make[3]: *** [libsse2_la-e_acosf.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-target-libgcc-math] Error 2
make: *** [all] Error 2





More information about the Gcc mailing list