@Pierre, thanks for the reply. I dumped the Korora 19 distro for LinuxMint 14, which has a gcc-4.7.2 compiler. It compiles fine, so I'm good.
Thanks again, Dave P.S.: Not sure if this is how to respond to your reply. If this response should go elsewhere, please let me know. On Mon, Jul 8, 2013 at 10:09 AM, Pierre Labastie <pierre.labas...@neuf.fr>wrote: > Le 08/07/2013 16:56, Dave Wagler a écrit : > > This error occurs while compiling gcc-4.7.2: > > > > ../../../gcc-4.7.2/libgcc/libgcc2.c: In function '__multi3': > > ../../../gcc-4.7.2/libgcc/libgcc2.c:559:1: internal compiler > > error: Segmentation fault > > > > LFS book 7.3, chapter 5.5 > > Host: Korora 19 KDE amd64 (this installation is dedicated to this LFS > > sysgen) > > CPU: Intel(R) Core(TM) i5-3550 with 4 processors > > Memory: 16GB with 32GB swap available > > > > The list of version numbers of critical development tools is in the > > attached console log. The log was recorded with the script command, so > > it has that funny formatting. > > > > There were no known significant deviations from the book. There were > > various problems (confusions?) with permissions and ownerships that > > required use of sudo in places not mentioned in the book, but the > > actual commands were not changed. Specifying 'make' or 'make -j2' > > instead of 'make -j4' doesn't change anything. > > > > I did a web search for the error message, but there are many different > > problems that cause segmentation faults. The only thing I saw that > > looked significant suggested using lower optimization levels. > > > > I have been using various linux distros for several years, so I am > > fairly familiar with how to use the basic system. However, this is the > > first time I have tried anything like this sysgen, so I know very > > little about the make process. For example, I don't know how to run > > make with a different optimization level in the compiles. > > > > Any help will be appreciated. > > > The only thing I see in your log, which could lead to an error is: > /usr/bin/yacc -> /usr/bin/yacc > > Normally, 'yacc' should be a link to 'bison' or a script which executes > 'bison'. You have to test that (type 'file /usr/bin/yacc'). If it is not > a script, uninstall yacc. > > Another thing I see is that the host has gcc 4.8.1 and you are trying to > install gcc 4.7.2. I am not sure that configuration has been tested. > What you can try is to install a gcc-4.7 package from your distro (not > sure how to do that on your host, since I use Debian) and try again. > > As of the optimization level for gcc, you should keep the default (which > is -g -O2), as that is the recommended way from the gcc developpers. > > Pierre > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page >
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page