1
Open Embedded / Bitbake Fails With Gnu Gcc
« on: May 09, 2005, 05:50:29 am »Quote
I've moved on to the next problem now (still in gcc) it is failing to build libiberty due to an undefined function __builtin_expect which is supposedly a gcc builtin for branch prediction hinting.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78811\"][{POST_SNAPBACK}][/a][/div]
Thanks to help from #oe (PB__ in particular for his suggestion) I've found that this one was because I was using a shell that had previously been used to build an old Sharp/Opie and thus was finding an old gcc from the embeddix toolchain.
So a tip for you all. Start with a clean shell and check your gcc before you start. I wasted a lot of time trying to figure out what was wrong.
Neil