From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9991 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl-cross-make / litecross improvements Date: Wed, 4 May 2016 10:15:43 +0200 Message-ID: <20160504081542.GV22574@port70.net> References: <20160503044835.GA5517@brightrain.aerifal.cx> <20160503113942.GS22574@port70.net> <20160503180230.GL21636@brightrain.aerifal.cx> <20160503201622.GT22574@port70.net> <20160503215705.GU22574@port70.net> <20160504035344.GQ21636@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 X-Trace: ger.gmane.org 1462349760 1382 80.91.229.3 (4 May 2016 08:16:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 May 2016 08:16:00 +0000 (UTC) Cc: j-core@j-core.org To: musl@lists.openwall.com Original-X-From: musl-return-10004-gllmg-musl=m.gmane.org@lists.openwall.com Wed May 04 10:15:59 2016 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 1axryQ-00059s-JF for gllmg-musl@m.gmane.org; Wed, 04 May 2016 10:15:58 +0200 Original-Received: (qmail 29766 invoked by uid 550); 4 May 2016 08:15:55 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 29743 invoked from network); 4 May 2016 08:15:54 -0000 Mail-Followup-To: musl@lists.openwall.com, j-core@j-core.org Content-Disposition: inline In-Reply-To: <20160504035344.GQ21636@brightrain.aerifal.cx> User-Agent: Mutt/1.5.24 (2015-08-30) Xref: news.gmane.org gmane.linux.lib.musl.general:9991 Archived-At: * Rich Felker [2016-05-03 23:53:44 -0400]: > On Tue, May 03, 2016 at 11:57:05PM +0200, Szabolcs Nagy wrote: > > * Szabolcs Nagy [2016-05-03 22:16:22 +0200]: > > > * Rich Felker [2016-05-03 14:02:30 -0400]: > > > > On Tue, May 03, 2016 at 01:39:43PM +0200, Szabolcs Nagy wrote: > > > > > i think the usr/ and lib64/ symlinks are useful > > > > > (so it can be used as rootfs without fiddling > > > > > with etc/ld-musl*.path). > > > > > > > > Yes. Is there a good way to override that in gcc or should we just > > > > make the symlinks? > > > > > > > > > > output/lib64 can be eliminated by > > > COMMON_CONFIG += --libdir=/lib > > > > > > output/x86_64-linux-musl/lib64 install path is trickier: > > > it is controlled by the $toolexeclibdir make variable. > > > which is set according to $CC -print-multi-os-directory > > > which is controlled by multilib and multilib_defaults from > > > $CC -dumpspecs which comes from multilib.h generated by > > > genmultilib based on parameters from config/i386/t-linux64 > > > > > > > it was not clear if the t-linux64 thing could be overridden, but > > > > GCC_CONFIG += --with-multilib-list= > > > > fixes it (the lib dir is lib/ then). > > Hmm, on x86_64 Alpine, gcc -print-multi-os-directory shows ../lib but > with -m32 it shows ../lib32. Does that mean there's some way to make > it behave sanely? Or are they just patching it? http://git.alpinelinux.org/cgit/aports/plain/main/gcc/gcc-pure64.patch