public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] bug in glibc?
@ 2001-06-12  5:22 Mikael Hallendal
  2001-06-12  5:32 ` Mikael Hallendal
  0 siblings, 1 reply; 5+ messages in thread
From: Mikael Hallendal @ 2001-06-12  5:22 UTC (permalink / raw
  To: gentoo-dev

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

Hi!

In /usr/include/bits/string2.h there is a ?bug? that causes a lot of
warnings. This is not in the same file in Debian (have they patched
it?)

This patch fixes the problem:

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: glibc.patch --]
[-- Type: text/x-patch, Size: 1229 bytes --]

--- string2.h.old	Tue Jun 12 12:52:46 2001
+++ string2.h	Tue Jun 12 12:53:51 2001
@@ -415,7 +415,7 @@
       break;
     case 3:
       __u->__usi = __src0_2;
-      __u = __extension__ ((void *) __u + 2);
+      __u = __extension__ (void *)((char *) __u + 2);
       __u->__uc = '\0';
       break;
     case 4:
@@ -423,24 +423,24 @@
       break;
     case 5:
       __u->__ui = __src0_4;
-      __u = __extension__ ((void *) __u + 4);
+      __u = __extension__ (void *)((char *) __u + 4);
       __u->__uc = '\0';
       break;
     case 6:
       __u->__ui = __src0_4;
-      __u = __extension__ ((void *) __u + 4);
+      __u = __extension__ (void *)((char *) __u + 4);
       __u->__usi = __src4_2;
       break;
     case 7:
       __u->__ui = __src0_4;
-      __u = __extension__ ((void *) __u + 4);
+      __u = __extension__ (void *)((char *) __u + 4);
       __u->__usi = __src4_2;
-      __u = __extension__ ((void *) __u + 2);
+      __u = __extension__ (void *)((char *) __u + 2);
       __u->__uc = '\0';
       break;
     case 8:
       __u->__ui = __src0_4;
-      __u = __extension__ ((void *) __u + 4);
+      __u = __extension__ (void *)((char *) __u + 4);
       __u->__ui = __src4_4;
       break;
     }

[-- Attachment #3: Type: text/plain, Size: 27 bytes --]


Regards,
Mikael Hallendal

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] bug in glibc?
  2001-06-12  5:22 [gentoo-dev] bug in glibc? Mikael Hallendal
@ 2001-06-12  5:32 ` Mikael Hallendal
  2001-06-12  9:04   ` blutgens
  0 siblings, 1 reply; 5+ messages in thread
From: Mikael Hallendal @ 2001-06-12  5:32 UTC (permalink / raw
  To: gentoo-dev

Mikael Hallendal <hallski@gentoo.org> writes:

Hi (again)!

After googling a little I found that this is a known bug in gcc (which
is fixed in gcc 2.96). Debian however seems to have made a little work
around to fix this.

Regards,
Mikael Hallendal

> Hi!
> 
> In /usr/include/bits/string2.h there is a ?bug? that causes a lot of
> warnings. This is not in the same file in Debian (have they patched
> it?)
> 
> This patch fixes the problem:
> 
> 
> Regards, Mikael Hallendal

-- 
+------------------------------------------
| email    : micke@hallendal.net
| sms      : micke.mobil@hallendal.net
| homepage : http://micke.hallendal.net/
| PGP-key  : micke.hallendal.net/mikhal.gpg
+------------------------------------------------------




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] bug in glibc?
  2001-06-12  5:32 ` Mikael Hallendal
@ 2001-06-12  9:04   ` blutgens
  2001-06-12 12:00     ` Achim Gottinger
  0 siblings, 1 reply; 5+ messages in thread
