Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160306030230.cedf8eded77c37ec1d450f3c@asm32.info>
Date: Sun, 6 Mar 2016 03:02:30 +0200
From: John Found <johnfound@...32.info>
To: musl@...ts.openwall.com
Subject: Re: Problem with musl-gcc script. Is it bad installation?

On Sat, 5 Mar 2016 19:36:09 -0500
Rich Felker <dalias@...c.org> wrote:

> The musl-gcc script is limited in its usefulness, and was not really
> designed/tested for repurposing an existing x86_64 gcc as an i386-musl
> one. You should be able to make it work though by editing the musl-gcc
> script to remove the double quotes around "${REALGCC:-...}". If that
> works for you, this is possibly a change we should make upstream.
> 
> Rich

After the suggested change, I can start musl-gcc and it even accepts some commands as --help
But trying to use it with ./configure script again fails with:

checking for gcc... musl-gcc
checking whether the C compiler works... no
configure: error: in `/work/cwork/SQLite/sqlite-autoconf-3110100':
configure: error: C compiler cannot create executables
See `config.log' for more details

In the config.log I found the following:

configure:3234: musl-gcc    conftest.c  >&5
/usr/bin/ld: skipping incompatible /usr/local/musl/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/local/musl/lib/libc.a when searching for -lc
/usr/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status
configure:3238: $? = 1
configure:3276: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "sqlite"
| #define PACKAGE_TARNAME "sqlite"
| #define PACKAGE_VERSION "3.11.1"
| #define PACKAGE_STRING "sqlite 3.11.1"
| #define PACKAGE_BUGREPORT "http://www.sqlite.org"
| #define PACKAGE_URL ""
| #define PACKAGE "sqlite"
| #define VERSION "3.11.1"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }


Regards
-- 
http://fresh.flatassembler.net
http://asm32.info
John Found <johnfound@...32.info>

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.