[llvm-commits] Build failure with musl libc

Joerg Sonnenberger joerg at britannica.bec.de
Sun Jan 6 15:31:03 PST 2013


On Sun, Jan 06, 2013 at 02:15:50PM +0400, ojab wrote:
> Joerg Sonnenberger <joerg at ...> writes:
> 
> >
> > On Tue, Jan 01, 2013 at 11:12:34PM +0400, ojab wrote:
> > > Hello list,
> > >
> > > currently LLVM fails to build on linux with musl libc [1] due to two
> > > issues, patch can be found in the attached file:
> > >
> > > 1) stderr/out/in are 'const void*' in musl, which leads to:
> >
> > That doesn't make sense from a standard perspective.
> >
> > Joerg
> >
> 
> According to POSIX stderr/out/in are defined [1] as
> >extern FILE *stderr, *stdin, *stdout;
> 
> and FILE is "A structure containing information about a file."
> (<stdio.h> [2]), so AFAIU it isn't necessary 'void*'.
> Which exactly standard do you meaning?

The const part specifically.

Joerg



More information about the llvm-commits mailing list