> -----Original Message-----
> From: Philippe Mathieu-Daudé <philippe.mathieu.da...@gmail.com> On
> Behalf Of Philippe Mathieu-Daudé
> Sent: Monday, September 13, 2021 3:19 PM
> To: Waksmanski, Lukasz <lukasz.waksman...@dolby.com>; qemu-
> de...@nongnu.org
> Cc: Taylor Simpson <tsimp...@quicinc.com>; Brian Cain
> <bc...@quicinc.com>
> Subject: Re: [qemu-hexagon] Error mapping file: Invalid argument
> 
> WARNING: This email originated from outside of Qualcomm. Please be wary of
> any links or attachments, and do not enable macros.
> 
> Cc'ing Hexagon team.
> 
> On 9/13/21 8:38 PM, Waksmanski, Lukasz wrote:
...
> > Running in qemu produces error somewhere in mmap
> >
> > ➜  ~ qemu-hexagon
> > ./test
> >
> > qemu-hexagon: ./test: Error mapping file: Invalid argument
...
> >
> > Could you tell me where the problem is? Is it because I’m compiling for
> > QuRT, and qemu uses is linux-user? Or is something else?

Yes, that's roughly it.

In order to build Linux userspace binaries, you can use the toolchain in the 
QEMU container or this one 
https://github.com/quic/toolchain_for_hexagon/releases/tag/v2021.09.10

-Brian

Reply via email to