From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/353 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.linux.lib.musl.general Subject: Re: Compilation error Date: Sun, 07 Aug 2011 23:01:45 +0200 Message-ID: <9c7c1750174b56e53049c867cc1f314b@smtp1.ispfr.net> References: <6b8e6a08f65ec476283a3699a41451d7@smtp1.ispfr.net> <20110807193658.GA29562@port70.net> <20110807193431.GI132@brightrain.aerifal.cx> <20110807195006.GJ132@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1312750924 24997 80.91.229.12 (7 Aug 2011 21:02:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 7 Aug 2011 21:02:04 +0000 (UTC) To: Original-X-From: musl-return-354-gllmg-musl=m.gmane.org@lists.openwall.com Sun Aug 07 23:01:59 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 1QqATu-0004y9-Ne for gllmg-musl@lo.gmane.org; Sun, 07 Aug 2011 23:01:58 +0200 Original-Received: (qmail 26535 invoked by uid 550); 7 Aug 2011 21:01:58 -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 26527 invoked from network); 7 Aug 2011 21:01:58 -0000 In-Reply-To: <20110807195006.GJ132@brightrain.aerifal.cx> X-Sender: nicolas@atelier-web.com User-Agent: RoundCube Webmail/0.4-beta Xref: news.gmane.org gmane.linux.lib.musl.general:353 Archived-At: 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... Nick On Sun, 7 Aug 2011 15:50:06 -0400, Rich Felker wrote: > On Sun, Aug 07, 2011 at 03:34:31PM -0400, Rich Felker wrote: >> > btw pcc cannot build a correct musl now >> > clock_gettime refers to a weak symbol >> > but pcc does not know __attribute__((weak)) >> > so __vdso_clock_gettime ends up being >> > an undefined symbol >> > >> > (there are various kinds of weakref related >> > attributes and it's a known defect in pcc >> > http://pcc.ludd.ltu.se/jira/browse/PCC-362 ) >> > >> > musl mostly uses weak aliases which happen >> > to work with pcc imho clock_gettime is the >> > only exception.. >> >> I'll try to work up a fix... > > It should be working with latest commit. If not, please tell me what > goes wrong. > > Rich