------- Comment #3 from rob1weld at aol dot com  2009-02-06 14:11 -------
I tossed in that patch and it cause gcc's build to fail here:

../../../gcc_trunk/libgcc/../gcc/config/soft-fp/floatditf.c:35: warning: no
previous prototype for '__floatditf'
/usr/share/src/gcc_build/./gcc/xgcc -B/usr/share/src/gcc_build/./gcc/
-B/usr/local/i386-pc-solaris2.11/bin/ -B/usr/local/i386-pc-solaris2.11/lib/
-isystem /usr/local/i386-pc-solaris2.11/include -isystem
/usr/local/i386-pc-solaris2.11/sys-include -g -O2 -O2  -g -O2 -DIN_GCC   -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../.././gcc
-I../../../gcc_trunk/libgcc -I../../../gcc_trunk/libgcc/.
-I../../../gcc_trunk/libgcc/../gcc -I../../../gcc_trunk/libgcc/../include
-I../../../gcc_trunk/libgcc/../libdecnumber/dpd
-I../../../gcc_trunk/libgcc/../libdecnumber -DHAVE_CC_TLS -o floatunditf.o -MT
floatunditf.o -MD -MP -MF floatunditf.dep -fexceptions -c
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/floatunditf.c
-fvisibility=hidden -DHIDE_EXPORTS
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/floatunditf.c:36: warning: no
previous prototype for '__floatunditf'
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/floatunditf.c: In function
'__floatunditf':
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/floatunditf.c:42: warning:
comparison of unsigned expression < 0 is always false
/usr/share/src/gcc_build/./gcc/xgcc -B/usr/share/src/gcc_build/./gcc/
-B/usr/local/i386-pc-solaris2.11/bin/ -B/usr/local/i386-pc-solaris2.11/lib/
-isystem /usr/local/i386-pc-solaris2.11/include -isystem
/usr/local/i386-pc-solaris2.11/sys-include -g -O2 -O2  -g -O2 -DIN_GCC   -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../.././gcc
-I../../../gcc_trunk/libgcc -I../../../gcc_trunk/libgcc/.
-I../../../gcc_trunk/libgcc/../gcc -I../../../gcc_trunk/libgcc/../include
-I../../../gcc_trunk/libgcc/../libdecnumber/dpd
-I../../../gcc_trunk/libgcc/../libdecnumber -DHAVE_CC_TLS -o fixtfti.o -MT
fixtfti.o -MD -MP -MF fixtfti.dep -fexceptions -c
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c -fvisibility=hidden
-DHIDE_EXPORTS
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c:34: error: expected
'=', ',', ';', 'asm' or '__attribute__' before '__fixtfti'
gmake[3]: *** [fixtfti.o] Error 1
gmake[3]: Leaving directory
`/usr/share/src/gcc_build/i386-pc-solaris2.11/libgcc'
gmake[2]: *** [all-stage1-target-libgcc] Error 2
gmake[2]: Leaving directory `/usr/share/src/gcc_build'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/usr/share/src/gcc_build'
gmake: *** [all] Error 2


I guess that it is missing an Include file or the included files
have generated portions that missed TMODES inclusions ...


When I add these lines to the top of fixtfti.c it complains about TI_BITS:

typedef int TItype __attribute__ ((mode (TI)));
typedef unsigned int UTItype __attribute__ ((mode (TI)));

# gmake
...
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c:36: error: unable to
emulate 'TI'
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c:37: error: unable to
emulate 'TI'
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c:40: warning: no
previous prototype for '__fixtfti'
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c: In function
'__fixtfti':
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c:47: error: 'TI_BITS'
undeclared (first use in this function)
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c:47: error: (Each
undeclared identifier is reported only once
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c:47: error: for each
function it appears in.)
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c:47: warning: left
shift count >= width of type
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c:47: warning: left
shift count >= width of type
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c:47: warning: left
shift count >= width of type
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c:47: warning: left
shift count >= width of type
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c:47: warning: left
shift count >= width of type
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c:47: warning: left
shift count >= width of type
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c:47: warning: left
shift count >= width of type
../../../gcc_trunk/libgcc/../gcc/config/soft-fp/fixtfti.c:47: warning: left
shift count >= width of type


I'll play with it some more while I await the help from an expert (or
succeed in Googling my own help).


Thanks,
Rob


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39048

Reply via email to