NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-arm32/50218: ARM executables linked with native linker on cortex-a9 raises SIGILL
The following reply was made to PR port-arm32/50218; it has been noted by GNATS.
From: Zaid Ibrahime <mzaidibrahime%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: port-arm32-maintainer%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
netbsd-bugs%netbsd.org@localhost
Subject: Re: port-arm32/50218: ARM executables linked with native linker on
cortex-a9 raises SIGILL
Date: Tue, 8 Sep 2015 11:12:40 +0530
--94eb2c032e60958c6f051f35d5ba
Content-Type: text/plain; charset=UTF-8
> Small programs(<6K size) does not result in SIGILL as all the
instruction are properly swapped for endianness by the linker.
> Are you sure that it depends on size of the program?
The size may be not significant. The byte swapping happens partially.
On Mon, Sep 7, 2015 at 9:00 PM, Martin Husemann <martin%duskware.de@localhost> wrote:
> The following reply was made to PR port-arm32/50218; it has been noted by
> GNATS.
>
> From: Martin Husemann <martin%duskware.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: port-arm32/50218: ARM executables linked with native linker
> on cortex-a9 raises SIGILL
> Date: Mon, 7 Sep 2015 17:26:33 +0200
>
> On Mon, Sep 07, 2015 at 03:20:00PM +0000, mzaidibrahime%gmail.com@localhost wrote:
> > Small programs(<6K size) does not result in SIGILL as all the
> instruction are properly swapped for endianness by the linker.
>
> Are you sure that it depends on size of the program?
>
> Sounds more like the bogusly stripped libgcc, see
> http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=49337
>
> The fix is only in netbsd-7 or current AFAIK.
>
> Martin
>
>
--94eb2c032e60958c6f051f35d5ba
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><span style=3D"font-size:12.8px">=C2=A0> Small programs=
(<6K size) does not result in SIGILL as all the instruction are properly=
swapped for endianness by the linker.</span><br style=3D"font-size:12.8px"=
><br style=3D"font-size:12.8px"><span style=3D"font-size:12.8px">=C2=A0>=
Are you sure that it depends on size of the program?</span><br><div><span =
style=3D"font-size:12.8px"><br></span></div><div><span style=3D"font-size:1=
2.8px">The size may be not significant. The byte swapping happens partially=
.</span></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quot=
e">On Mon, Sep 7, 2015 at 9:00 PM, Martin Husemann <span dir=3D"ltr"><<a=
href=3D"mailto:martin%duskware.de@localhost" target=3D"_blank">martin%duskware.de@localhost</a=
>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The following reply w=
as made to PR port-arm32/50218; it has been noted by GNATS.<br>
<br>
From: Martin Husemann <<a href=3D"mailto:martin%duskware.de@localhost">martin@dusk=
ware.de</a>><br>
To: gnats-bugs%NetBSD.org@localhost<br>
Cc:<br>
Subject: Re: port-arm32/50218: ARM executables linked with native linker on=
cortex-a9 raises SIGILL<br>
Date: Mon, 7 Sep 2015 17:26:33 +0200<br>
<br>
=C2=A0On Mon, Sep 07, 2015 at 03:20:00PM +0000, <a href=3D"mailto:mzaidibra=
hime%gmail.com@localhost">mzaidibrahime%gmail.com@localhost</a> wrote:<br>
=C2=A0> Small programs(<6K size) does not result in SIGILL as all the=
instruction are properly swapped for endianness by the linker.<br>
<br>
=C2=A0Are you sure that it depends on size of the program?<br>
<br>
=C2=A0Sounds more like the bogusly stripped libgcc, see<br>
=C2=A0<a href=3D"http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=
=3D49337" rel=3D"noreferrer" target=3D"_blank">http://gnats.netbsd.org/cgi-=
bin/query-pr-single.pl?number=3D49337</a><br>
<br>
=C2=A0The fix is only in netbsd-7 or current AFAIK.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
=C2=A0Martin<br>
<br>
</font></span></blockquote></div><br></div>
--94eb2c032e60958c6f051f35d5ba--
Home |
Main Index |
Thread Index |
Old Index