Fix for compile error with gcc3
Hi,
compiling U-Boot 2011.09-rc2 with gcc-3.4.6 fails with this error:
In file included from u-boot-2011.09-rc2/include/linux/compiler.h:40,
from serial.c:29:
u-boot-2011.09-rc2/include/linux/compiler-gcc.h:87:30: linux/compiler-gcc3.h: No such file or directory
Adding compiler-gcc3.h from Linux kernel source to u-boot-2011.09-rc2/include/linux/ fixes this gcc3-only problem.
Kind regards, rhabarber1848
Hi rhabarber1848,
A patch was recently submitted:
http://patchwork.ozlabs.org/patch/116180
Thanks,
--Scott
Quoted 19 lines · rhabarber1848 wrote:
Hi,
compiling U-Boot 2011.09-rc2 with gcc-3.4.6 fails with this error:
In file included from
u-boot-2011.09-rc2/include/linux/compiler.h:40,from serial.c:29:
u-boot-2011.09-rc2/include/linux/compiler-gcc.h:87:30:linux/compiler-gcc3.h: No such file or directoryAdding
compiler-gcc3.hfrom Linux kernel source to u-boot-2011.09-rc2/include/linux/ fixes this gcc3-only problem.Kind regards, rhabarber1848
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
Quoted 11 lines · On Thursday, September 29, 2011 02:13:28 PM rhabarber1848 wrote:
Hi,
compiling U-Boot 2011.09-rc2 with gcc-3.4.6 fails with this error:
In file included from
u-boot-2011.09-rc2/include/linux/compiler.h:40,from serial.c:29:
u-boot-2011.09-rc2/include/linux/compiler-gcc.h:87:30:linux/compiler-gcc3.h: No such file or directoryAdding
compiler-gcc3.hfrom Linux kernel source to u-boot-2011.09-rc2/include/linux/ fixes this gcc3-only problem.
Hi,
why do you still use gcc3, do you have any special reason for that ? Can you update to gcc4?
Cheers