[LLVMdev] linux build problem

Rafael Espindola espindola at google.com
Tue Jan 20 08:44:35 PST 2009


2009/1/20 John Regehr <regehr at cs.utah.edu>:
> I'm away from my Linux machines, if this hasn't been resolved by tonight
> I'll send more details.
>
> THe problem in cplus-dem.c is that CPP is conditionally including code that
> comes when HAVE_STDLIB is not defined, including an alternate protptype for
> malloc() that conflicts with the existing one.  This is just what causes the
> error I sent-- no idea what the root cause is.

I have posted a patch that fixes it for me. Waiting for someone to
test it on Darwin.

> Thanks,
>
> John


Cheers,
-- 
Rafael Avila de Espindola

Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047



More information about the llvm-dev mailing list