linux-mips
[Top] [All Lists]

Re: PATCH: avoid glibc conflict

To: Keith M Wesolowski <wesolows@foobazco.org>
Subject: Re: PATCH: avoid glibc conflict
From: Ralf Baechle <ralf@linux-mips.org>
Date: Tue, 9 Sep 2003 13:30:48 +0200
Cc: linux-mips@linux-mips.org
In-reply-to: <20030828043112.GA11094@foobazco.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030828043112.GA11094@foobazco.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.1i
On Wed, Aug 27, 2003 at 09:31:12PM -0700, Keith M Wesolowski wrote:

> This is needed to avoid a conflict with glibc on bigendian platforms
> when -O or higher is specified.  It's already in 2.6, and I'm not sure
> why it hasn't been seen in 2.4.  The symptom is that this program will
> not compile with -O2:
> 
> #include <asm/byteorder.h>
> #include <netinet/in.h>
> int main () { }
> 
> Here's the patch.

I sent one to Marcelo.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>
  • Re: PATCH: avoid glibc conflict, Ralf Baechle <=