From: Jakub Jelinek <jakub@redhat.com>
To: Andreas Jaeger <aj@suse.de>
Cc: Roland McGrath <roland@redhat.com>,
Richard Henderson <rth@redhat.com>,
Glibc hackers <libc-hacker@sources.redhat.com>
Subject: Re: Aliases ...
Date: Sat, 15 Jan 2005 09:35:00 -0000 [thread overview]
Message-ID: <20050115093525.GC4777@sunsite.mff.cuni.cz> (raw)
In-Reply-To: <m3wtuf2m8b.fsf@gromit.moeb>
On Sat, Jan 15, 2005 at 08:19:16AM +0100, Andreas Jaeger wrote:
> Jakub Jelinek <jakub@redhat.com> writes:
>
> > On Fri, Jan 14, 2005 at 11:30:15AM -0800, Roland McGrath wrote:
> >> > If we need to, we can rearrange things such that aliases are
> >> > delayed until the real end of the translation unit, but...
> >>
> >> This has always worked before, and initializing is ugly when you really
> >> want bss symbols.
> >
> > That's a GCC4 bug that needs to be fixed there IMHO.
>
> Look at the email and bugreport that started this thread - RTH says
> it's not a bug...
That was talking about:
int errno;
extern int __libc_errno __attribute__ ((alias ("errno")));
where I have no problems with gcc warning about it (although the
warning could warn instead about alias to common symbol).
But GCC warns even for:
int errno __attribute__((nocommon));
extern int __libc_errno __attribute__ ((alias ("errno")));
and that is IMHO a bug.
Jakub
next prev parent reply other threads:[~2005-01-15 9:35 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 ` Jakub Jelinek [this message]
2005-01-15 9:49 ` Aliases Andreas Jaeger
2005-01-14 20:23 ` Aliases Andreas Schwab
2005-01-09 21:00 Aliases Andreas Jaeger
[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
2005-01-10 17:14 ` Aliases H. J. Lu
2005-01-10 17:27 ` Aliases H. J. Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050115093525.GC4777@sunsite.mff.cuni.cz \
--to=jakub@redhat.com \
--cc=aj@suse.de \
--cc=libc-hacker@sources.redhat.com \
--cc=roland@redhat.com \
--cc=rth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).