[PATCH] building lnt tools to test cross-compiling

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Feb 13 08:40:57 PST 2014


On 13 February 2014 11:12, Robert Lytton <robert at xmos.com> wrote:
> Hi Rafael,
>
> I may be able to patch in a dummy interface so that it builds - but being able to run is another matter!
> The errors include:
>   error: unknown type name 'rlim_t'
>   warning: implicit declaration of function 'kill'
>   error: use of undeclared identifier 'SIGKILL'
>   error: use of undeclared identifier 'SIGALRM'
>   error: use of undeclared identifier 'RLIMIT_NPROC'
>   warning: implicit declaration of function 'getrusage'
>   warning: implicit declaration of function 'getrlimit'
>   warning: implicit declaration of function 'setrlimit'
>   error: use of undeclared identifier 'RLIMIT_CPU'
>   error: use of undeclared identifier 'RLIMIT_STACK'
>   error: use of undeclared identifier 'RLIMIT_DATA'
>   error: use of undeclared identifier 'RLIMIT_FSIZE'
>   error: use of undeclared identifier 'RLIMIT_CORE'
>   error: use of undeclared identifier 'RLIMIT_NOFILE'
>   ...
>

OK. I guess the patch is probably fine then.

Daniel, what do you think?

Cheers,
Rafael



More information about the llvm-commits mailing list