Issues compiling GCC v4.7.1 while building LFS for ARM (Raspberry Pi)
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
You told us this is LFS 7.2, what you did not tell us:
- Is this gcc pass 1 or pass 2 (assuming this is chapter 5....)?
- Is your host made compliant? (post output of the version-check.sh script)
- Did you have other issues before reaching this point?
- Any clues in the log files?
So, I'm going to back up a bit and let you know what I'm doing.
There is a version of LFS for the Raspberry Pi, it's based on the developer build of 7.3. I'm using that to compile a stable version of LFS.
Being that it's a developer version, I'd really like to use a version from the stable tree. This is why I'm going backwards in what version I have vs the one I'm trying to compile. I didn't think it would matter much because they're the same major release version, 4.7.x. Am I wrong to assume that?
Some of the host versions are larger then mentioned in the Host System Requirements. I don't know if that could be problematic.
You do not mention which log files you did check, I would start with gcc's config.log
Are you sure you didn't make a typo in this chapter? Easy to find out: Do this chapter from scratch (including removal of gcc and build directory).
You know, I was thinking that might be a problem. What would be a better way of building LFS then?
I did look at the config.log file, this showed some data, not anything out of the ordinary. Unfortunately, I managed to remove the old GCC directory after I did a 'make clean' to start from scratch on GCC. I'll let it run again and bomb out so that I can show you.
Also, I'm positive that I didn't make a mistake in my typing.
I did a 'make clean' to start from scratch on GCC.
A lot of actions are done while inside the gcc directory, I'm not 100% sure that make clean is sufficient when starting from the top of that chapter. I would completely remove the gcc-x.y.z and build-gcc dir, untar again and start from there (which is also the method mentioned in the book).