On Sun, 2017-06-04 at 22:49 +0000, qma ster wrote: > Good day! While building the coreboot's toolchain by using GCC 7.1.1 > version, I am getting the following error: > > ubsan.c:1474:23: error: ISO C++ forbids comparison between pointer and > integer [-fpermissive] > || xloc.file == '\0' || xloc.file[0] == '\xff' > > The fix is very simple - just open > ./util/crossgcc/gcc-6.3.0/gcc/ubsan.c and change > > || xloc.file == '\0' || xloc.file[0] == '\xff' > > to > > || xloc.file[0] == '\0' || xloc.file[0] == '\xff' > > Found this solution here - > https://patchwork.openembedded.org/patch/138884/ . Would be great if > you could somehow import it to your code
Submitted to gerrit as https://review.coreboot.org/#/c/20103/ Cheers! -- Paul Kocialkowski, developer of free digital technology and hardware support Website: https://www.paulk.fr/ Coding blog: https://code.paulk.fr/ Git repositories: https://git.paulk.fr/ https://git.code.paulk.fr/ -- coreboot mailing list: [email protected] https://mail.coreboot.org/mailman/listinfo/coreboot

