With current GCC CVS I get lots of warnings when compiling glibc about aliases to undefined symbols: [EMAIL PROTECTED]:~/tmp> /opt/gcc/4.0-devel/bin/gcc -O2 -c test.i test.i:2: warning: ?__libc_errno? aliased to undefined symbol ?errno? [EMAIL PROTECTED]:~/tmp> nm test.o 0000000000000004 C errno One testcase is: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ int errno; extern int __libc_errno __attribute__ ((alias ("errno"))); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- Summary: Wrong warnings about undefined aliases Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aj at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: x86_64-linux-gnu GCC host triplet: x86_64-linux-gnu GCC target triplet: x86_64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19346