Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151231203555.GP238@brightrain.aerifal.cx>
Date: Thu, 31 Dec 2015 15:35:55 -0500
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: Musl bug, or, am I losing my mind?

On Thu, Dec 31, 2015 at 09:34:29PM +0100, Szabolcs Nagy wrote:
> * Guided Muscle <atguarded-gizmo@...oo.com> [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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.