From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6296 Path: news.gmane.org!not-for-mail From: Samuel Holland Newsgroups: gmane.linux.lib.musl.general Subject: Re: libgcc errors Date: Fri, 10 Oct 2014 21:30:15 +0000 Message-ID: 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=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1412976639 21207 80.91.229.3 (10 Oct 2014 21:30:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 10 Oct 2014 21:30:39 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6309-gllmg-musl=m.gmane.org@lists.openwall.com Fri Oct 10 23:30:34 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 1Xchld-00028W-Vs for gllmg-musl@plane.gmane.org; Fri, 10 Oct 2014 23:30:30 +0200 Original-Received: (qmail 32683 invoked by uid 550); 10 Oct 2014 21:30:29 -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 32674 invoked from network); 10 Oct 2014 21:30:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=sholland.net; s=key1; t=1412976575; bh=ds2LJ1yxFeoinDa3Tk1Pkj77FM2zBshUBQ0/e8lCKtY=; h=In-Reply-To:References:Subject:From:Date:To; b=YAJmOX4dAm5pCwVJnZzwmh12D8u6fxVDgwG5B6sy73/NszB+aEfAf1zuzPVPs4pTw zYudFPV1zvUN3zpr5sC2F9Igi4S/YxSlfBMmOH8j6abE94V49fuY87Ar75aOm/lGHx YtI60fBnT8vFeSPr540aDdZOS+DpKkHgWQJ9zsns= In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:6296 Archived-At: On October 10, 2014 4:01:10 PM CDT, 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'm assuming you're using musl-gcc to compile m4, gmp, mpfr, mpc, binutils(!), and gcc. >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. You're almost there! All you have to do is tell musl where to find shared libraries. From the documentation: ../etc/ld-musl-$(ARCH).path, taken relative to the location of the "program interpreter" specified in the program's headers - if present, this will be processed as a text file containing the shared library search path, with components delimited by newlines or colons. If absent, a default path of"/lib:/usr/local/lib:/usr/lib" will be used. Not used by static-linked programs. You need make that file and put /root/cross/i686-linux-musl/lib in there. You compiled gcc fine, but the new gcc's backend isn't running because it can't find the shared libraries you compiled earlier because they aren't in a standard path. -- Regards, Samuel Holland