[Bug bootstrap/38088] New: gcc fails to compile with undefined symbol: __LONG_LONG_MAX__ error
kamaraju at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 12 04:21:00 GMT 2008
The weekly snapshot (dated 20081107) of gcc 4.4 fails to compile on a Sun
Solaris machine with the following errors.
cc -c -g -DIN_GCC -DHAVE_CONFIG_H -I. -I.
-I../../../unZipped/gcc-4.4-20081107/gcc
-I../../../unZipped/gcc-4.4-20081107/gcc/. -I../../..
/unZipped/gcc-4.4-20081107/gcc/../include -I./../intl
-I../../../unZipped/gcc-4.4-20081107/gcc/../libcpp/include
-I../../../unZipped/gcc-4.
4-20081107/gcc/../libdecnumber
-I../../../unZipped/gcc-4.4-20081107/gcc/../libdecnumber/dpd
-I../libdecnumber -I/home/kkusuman/software/my
root/include ../../../unZipped/gcc-4.4-20081107/gcc/mcf.c -o mcf.o
"../../../unZipped/gcc-4.4-20081107/gcc/mcf.c", line 215: undefined
symbol: __LONG_LONG_MAX__
"../../../unZipped/gcc-4.4-20081107/gcc/mcf.c", line 223: undefined
symbol: __LONG_LONG_MAX__
"../../../unZipped/gcc-4.4-20081107/gcc/mcf.c", line 534: undefined
symbol: __LONG_LONG_MAX__
"../../../unZipped/gcc-4.4-20081107/gcc/mcf.c", line 809: undefined
symbol: __LONG_LONG_MAX__
"../../../unZipped/gcc-4.4-20081107/gcc/mcf.c", line 826: undefined
symbol: __LONG_LONG_MAX__
"../../../unZipped/gcc-4.4-20081107/gcc/mcf.c", line 849: undefined
symbol: __LONG_LONG_MAX__
"../../../unZipped/gcc-4.4-20081107/gcc/mcf.c", line 889: undefined
symbol: __LONG_LONG_MAX__
"../../../unZipped/gcc-4.4-20081107/gcc/mcf.c", line 1059: undefined
symbol: __LONG_LONG_MAX__
cc: acomp failed for ../../../unZipped/gcc-4.4-20081107/gcc/mcf.c
make[3]: *** [mcf.o] Error 2
make[3]: Leaving directory
`/home/kkusuman/software/compileHere/gcc-4.4-20081107/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory
`/home/kkusuman/software/compileHere/gcc-4.4-20081107'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory
`/home/kkusuman/software/compileHere/gcc-4.4-20081107'
make: *** [all] Error 2
The problem is due to the line
#define CAP_INFINITY __LONG_LONG_MAX__
in gcc/mcf.c which will fail when a compiler other than gcc is used.
This problem was first pointed out in
http://gcc.gnu.org/ml/gcc-help/2008-11/msg00121.html and Ian Taylor asked me to
file a bug for it.
If you need any other information, I would be more than happy to provide it.
thanks
raju
--
Summary: gcc fails to compile with undefined symbol:
__LONG_LONG_MAX__ error
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kamaraju at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38088
More information about the Gcc-bugs
mailing list