From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6367 Path: news.gmane.org!not-for-mail From: Michael Newsgroups: gmane.linux.lib.musl.general Subject: Re: Re: gthread_once Date: Sun, 19 Oct 2014 11:08:24 +1100 Message-ID: References: <20141018101813.GB16659@port70.net> <20141018154518.GE32028@brightrain.aerifal.cx> <20141018181430.GC16659@port70.net> <20141018190231.GG32028@brightrain.aerifal.cx> <1413660336.5021.1036.camel@eris.loria.fr> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11346a709726b50505bb65ac X-Trace: ger.gmane.org 1413677323 14752 80.91.229.3 (19 Oct 2014 00:08:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Oct 2014 00:08:43 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6380-gllmg-musl=m.gmane.org@lists.openwall.com Sun Oct 19 02:08:38 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 1Xfe34-0006mY-70 for gllmg-musl@plane.gmane.org; Sun, 19 Oct 2014 02:08:38 +0200 Original-Received: (qmail 17966 invoked by uid 550); 19 Oct 2014 00:08:37 -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 17958 invoked from network); 19 Oct 2014 00:08:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=C7o+3RFxEF7wdacjNwtE+SSbUfCwaG4J8TSqqPdterg=; b=o/02b4FkPFSLxwAaY6jtBtZQ9qj0Ti8pTMKFbvKQ0RcBwi/iL8C2vhrx1mRXTNjU+2 Z487FD7B6tVsvh8xsotUXAK6icURXPq8My89hVFpKf6EFFx+ioUbCN6WFdDVbIeVtt53 LIuKkQfeXu/rj5czzZC02fmzVokgvDxcnyiQQwvQpWpUrZhV3h8SuPqHVhpMvxDD/g8w QSMKzs2/BRBSgcbcHULTC+djFycYrhKnB6BLFgw0QiNBbTEClqjxNR3pQFNns/0dh3/k ciLbtXUpvWOtdMOaY6bUwTmLlYW730F24clLvziSVjk8sJVFnDOPbnSwrLPY3KehF7Rb 0gag== X-Received: by 10.180.219.106 with SMTP id pn10mr9176182wic.63.1413677304971; Sat, 18 Oct 2014 17:08:24 -0700 (PDT) In-Reply-To: <1413660336.5021.1036.camel@eris.loria.fr> Xref: news.gmane.org gmane.linux.lib.musl.general:6367 Archived-At: --001a11346a709726b50505bb65ac Content-Type: multipart/alternative; boundary=001a11346a709726b10505bb65aa --001a11346a709726b10505bb65aa Content-Type: text/plain; charset=UTF-8 Thanks guys, i added my patch (attached) to musl-cross build system (patches directory) and that fixed the problem. On Sun, Oct 19, 2014 at 6:25 AM, Jens Gustedt wrote: > Am Samstag, den 18.10.2014, 15:02 -0400 schrieb Rich Felker: > > Can't it be fixed just by changing gthr-posix.h not to use weak > > references ever, and rebuilding gcc's target libs (or all of gcc)? > > Looking how this done for that gthread thing, __GXX_WEAK__ could be a > good candidate to tweak. Hopefully this used consistently in other > parts of the library. > > Jens > > -- > :: INRIA Nancy Grand Est ::: AlGorille ::: ICube/ICPS ::: > :: ::::::::::::::: office Strasbourg : +33 368854536 :: > :: :::::::::::::::::::::: gsm France : +33 651400183 :: > :: ::::::::::::::: gsm international : +49 15737185122 :: > :: http://icube-icps.unistra.fr/index.php/Jens_Gustedt :: > > > > > --001a11346a709726b10505bb65aa Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks guys, i added my patch (attached) to musl-cross bui= ld system (patches directory) and that fixed the problem.


On Sun, Oct 19= , 2014 at 6:25 AM, Jens Gustedt <jens.gustedt@inria.fr> = wrote:
Am Samstag, den 18.10.2014, 15:02 = -0400 schrieb Rich Felker:
> Can't it be fixed just by changing gthr-posix.h n= ot to use weak
> references ever, and rebuilding gcc's target libs (or all of gcc)?=

Looking how this done for that gthread thing, __GXX_WEAK__ could be = a
good candidate to tweak. Hopefully this used consistently in other
parts of the library.

Jens

--
:: INRIA Nancy Grand Est ::: AlGorille ::: ICube/ICPS :::
:: ::::::::::::::: office Strasbourg : +33 368854536=C2=A0 =C2=A0::
:: :::::::::::::::::::::: gsm France : +33 651400183=C2=A0 =C2=A0::
:: ::::::::::::::: gsm international : +49 15737185122 ::
:: http://icube-icps.unistra.fr/index.php/Jens_Gustedt ::





--001a11346a709726b10505bb65aa-- --001a11346a709726b50505bb65ac Content-Type: text/plain; charset=US-ASCII; name="gcc-4.8.3-gthread.diff" Content-Disposition: attachment; filename="gcc-4.8.3-gthread.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i1fmxgji1 LS0tIGEvbGliZ2NjL2d0aHIuaAkyMDE0LTEwLTE5IDA5OjM4OjQyLjg3ODIzODU2NiArMTEwMAor KysgYi9saWJnY2MvZ3Roci5oCTIwMTQtMTAtMTkgMDk6NTA6NDIuODkzNzQwMzQwICsxMTAwCkBA IC0xMzYsMTAgKzEzNiw4IEBACiAvKiBUaGUgcGUtY29mZiB3ZWFrIHN1cHBvcnQgaXNuJ3QgZnVs bHkgY29tcGF0aWJsZSB0byBFTEYncyB3ZWFrLgogICAgRm9yIHN0YXRpYyBsaWJyYXJpZXMgaXQg bWlnaHQgd291bGQgd29yaywgYnV0IGFzIHdlIG5lZWQgdG8gZGVhbAogICAgd2l0aCBzaGFyZWQg dmVyc2lvbnMgdG9vLCB3ZSBkaXNhYmxlIGl0IGZvciBtaW5ndy10YXJnZXRzLiAgKi8KLSNpZmRl ZiBfX01JTkdXMzJfXwogI3VuZGVmIEdUSFJFQURfVVNFX1dFQUsKICNkZWZpbmUgR1RIUkVBRF9V U0VfV0VBSyAwCi0jZW5kaWYKIAogI2lmbmRlZiBHVEhSRUFEX1VTRV9XRUFLCiAjZGVmaW5lIEdU SFJFQURfVVNFX1dFQUsgMQo= --001a11346a709726b50505bb65ac--