public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Oliver Xymoron <oxymoron@waste.org>
To: Russell King <rmk@arm.linux.org.uk>
Cc: Daniel Jacobowitz <dan@debian.org>,
	Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>,
	linux-kernel@vger.kernel.org
Subject: Re: Does kernel use system stdarg.h?
Date: Sat, 28 Sep 2002 10:13:08 -0500	[thread overview]
Message-ID: <20020928151308.GP21969@waste.org> (raw)
In-Reply-To: <20020928091530.B32639@flint.arm.linux.org.uk>

On Sat, Sep 28, 2002 at 09:15:30AM +0100, Russell King wrote:
> On Fri, Sep 27, 2002 at 04:47:22PM -0500, Oliver Xymoron wrote:
> > > > -I/usr/src/linux-2.5.36/include
> > > > -iprefix /usr/sbin/../../lib/gcc-lib/i686-pc-linux-gnu/3.0.3/
> > > 
> > > That's the problem.  Where's the -iprefix coming from?   Your configure
> > > doesn't specify /usr/sbin anywhere.
> > > 
> > > Verdict: bad GCC install or a 3.0.3 bug.  Might have to do with your
> > > libdir-outside-of-prefix.
> > 
> > I've got the same problem with -nostdinc with my Debian gcc-3.0 that
> > I've been patching around. I assumed it was a problem with the
> > kernel's Makefile, now you're saying it's the Debian package?
> 
> It certainly looks like it.  gcc 3.0.3 appears to ignore
> "-iwithprefix include", where as gcc 2.95.x, 2.96, 3.1 and 3.2 all
> work as expected.
> 
> -iwithprefix is supposed to add /usr/lib/gcc-lib/<target>/<version>/include
> to the compilers include path.
> 
> For curiositys sake, what does:
> 
>   gcc -print-file-name=include
> 
> give you?  That should (in theory) be the same path as -iwithprefix include
> but iirc this method apparantly breaks with internationalisation
> (discovered in 2.4.)  I'm going to place my bets on:
> 
>   /usr/sbin/../../lib/gcc-lib/i686-pc-linux-gnu/3.0.3/include

/usr/lib/gcc-lib/i386-linux/3.0.4/include

Amusingly, I just noticed I already have 3.2.1 on my system as well,
which seems to work just fine.

-- 
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.." 

  parent reply	other threads:[~2002-09-28 15:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-27 12:58 Does kernel use system stdarg.h? Denis Vlasenko
2002-09-27  8:26 ` Russell King
2002-09-27 13:20   ` Denis Vlasenko
2002-09-27  9:31     ` Mikael Pettersson
2002-09-27 17:18   ` Denis Vlasenko
2002-09-27 14:05     ` Daniel Jacobowitz
2002-09-27 21:47       ` Oliver Xymoron
2002-09-28  8:15         ` Russell King
2002-09-28  9:34           ` Alan Cox
2002-09-28 10:59           ` Tomas Szepe
2002-09-28 17:26             ` Russell King
2002-09-29  1:16               ` Keith Owens
2002-09-28 15:13           ` Oliver Xymoron [this message]
     [not found] ` <20020927140302.B13401@flint.arm.linux.org.uk>
2002-09-30 12:58   ` Denis Vlasenko

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=20020928151308.GP21969@waste.org \
    --to=oxymoron@waste.org \
    --cc=dan@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk@arm.linux.org.uk \
    --cc=vda@port.imtp.ilyichevsk.odessa.ua \
    /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