------------------------------------------------------------------------------ extern int foo; extern int bar __attribute__ ((alias ("foo"))); ------------------------------------------------------------------------------ $ gcc foo.i foo.i:2: error: ‘bar’ aliased to undefined symbol ‘foo’ $ this code is taken from glibc/sysdeps/wordsize-64/wcstol_l.c and it was accepted by gcc 3.4 and earlier.
glibc needs to be changed for this, for details chech the thread starting at: http://sourceware.org/ml/libc-hacker/2005-03/msg00061.html
*** Bug 23245 has been marked as a duplicate of this bug. ***