2.6.18-rc6-mm1 breaks glibc build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux