From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/354 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Compilation error Date: Sun, 7 Aug 2011 16:52:56 -0400 Message-ID: <20110807205256.GK132@brightrain.aerifal.cx> References: <6b8e6a08f65ec476283a3699a41451d7@smtp1.ispfr.net> <20110807193658.GA29562@port70.net> <20110807193431.GI132@brightrain.aerifal.cx> <20110807195006.GJ132@brightrain.aerifal.cx> <9c7c1750174b56e53049c867cc1f314b@smtp1.ispfr.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1312751139 26283 80.91.229.12 (7 Aug 2011 21:05:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 7 Aug 2011 21:05:39 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-355-gllmg-musl=m.gmane.org@lists.openwall.com Sun Aug 07 23:05:33 2011 Return-path: Envelope-to: gllmg-musl@lo.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by lo.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1QqAXM-0005zt-FJ for gllmg-musl@lo.gmane.org; Sun, 07 Aug 2011 23:05:32 +0200 Original-Received: (qmail 28246 invoked by uid 550); 7 Aug 2011 21:05:32 -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 28238 invoked from network); 7 Aug 2011 21:05:31 -0000 Content-Disposition: inline In-Reply-To: <9c7c1750174b56e53049c867cc1f314b@smtp1.ispfr.net> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:354 Archived-At: On Sun, Aug 07, 2011 at 11:01:45PM +0200, nicolas@atelier-web.com wrote: > Thanks for the fix, i'll test that tomorrow :) > And for -lgcc ? It would be great if i didn't have to modify the makefile > at every compilation... I don't know any clean fix on my side until I add replacements for all of the libgcc functions (and I'm still waiting to make sure nobody has strong and valid objections to that). Can you confirm that it even works on pcc without -lgcc? Or..maybe you're on a 64-bit machine where 64-bit division is native and you don't need libgcc for it. I would just make libgcc.a a symlink to libpcc.a or make it an empty .a file if it's not needed... That's an easy workaround for now that will avoid having to fiddle with the Makefile. Rich