On Sun, Jan 10, 2016 at 09:59:28AM +0000, Sainadh J wrote:
> Hello,
> i tried to Entering the Chroot Environment into lfs system so that i first
> mount my partiotion and then i tried to follow the instructions from LFS-7.8
> chapter 06 i get the following error is "Segmentation fault" i am very much
> confusing about this error i never seen this type of error.please guide me
> how to resolve this error.regards.
A segmentation fault occurs when a program attempts to access
memory it is not entitled to access, or (I suppose) instructions
which are not implemented on the current CPU. There are many
possible causes:
1. Program bugs (not particularly likely in your case).
2. I think this can happen if you compile current gmp on a
high-specification machine, and then try to use the binaries on an
earlier CPU. If you are on the machine where you built /tools then
that possibility will not apply.
3. General hardware problems (memory became bad, power-supply
inadequate, electricity problems ('a brownout' - low voltage),
cooling fan(s) blocked or broken, hardware "having a bad day").
I suggest that you first power off, let the machine cool down for a
few minutes, then retry : if that works, it probably implies a
cooling problem or a brownout. If it still fails, get memtest86 or
memtest86+, boot that (from CD or, I suppose, a bootable usb stick)
and leave it running for a few hours to see if any errors show up.
One of my machines is somewhat prone to "having a bad day", when it
is compiling, and I think I very occasionally (much less than once a
year) get a compiled program which segfaults.
ĸen
--
This email was written using 100% recycled letters.
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style