sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: spinkham AT myxa.dhs.org
- To: SM-Discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] gcc update
- Date: Tue, 30 Jul 2002 14:51:55 -0400
I found this message on google... This might help...
It sounds like the same problem.
http://sources.redhat.com/ml/libc-hacker/2002-05/msg00024.html
GotYellowSnow
<Begin lifted text>
With GCC 3.2 CVS I just got on i686-linux-gnu:
../sysdeps/unix/sysv/linux/errlist.c:41: weak declaration of `_old_sys_nerr'
must precede definition
The appended patch fixed the problem.
Ok to commit?
Andreas
2002-05-19 Andreas Jaeger <aj AT suse.de>
* sysdeps/unix/sysv/linux/errlist.c: Change order of aliases for
_old_sys_nerr so that GCC gets them correct.
============================================================
Index: sysdeps/unix/sysv/linux/errlist.c
--- sysdeps/unix/sysv/linux/errlist.c 6 Jul 2001 04:56:12 -0000 1.8
+++ sysdeps/unix/sysv/linux/errlist.c 19 May 2002 16:36:01 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -37,8 +37,8 @@ extern const char *const *__old_sys_errl
const int __old_sys_nerr = OLD_ERRLIST_SIZE;
-strong_alias (__old_sys_nerr, _old_sys_nerr);
weak_alias (__old_sys_nerr, _old_sys_nerr)
+strong_alias (__old_sys_nerr, _old_sys_nerr);
compat_symbol (libc, __old_sys_nerr, _sys_nerr, GLIBC_2_0);
compat_symbol (libc, _old_sys_nerr, sys_nerr, GLIBC_2_0);
weak_alias (__old_sys_errlist, _old_sys_errlist);
--
Andreas Jaeger
SuSE Labs aj AT suse.de
private aj AT arthur.inka.de
http://www.suse.de/~aj
<end lifted text>
On Tue, Jul 30, 2002 at 09:00:09AM +0200, Treeve Jelbert wrote:
> On Monday 29 July 2002 11:59, Julian v. Bock wrote:
> > Hi
> >
> > I am going to skip the gcc-3.1.1 release since 3.2 will be released very
> > soon.
> >
> > Julian
>
> As a matter of interest, I built gcc3.1.1 without problems. I've since
> cast
> several other spells. The only problems that I've encountered are with
> glibc
> (syntax errors)
>
<--snip-->
> ../sysdeps/unix/sysv/linux/errlist.c:41: weak declaration of
> `_old_sys_nerr'
> mus
> t precede definition
<--snip-->
-
[SM-Discuss] gcc update,
Julian v. Bock, 07/29/2002
- Re: [SM-Discuss] gcc update, Eric Sandall, 07/29/2002
-
Re: [SM-Discuss] gcc update,
Treeve Jelbert, 07/30/2002
-
Re: [SM-Discuss] gcc update,
Casey Harkins, 07/30/2002
- Re: [SM-Discuss] gcc update, Casey Harkins, 07/30/2002
-
Re: [SM-Discuss] gcc update,
Julian v. Bock, 07/30/2002
- Re: [SM-Discuss] gcc update, spinkham, 07/30/2002
- Re: [SM-Discuss] gcc update, spinkham, 07/30/2002
-
Re: [SM-Discuss] gcc update,
Casey Harkins, 07/30/2002
Archive powered by MHonArc 2.6.24.