public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* Aliases ...
@ 2005-01-09 21:00 Andreas Jaeger
  2005-01-10 17:14 ` Aliases H. J. Lu
       [not found] ` <20050109232721.GA23478@redhat.com>
  0 siblings, 2 replies; 16+ messages in thread
From: Andreas Jaeger @ 2005-01-09 21:00 UTC (permalink / raw)
  To: Glibc hackers; +Cc: Richard Henderson

[-- Attachment #1: Type: text/plain, Size: 1907 bytes --]


From: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19346
 

Description:  [reply] 
Last confirmed: 2005-01-09 15:50 
Opened: 2005-01-09 10:11 

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"))); 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

 ------- Additional Comment #1 From Andrew Pinski 2005-01-09 15:50 [reply] ------- 
Confirmed.
 

 ------- Additional Comment #2 From Richard Henderson 2005-01-09 18:46 [reply] ------- 
I hadn't realized aliases to COMMON symbols ever worked...
 

 ------- Additional Comment #3 From Richard Henderson 2005-01-09 18:49 [reply] ------- 
Indeed, they DO NOT work, and never have.  The warning is correct.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

So, what shall we do with glibc?

Btw. I get this warning also for:
wcsftime_l.c:26: warning: ‘wcsftime_l’ aliased to undefined symbol ‘__wcsftime_l’
../nss/getXXent_r.c:203: warning: ‘getgrent_r’ aliased to undefined symbol ‘__new_getgrent_r’
../sysdeps/posix/pathconf.c:237: warning: ‘pathconf’ aliased to undefined symbol‘__pathconf’
../sysdeps/posix/fpathconf.c:241: warning: ‘fpathconf’ aliased to undefined symbol ‘__fpathconf’

Richard, do these also point to a problem in glibc?

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <20050114192642.GC19955@redhat.com>]

end of thread, other threads:[~2005-01-30 10:36 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-09 21:00 Aliases Andreas Jaeger
2005-01-10 17:14 ` Aliases H. J. Lu
2005-01-10 17:27   ` Aliases H. J. Lu
     [not found] ` <20050109232721.GA23478@redhat.com>
2005-01-10  6:11   ` Aliases Andreas Jaeger
2005-01-14  9:09     ` Aliases Andreas Jaeger
2005-01-30 10:36       ` Aliases Andreas Jaeger
2005-01-14  8:54   ` Aliases Andreas Jaeger
2005-01-14 16:41     ` Aliases Roland McGrath
2005-01-14 18:41       ` Aliases Andreas Jaeger
2005-01-14 18:56         ` Aliases Roland McGrath
     [not found] <20050114192642.GC19955@redhat.com>
2005-01-14 19:30 ` Aliases Roland McGrath
2005-01-14 20:04   ` Aliases Jakub Jelinek
2005-01-15  7:19     ` Aliases Andreas Jaeger
2005-01-15  9:35       ` Aliases Jakub Jelinek
2005-01-15  9:49         ` Aliases Andreas Jaeger
2005-01-14 20:23   ` Aliases Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).