From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8629 Path: news.gmane.org!not-for-mail From: u-uy74@aetey.se 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: Wed, 7 Oct 2015 08:48:30 +0200 Message-ID: <20151007064830.GL28311@example.net> References: <20150920063909.GO12087@example.net> <20150920163405.GK17773@brightrain.aerifal.cx> <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> <20151006143653.GA4552@newbook> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1444200547 24133 80.91.229.3 (7 Oct 2015 06:49:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Oct 2015 06:49:07 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8641-gllmg-musl=m.gmane.org@lists.openwall.com Wed Oct 07 08:49:01 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 1ZjiX6-0004As-Qq for gllmg-musl@m.gmane.org; Wed, 07 Oct 2015 08:49:00 +0200 Original-Received: (qmail 5853 invoked by uid 550); 7 Oct 2015 06:48: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 5832 invoked from network); 7 Oct 2015 06:48:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fripost.org; h= in-reply-to:content-disposition:content-type:content-type :mime-version:references:message-id:subject:subject:from:from :date:date; s=20140703; t=1444200525; x=1446014926; bh=yBHus1NEt TaPuAc6HpfPLbb2Sm3CHuguUaCcW1vn+Z8=; b=JAyoWVUhOVPjIaLAenbPL2gyA +bncEHRPKoBGyPT9wxwIxRD/wQJV7uJFd1wFYwpfsm6qvWEH4nQK5zqEIPlCS8KA dD+OjPsMRP781oPrVpFU31XWJmI1/jeHOtd29kcIGGysVb6yF+uoKcdYYAkglFie 9hYfDuMqHcrzZa6jnQ= X-Virus-Scanned: Debian amavisd-new at fripost.org Content-Disposition: inline In-Reply-To: <20151006143653.GA4552@newbook> Xref: news.gmane.org gmane.linux.lib.musl.general:8629 Archived-At: On Tue, Oct 06, 2015 at 07:36:54AM -0700, Isaac Dunham wrote: > > > ---------------------------------------------------------------- > > > # cat /proc/sys/kernel/randomize_va_space > > > 2 > > > > > > $ /pathtomusllibc.so --library-path /pathtogcc-5libs /pathto/jv-convert --help > > > Usage: jv-convert [OPTIONS] [INPUTFILE [OUTPUTFILE]] > > > > > > # echo 0 > /proc/sys/kernel/randomize_va_space > > > > > > $ /pathtomusllibc.so --library-path /pathtogcc-5libs /pathto/jv-convert --help > > > Segmentation fault > > > ---------------------------------------------------------------- > > > > > > Would anybody try this and confirm or refute? > It's just that nobody cares about gcj, I think. A good point, indeed. > Now that Alpine has moved to GCC 5.2, I've tried it with the distro packages. > I've installed gcc-java; > with both randomize_va_space = 0 and 2, specifying an alternate path to the > default musl dynamic linker in the same way you did does not result in a > segfault. > Same goes with a local build of musl, using -Os. Thanks Isaac, appreciated. Apparently the breakage is not as simple as it looked in my test here. > HTH, It does. > Isaac Rune