[Bug c/19346] New: Wrong warnings about undefined aliases
aj at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 9 10:11:00 GMT 2005
With current GCC CVS I get lots of warnings when compiling glibc
about aliases to undefined symbols:
aj@gromit:~/tmp> /opt/gcc/4.0-devel/bin/gcc -O2 -c test.i
test.i:2: warning: ?__libc_errno? aliased to undefined symbol ?errno?
aj@gromit:~/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
More information about the Gcc-bugs
mailing list