From: blutgens @ 2001-06-12  9:04 UTC (permalink / raw
  To: gentoo-dev

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

On Tue, Jun 12, 2001 at 01:30:30PM +0000, Mikael Hallendal wrote:
>Mikael Hallendal <hallski@gentoo.org> writes:
>
>Hi (again)!
>
>After googling a little I found that this is a known bug in gcc (which
>is fixed in gcc 2.96). Debian however seems to have made a little work
>around to fix this.

Yeah, since they're just warnings I am pretty sure achim decided to hold out for gcc to get fixed.

>
>Regards,
>Mikael Hallendal
>
>> Hi!
>> 
>> In /usr/include/bits/string2.h there is a ?bug? that causes a lot of
>> warnings. This is not in the same file in Debian (have they patched
>> it?)
>> 
>> This patch fixes the problem:
>> 
>> 
>> Regards, Mikael Hallendal
>
>-- 
>+------------------------------------------
>| email    : micke@hallendal.net
>| sms      : micke.mobil@hallendal.net
>| homepage : http://micke.hallendal.net/
>| PGP-key  : micke.hallendal.net/mikhal.gpg
>+------------------------------------------------------
>
>
>_______________________________________________
>gentoo-dev mailing list
>gentoo-dev@cvs.gentoo.org
>http://cvs.gentoo.org/mailman/listinfo/gentoo-dev

-- 
Ben Lutgens		
Sistina Software Inc.	
Kernel panic: I have no root and I want to scream

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] bug in glibc?
  2001-06-12  9:04   ` blutgens
@ 2001-06-12 12:00     ` Achim Gottinger
  2001-06-12 15:25       ` Mikael Hallendal
  0 siblings, 1 reply; 5+ messages in thread
From: Achim Gottinger @ 2001-06-12 12:00 UTC (permalink / raw
  To: gentoo-dev

blutgens@_HOSTNAME_.helios.bagwan wrote:
> 
> On Tue, Jun 12, 2001 at 01:30:30PM +0000, Mikael Hallendal wrote:
> >Mikael Hallendal <hallski@gentoo.org> writes:
> >
> >Hi (again)!
> >
> >After googling a little I found that this is a known bug in gcc (which
> >is fixed in gcc 2.96). Debian however seems to have made a little work
> >around to fix this.
> 
> Yeah, since they're just warnings I am pretty sure achim decided to hold out for gcc to get fixed.
> 
> >
> >Regards,
> >Mikael Hallendal
> >
> >> Hi!
> >>
> >> In /usr/include/bits/string2.h there is a ?bug? that causes a lot of
> >> warnings. This is not in the same file in Debian (have they patched
> >> it?)
> >>
> >> This patch fixes the problem:

Well, I did not know that there is a patch around for this bug :)
I think we should add it.

bye achim~

> >>
> >>
> >> Regards, Mikael Hallendal
> >
> >--
> >+------------------------------------------
> >| email    : micke@hallendal.net
> >| sms      : micke.mobil@hallendal.net
> >| homepage : http://micke.hallendal.net/
> >| PGP-key  : micke.hallendal.net/mikhal.gpg
> >+------------------------------------------------------
> >
> >
> >_______________________________________________
> >gentoo-dev mailing list
> >gentoo-dev@cvs.gentoo.org
> >http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
> 
> --
> Ben Lutgens
> Sistina Software Inc.
> Kernel panic: I have no root and I want to scream
> 
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] bug in glibc?
  2001-06-12 12:00     ` Achim Gottinger
@ 2001-06-12 15:25       ` Mikael Hallendal
  0 siblings, 0 replies; 5+ messages in thread
From: Mikael Hallendal @ 2001-06-12 15:25 UTC (permalink / raw
  To: gentoo-dev

AGottinger@t-online.de (Achim Gottinger) writes:

> blutgens@_HOSTNAME_.helios.bagwan wrote:
> >  On Tue, Jun 12, 2001 at 01:30:30PM +0000, Mikael Hallendal wrote:
> > >Mikael Hallendal <hallski@gentoo.org> writes:
> > >
> > >Hi (again)!
> > >
> > >After googling a little I found that this is a known bug in gcc
> > >(which is fixed in gcc 2.96). Debian however seems to have made a
> > >little work around to fix this.
> >  Yeah, since they're just warnings I am pretty sure achim decided to
> >hold out for gcc to get fixed.
> > 
> > > Regards, Mikael Hallendal
> > >
> > >> Hi!
> > >>
> > >> In /usr/include/bits/string2.h there is a ?bug? that causes a lot
> > >>of warnings. This is not in the same file in Debian (have they
> > >>patched it?)
> > >>
> > >> This patch fixes the problem:
> 
> Well, I did not know that there is a patch around for this bug :) I
> think we should add it.

Well, I just wrote it :)

-- 
+------------------------------------------
| email    : micke@hallendal.net
| sms      : micke.mobil@hallendal.net
| homepage : http://micke.hallendal.net/
| PGP-key  : micke.hallendal.net/mikhal.gpg
+------------------------------------------------------




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-06-12 21:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-12  5:22 [gentoo-dev] bug in glibc? Mikael Hallendal
2001-06-12  5:32 ` Mikael Hallendal
2001-06-12  9:04   ` blutgens
2001-06-12 12:00     ` Achim Gottinger
2001-06-12 15:25       ` Mikael Hallendal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox