mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.18-rc6-mm1 breaks glibc build
@ 2006-09-09 13:44 Mike Galbraith
  2006-09-09 11:49 ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Galbraith @ 2006-09-09 13:44 UTC (permalink / raw)
  To: LKML; +Cc: Andrew Morton

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


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

end of thread, other threads:[~2006-09-09 12:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-09 13:44 2.6.18-rc6-mm1 breaks glibc build Mike Galbraith
2006-09-09 11:49 ` David Woodhouse
2006-09-09 14:25   ` Mike Galbraith

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®