I have a working MIPS cross toolchain with: binutils-2.15 gcc-3.4.2 glibc-2.3.4 linux-2.6.12 and then decided to work with gcc-4.1.0 out of the cvs head. I am now getting build problems with glibc-2.3.4 with the first major snafu being: ../sysdeps/ieee754/dbl-64/s_isinf.c:29: error: 'isinf' aliased to undefined symbol '__isinf' ../sysdeps/ieee754/dbl-64/s_isinf.c:31: error: '__isinfl' aliased to undefined symbol '__isinf' ../sysdeps/ieee754/dbl-64/s_isinf.c:32: error: 'isinfl' aliased to undefined symbol '__isinf'
I am attempting to try and figure out what changed so drastically to cause this. I also looked in GCC and glibc Bugzilla databases, but did not find anything addressing this problem. Has anyone seen this behavior?
Yes. As Giovanni pointed out, the move from gcc-3.4 to gcc-4.0 requires some changes. I have backported the needed changes from cvs to glibc-2.3.4, more or less, and will release the patches with crosstool-0.32. In the meantime, the particular problem you're facing might be fixed by this patch from cvs:
Revision 1.71, Thu Mar 17 21:06:27 2005 UTC (3 weeks, 5 days ago) by roland Branch: MAIN CVS Tags: fedora-glibc-20050405T2114, fedora-glibc-20050401T1444, fedora-glibc-20050324T0715, fedora-glibc-20050319T1907, HEAD Changes since 1.70: +11 -66 lines Diff to previous 1.70 (colored)
2005-03-16 Richard Henderson <[EMAIL PROTECTED]>
* include/libc-symbols.h (__hidden_proto): Remove bogus declaration of internal. (__hidden_def1, __hidden_dot_def1): Remove. (__hidden_def2, __hidden_def3): Remove. (__hidden_ver1): New. (hidden_ver, hidden_def, hidden_weak): Use it. (hidden_data_ver, hidden_data_ver, hidden_data_weak): Use non-data version of the macro.
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/include/libc-symbols.h.diff?r1=1.70&r2=1.71&cvsroot=glibc
- Dan