mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Galbraith <efault@gmx.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Andrew Morton <akpm@osdl.org>
Subject: 2.6.18-rc6-mm1 breaks glibc build
Date: Sat, 09 Sep 2006 13:44:14 +0000	[thread overview]
Message-ID: <1157809454.19305.17.camel@Homer.simpson.net> (raw)

Greetings,

For whatever reason, glibc sets sysincludes to point to the running
kernel's include directory ala...
	sysincludes = -I /lib/modules/2.6.18-rc6-mm1-smp/build/include
in it's config.make instead of using installed headers, and this leads
to the compile failure below.

I just edited config.make to point to different headers, dunno if it
_should_ work as before (2.6.18-rc6 does) or not.

/lib/modules/2.6.18-rc6-mm1-smp/build/include/linux/err.h: Assembler messages:
/lib/modules/2.6.18-rc6-mm1-smp/build/include/linux/err.h:22: Error: no such instruction: `static inline void *ERR_PTR(long error)'
/lib/modules/2.6.18-rc6-mm1-smp/build/include/linux/err.h:23: Error: junk at end of line, first unrecognized character is `{'
/lib/modules/2.6.18-rc6-mm1-smp/build/include/linux/err.h:24: Error: no such instruction: `return (void *)error'
/lib/modules/2.6.18-rc6-mm1-smp/build/include/linux/err.h:25: Error: junk at end of line, first unrecognized character is `}'
/lib/modules/2.6.18-rc6-mm1-smp/build/include/linux/err.h:27: Error: no such instruction: `static inline long PTR_ERR(const void *ptr)'
/lib/modules/2.6.18-rc6-mm1-smp/build/include/linux/err.h:28: Error: junk at end of line, first unrecognized character is `{'
/lib/modules/2.6.18-rc6-mm1-smp/build/include/linux/err.h:29: Error: no such instruction: `return (long)ptr'
/lib/modules/2.6.18-rc6-mm1-smp/build/include/linux/err.h:30: Error: junk at end of line, first unrecognized character is `}'
/lib/modules/2.6.18-rc6-mm1-smp/build/include/linux/err.h:32: Error: no such instruction: `static inline long IS_ERR(const void *ptr)'
/lib/modules/2.6.18-rc6-mm1-smp/build/include/linux/err.h:33: Error: junk at end of line, first unrecognized character is `{'
/lib/modules/2.6.18-rc6-mm1-smp/build/include/linux/err.h:34: Error: no such instruction: `return unlikely(((unsigned long)ptr)>=(unsigned long)-4095)'
/lib/modules/2.6.18-rc6-mm1-smp/build/include/linux/err.h:35: Error: junk at end of line, first unrecognized character is `}'
make[2]: *** [/usr/local/src/gnu/glibc/snapshots/glibc-20060904/i686-suse-linux/csu/sysdep.o] Error 1
make[2]: Leaving directory `/usr/local/src/gnu/glibc/snapshots/glibc-20060904/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/usr/local/src/gnu/glibc/snapshots/glibc-20060904'
make: *** [all] Error 2


             reply	other threads:[~2006-09-09 11:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-09 13:44 Mike Galbraith [this message]
2006-09-09 11:49 ` David Woodhouse
2006-09-09 14:25   ` Mike Galbraith

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=1157809454.19305.17.camel@Homer.simpson.net \
    --to=efault@gmx.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®