This is the mail archive of the
mailing list for the crossgcc project.
See the CrossGCC FAQ for lots
demo-i686.sh for building kernel 188.8.131.52
- From: "Zvi Vered" <veredz72 at gmail dot com>
- To: <crossgcc at sourceware dot org>
- Date: Fri, 31 Jul 2009 17:26:35 +0300
- Subject: demo-i686.sh for building kernel 184.108.40.206
I used demo-i686.sh to build a toolchain for a target based on Pentium-M
The toolchain was built with no errors.
Then I tried to use this toolchain to build linux 220.127.116.11 downloaded from
make ARCH=x86 CROSS_COMPILE=i686-unknown-linux-gnu-
I got an error message:
SYMLINK include/asm -> include/asm-x86
In file included from include/linux/compiler-gcc.h:86,
include/linux/compiler-gcc4.h:8:4: error: #error Your version of gcc
miscompiles the __weak directive
make: *** [kernel/bounds.s] Error 1
make: *** [prepare0] Error 2
According to include/linux/compiler-gcc4.h I should use a gcc version higher
I used gcc 4.1.2 instead of 4.1.0 in the crosstool script and built. Then I
rebuild the kernel. It worked fine.
I also tried to build 18.104.22.168 with 4.1.0 and it worked. Somewhere between
22.214.171.124 to 126.96.36.199 the minimum minor version of
gcc was changed from 1 to 2.
Can you update the crosstool script ?
For unsubscribe information see http://sourceware.org/lists.html#faq