Hi Jason, > -----Original Message----- <....> > I tried building today, and hit a problem due to this file not existing: > > poky/build/tmp/work/zedboard_zynq7-poky-linux-gnueabi/u-boot-xlnx/v2016.01- > xilinx+gitAUTOINC+07b02489f2-r0/git/include/linux/compiler-gcc6.h > > My work-around was to put a symbolic link from compiler-gcc5.h to compiler- > gcc6.h. The GCC version appears to be 6.1.1. Here is the screen output: <....>
> | In file included from include/linux/compiler.h:54:0, > | from include/linux/bitops.h:5, > | from ./include/common.h:20: > | include/linux/compiler-gcc.h:114:30: fatal error: > | linux/compiler-gcc6.h: No such file or directory #include > gcc_header(__GNUC__) > | ^ > | compilation terminated. > | In file included from include/linux/compiler.h:54:0, > | from include/linux/bitops.h:5, > | from ./include/common.h:20: > | include/linux/compiler-gcc.h:114:30: fatal error: > | linux/compiler-gcc6.h: No such file or directory #include > gcc_header(__GNUC__) > | ^ > | compilation terminated. This is a known issue, we will updating the u-boot and this patch upstream will solve this issue http://lists.denx.de/pipermail/u-boot/2016-February/246954.html In the meantime, your fix will be the solution or creating another file as someone did here will fix it https://github.com/Freescale/meta-freescale/blob/master/recipes-bsp/u-boot/files/fix-build-error-under-gcc6.patch Thanks Manju This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. -- _______________________________________________ meta-xilinx mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-xilinx
