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.

Attachment: console.log
Description: Binary data

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to