Quote:
Originally Posted by xlfs-0.2
you haven't said what gcc you are compiling with or even if it's llvm instead.
|
At this stage in compilation, he'd be using the Pass 1 gcc compiled earlier in chapter 5
Quote:
Did you try CFLAGS="$CFLAGS -Wno-fpermissive" like the message suggested?
|
I think that's probably bad advice. The recommendation is to follow the Book carefully, at least in your first build. Adding your own flags is usually not a good idea unless you really know what you are doing.
The LFS version being used is slightly out of date but it's only a point release difference so that's unlikely to be the cause of the problem.
Ubuntu isn't considered to be a very good LFS host. Did you ensure before starting that your awk was gawk and not mawk, and your system shell is bash and not dash? All the Debian family use mawk and dash and they aren't recommended. Also, given that Ubuntu is fairly bleeding edge and you are using an older LFS book, did you check that your host compilation tools are not too recent?