From mboxrd@z Thu Jan 1 00:00:00 1970 From: Javier Viguera Date: Wed, 31 Mar 2010 16:37:09 +0200 Subject: [Buildroot] init segfaults when compiled with glibc In-Reply-To: References: <4BB20A06.1090407@browserseal.com> <4BB2794A.3030400@free.fr> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Alexander (Sasha) Sirotkin wrote: > > You are right, nevertheless the isssue, i.e. init sudden death is not > related to the instruction set - as I already mentioned, it works just > fine with uClibc. The problem appears only when I use external glibc > based toolchain. I had the same problem a month ago more or less. With a glibc toolchain built with crosstool-NG the init process was dying and the kernel panic'ing as a result because init (pid=1) was not supposed to die. Unfortunately i could not manage to find what the problem was. All i found is that it was happening with some versions of glibc while it was working with other versions: glibc-2.9 was failing, so my workaround was finally to select EGLIBC-2.10 to build the toolchain. With that version it worked for me. Give it a try to a newer version of glibc/eglibc (starting with 2.10) and let us know if it works. -- Regards, Javier Viguera Software Engineer Digi International Spain, S.A. http://www.digi.com