From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9035 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Musl bug, or, am I losing my mind? Date: Thu, 31 Dec 2015 15:35:55 -0500 Message-ID: <20151231203555.GP238@brightrain.aerifal.cx> References: <1315337459.141890.1451583062461.JavaMail.yahoo.ref@mail.yahoo.com> <1315337459.141890.1451583062461.JavaMail.yahoo@mail.yahoo.com> <20151231203429.GF23362@port70.net> 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 1451594171 17457 80.91.229.3 (31 Dec 2015 20:36:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Dec 2015 20:36:11 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9048-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 31 21:36:10 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 1aEjxC-0004An-4P for gllmg-musl@m.gmane.org; Thu, 31 Dec 2015 21:36:10 +0100 Original-Received: (qmail 5588 invoked by uid 550); 31 Dec 2015 20:36:08 -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 5563 invoked from network); 31 Dec 2015 20:36:07 -0000 Content-Disposition: inline In-Reply-To: <20151231203429.GF23362@port70.net> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:9035 Archived-At: On Thu, Dec 31, 2015 at 09:34:29PM +0100, Szabolcs Nagy wrote: > * Guided Muscle [2015-12-31 17:31:02 +0000]: > > Recompiled and installed musl 1.1.12 freshly downloaded from the musl web site. > > configure;make -j2;make install. > > > > Oops - just read the INSTALL file in the musl 1.1.12 directory. I'm using gcc 4.90. > > Installed gcc 4.8; recompiled musl 1.1.12; > > configure;make -j2;make install. > > > > Test: > > lua test.lua | ../cdb -c c.cdb > > cdb: (stdin): bad format > > > > i think you still use the old libc.so > make install cannot override /lib/ld-*.so without root > > run > > lua test.lua | musl-build-dir/libc.so ../cdb -c c.cdb I think he was trying to static-link, but adding -static to CFLAGS does not do that. It needs to be in LDFLAGS. Rich