Date: Tue, 17 Jun 2008 09:35:21 -0700 From: Marcel Moolenaar <xcllnt@mac.com> To: Pietro Cerutti <gahr@freebsd.org> Cc: freebsd-current <freebsd-current@freebsd.org>, freebsd-sparc64@freebsd.org Subject: Re: sh seg-faults Message-ID: <D96EF917-F7D0-43E2-BB22-D3DA5D4E135E@mac.com> In-Reply-To: <485779C3.8010302@FreeBSD.org> References: <485779C3.8010302@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 17, 2008, at 1:45 AM, Pietro Cerutti wrote: > I'm experiencing "random" sh core-dumps while building ports. During > these core-dumps, sh is usually invoked by libtool. Pietro, I've seen something on PowerPC as well. If I recompile libc with lower optimization, the problem goes away (I think -O1 does the trick -- if not try -O0 :-). In particular, if you recompile lib/libc/gen/exec.c at -O<less> the problem goes away. Everytime I've seen execvp() being the at the top of the call-chain. Can you check if it's execvp() for you as well? Thanks, -- Marcel Moolenaar xcllnt@mac.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D96EF917-F7D0-43E2-BB22-D3DA5D4E135E>