From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8640 Path: news.gmane.org!not-for-mail From: Timo Teras Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl bug or not, real or not? (Was: [musl] Update: [musl] pthread_getattr_np() vs explicit runtime) loader Date: Fri, 9 Oct 2015 08:39:22 +0300 Message-ID: <20151009083922.65a335b7@vostro> References: <20150920172237.GR12087@example.net> <20150920182728.GM17773@brightrain.aerifal.cx> <20150920193033.GS12087@example.net> <20150920194132.GO17773@brightrain.aerifal.cx> <20150930154337.GC13149@example.net> <20150930203548.GF13149@example.net> <20151006113451.GI28311@example.net> <20151006170755.GQ8645@brightrain.aerifal.cx> <20151007072753.GM28311@example.net> <20151007104339.54a05f90@vostro> <20151008164825.GY8645@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1444369182 2844 80.91.229.3 (9 Oct 2015 05:39:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Oct 2015 05:39:42 +0000 (UTC) Cc: musl@lists.openwall.com To: Rich Felker Original-X-From: musl-return-8652-gllmg-musl=m.gmane.org@lists.openwall.com Fri Oct 09 07:39:41 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1ZkQP5-0005Pm-Ul for gllmg-musl@m.gmane.org; Fri, 09 Oct 2015 07:39:40 +0200 Original-Received: (qmail 25960 invoked by uid 550); 9 Oct 2015 05:39: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 25937 invoked from network); 9 Oct 2015 05:39:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=hm36q6TzoHgzadi5Mq7e3pkrNCwNdfa+0MxGH1AoSak=; b=fBdQjk+QZenZveOtzqQXMXYGanCbo8AetNU5iNUVenNMujliJlnz5dYaiy97+AEJ1T VwiyT4G2i8+W2a9GjxNGwV3tMNpefsBQz4O1s28KlihAQ4tBV9UOXyE8Hxj1UybGFiOO MKra5yhk8GBTTe1QmRcOYGS1LI8k97exD/cwpnlzSiWyJ7GUPPMLnZl+2g5Vwa0OPZWj LmGAbfIgfeokmeg1QYjUahGphgEG9TamXNEkXbG7y3SihijBhDLFPR3o+vM3GEk9R2DR uEcP6NZsrZzfWMfXw23K/wMv2J6wBDegYnvWHYel5vrTTxhWGWwiQ/JVa1VOxBJidGaS 7thQ== X-Received: by 10.25.150.199 with SMTP id y190mr3733090lfd.35.1444369165243; Thu, 08 Oct 2015 22:39:25 -0700 (PDT) Original-Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= In-Reply-To: <20151008164825.GY8645@brightrain.aerifal.cx> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-alpine-linux-musl) Xref: news.gmane.org gmane.linux.lib.musl.general:8640 Archived-At: On Thu, 8 Oct 2015 12:48:25 -0400 Rich Felker wrote: > On Wed, Oct 07, 2015 at 10:43:39AM +0300, Timo Teras wrote: > > gcj uses boehm-gc. Alpine has patches for gcc boehm-gc. We are also > > patching gcc's gcj. You can see our full patch set at: > > http://git.alpinelinux.org/cgit/aports/tree/main/gcc > > > > Some of these may or may not fix the issue you have at had. Not sure > > how your gcc/gcj is built. > > Thank you very much for finding the cause of this. Do you know if > these patches have been submitted upstream to gcc and/or boehm? > Obviously assuming by default that __environ is the start of .data and > only doing a proper search on glibc is broken basically everywhere but > glibc. The dl_iterate_phdr stuff should probably use a configure > check; I think one already exists in gcc but the boehm-gc dir might > need its own. I think not. I did write most of those patches, but most of them are not suitable for upstreaming as-is. Additional configury magic would be needed.