qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [qemu-hexagon] Error mapping file: Invalid argument


From: Waksmanski, Lukasz
Subject: RE: [qemu-hexagon] Error mapping file: Invalid argument
Date: Mon, 13 Sep 2021 21:07:09 +0000

Thanks for pointing me to the toolchain. I'll give it a try to see how it 
works. 
However, I'm more interested in being able to use qemu-hexagon as shown in my 
example below (QuRT).
Is it possible? What kind of modifications qemu would require to make it happen?

Cheers, 
Lukasz.

-----Original Message-----
From: Brian Cain <bcain@quicinc.com> 
Sent: poniedziałek, 13 września 2021 22:53
To: Philippe Mathieu-Daudé <f4bug@amsat.org>; Waksmanski, Lukasz 
<Lukasz.Waksmanski@dolby.com>; qemu-devel@nongnu.org
Cc: Taylor Simpson <tsimpson@quicinc.com>
Subject: RE: [qemu-hexagon] Error mapping file: Invalid argument

> -----Original Message-----
> From: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> On 
> Behalf Of Philippe Mathieu-Daudé
> Sent: Monday, September 13, 2021 3:19 PM
> To: Waksmanski, Lukasz <Lukasz.Waksmanski@dolby.com>; qemu- 
> devel@nongnu.org
> Cc: Taylor Simpson <tsimpson@quicinc.com>; Brian Cain 
> <bcain@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

[Prev in Thread] Current Thread [Next in Thread]