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



 > 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




Home | Main Index | Thread Index | Old Index