Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 13 Nov 2014 18:23:07 -0500
From: stephen Turner <stephen.n.turner@...il.com>
To: musl@...ts.openwall.com
Subject: Re: issues with headers?

It looks like your right, I just ran a compile specifying musl headers and
this time it worked. I need to review my process yet again and see what
changed that fixed this issue.

I new this wouldn't be easy but man i didn't expect it to feel this finicky
or fickle.

thanks,
stephen

On Thu, Nov 13, 2014 at 5:13 PM, Justin Cormack <
justin@...cialbusservice.com> wrote:

> On Thu, Nov 13, 2014 at 10:02 PM, stephen Turner
> <stephen.n.turner@...il.com> wrote:
> > I have been trying various ways of compiling a musl system using gcc and
> > found that GCC-4.7.3 does not seem to want to compile against musl
> headers.
> > I install the linux headers in /usr/include then i install musl and move
> its
> > headers to /usr/include. then i specify -I/usr/include to gcc and it
> errors
> > every time (technically its /cross/usr/include as i have a separated env
> > from my host system) The same compile works fine against musl libs but
> not
> > the headers. The only change made from a working to a non-working system
> > appears to be the use of the musl generated headers.
> >
> > In the scripts to build a musl toolchain (such as gregorr) the header
> > location is not specified but sysroot is used (which obviously isn't
> linking
> > against the headers)  I first started to see this issue when chroot'ing
> into
> > a newly created musl gcc system.
> >
> > Is musl suitable as a stand alone libc replacement? Should i not be
> building
> > against musl headers? If there is any reports or details you want me to
> > provide please let me know.
>
> You want to use a chroot or a VM with Musl if you are having these
> issues. Sabotage or Alpine are good options. It will save a lot of
> grief. Otherwise you are doing somethnig wrong that is hard to
> diagnose without much moer info.
>
> Justin
>

Content of type "text/html" skipped

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.