From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6294 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: libgcc errors Date: Fri, 10 Oct 2014 17:21:36 -0400 Message-ID: <20141010212136.GC23797@brightrain.aerifal.cx> References: <20141007195156.GV21835@port70.net> <5434704E.8080504@sholland.net> <54367BF6.80203@bradfordembedded.com> <263E3217-740D-44F2-BC2A-BDCA4AFB38B8@sholland.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1412976118 14872 80.91.229.3 (10 Oct 2014 21:21:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Oct 2014 21:21:58 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6307-gllmg-musl=m.gmane.org@lists.openwall.com Fri Oct 10 23:21:52 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1XchdF-0006pv-V7 for gllmg-musl@plane.gmane.org; Fri, 10 Oct 2014 23:21:50 +0200 Original-Received: (qmail 28012 invoked by uid 550); 10 Oct 2014 21:21:49 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 28004 invoked from network); 10 Oct 2014 21:21:49 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:6294 Archived-At: On Fri, Oct 10, 2014 at 05:01:10PM -0400, stephen Turner wrote: > As previously mentioned I wiped and installed a clean debian. I did a > absolute minimum default install no desktop etc compiled the latest stable > musl, m4, gmp, mpfr, mpc, and downloaded gcc 4.7.3 with gregorr/musl-cross > patch to match. I ran the build based on the commands i found in his > script and even tried passing --disable-werror to no avail (it helped on > binutils so i figured it was worth a shot). Libgcc still errors out when > using --target. > > Its having a problem finding/using libmpc.so.3 but the paths appear to > point to the directory which it is located. to be sure i even specified > using the --with-mpc flag. Did you install the development packages? On Debian the libXXXX packages are only for running programs that need libXXXX, not compiling/linking programs which need them. > If you could please take a moment to help me with this i would appreciate > it. Libmpc is in /root/cross/i686-linux-musl/lib and i have copied my > config.log from the libgcc directory below If you just use Gregor's scripts directly, everything should work fine. Have you tried just running the musl-cross build unchanged and seeing if it succeeds? This would tell you right away whether you have a problem with your build environment/packages, or with your own custom commands. Then, assuming it's the latter, you can try making controlled changes until you figure out what you're doing wrong. Rich