Issues compiling GCC v4.7.1 while building LFS for ARM (Raspberry Pi)
Hi,
I'm trying to build the 7.2 stable branch of Linux from Scratch for the Raspberry Pi. I'm having issues with GCC compiling. After many hours of compiling, I'm left with an error and a message.. checking whether decimal floating point is supported... no checking whether fixed-point is supported... yes checking whether to use setjmp/longjmp exceptions... unknown configure: error: unable to detect exception model make[1]: *** [configure-target-libgcc] Error 1 make[1]: Leaving directory `/mnt/lfs/sources/7.2/gcc-4.7.1' make: *** [all] Error 2 Can anyone tell me what's happening? How do I get around this? |
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? |
Hi,
Thanks for your reply.. - Is this gcc pass 1 or pass 2 (assuming this is chapter 5....)? This is pass 1 from chapter 5. - Is your host made compliant? (post output of the version-check.sh script) lfs:/mnt/lfs/sources/7.2$ bash version-check.sh bash, version 4.2.39(1)-release /bin/sh -> /bin/bash Binutils: (GNU Binutils) 2.23.1 bison (GNU Bison) 2.6.5 /usr/bin/yacc -> /usr/bin/yacc bzip2, Version 1.0.6, 6-Sept-2010. Coreutils: 8.19 diff (GNU diffutils) 3.2 find (GNU findutils) 4.4.2 GNU Awk 4.0.1 /usr/bin/awk -> /usr/bin/gawk gcc (GCC) 4.7.2 (GNU libc) 2.16 grep (GNU grep) 2.14 gzip 1.5 Linux version 3.2.27+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #285 PREEMPT Tue Nov 20 17:49:40 GMT 2012 m4 (GNU M4) 1.4.16 GNU Make 3.82 GNU patch 2.7.1 Perl version='5.16.2'; GNU sed version 4.2.1 tar (GNU tar) 1.26 Texinfo: makeinfo (GNU texinfo) 4.13 xz (XZ Utils) 5.0.4 gcc compilation OK - Did you have other issues before reaching this point? No, binutils installed perfectly and GCC ran for hours (at least 5) before getting to this point. - Any clues in the log files? Not seeing anything unless there are log files that I'm missing. Is there anywhere else I should be looking? |
Quote:
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). |
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? |
Quote:
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'll be writing back after it bombs again. |
Quote:
|
I have just ordered a pi are you compiling on the pi or on a desktop?
|
All times are GMT -5. The time now is 02:31 PM. |