This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: getting fatal error: asm/prctl.h: No such file or directory
- From: Stephen Kirby <thinjogger at gmail dot com>
- To: "Carlos O'Donell" <carlos at systemhalted dot org>
- Cc: libc-help at sourceware dot org
- Date: Fri, 11 Oct 2019 17:32:00 -0600
- Subject: Re: getting fatal error: asm/prctl.h: No such file or directory
- References: <CAKhKqCBi-o1yegCEPwqopA6UreahVTxUCog6jF0-7Sk0wSmKCA@mail.gmail.com> <CAE2sS1j3egQ=za=VLFd+obpw6pH=yufqpA4s1bcAzT3Z8DjQkA@mail.gmail.com>
Thanks Carlos. Changing the target to arm-linux-gnueabi got me past the
problems!
Now just need to start cross-compiling code...
Best,
Steve
On Fri, Oct 11, 2019 at 1:26 PM Carlos O'Donell <carlos@systemhalted.org>
wrote:
> On Fri, Oct 11, 2019 at 2:50 PM Stephen Kirby <thinjogger@gmail.com>
> wrote:
>
> > I was able to circumvent this error by NOT specifying --host, but only
> > specifying --build=x86_64-linux-gnu and --target=arm-android-eabi.
> > However, not sure this is the proper solution here.
> > **Any ideas here as to whether what I have done here is reasonable?
>
> I don't think arm-android-eabi is a valid target triplet. I've always
> use arm-linux-gnueabi, since you are targetting the linux kernel and
> using the EABI (new ABI).
>
> Likewise use arm-linux-gnueabihf for hard-float procedure call standard.
>
> Cheers,
> Carlos.
>