NetBSD-Bugs archive

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

Re: port-arm/47401: armv6 targeted build uses instructions not available on armv6



The following reply was made to PR port-arm/47401; it has been noted by GNATS.

From: Matt Thomas <matt%3am-software.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost
Subject: Re: port-arm/47401: armv6 targeted build uses instructions not 
available on armv6
Date: Thu, 3 Jan 2013 20:52:54 -0800

 On Jan 3, 2013, at 5:10 PM, pooka%iki.fi@localhost wrote:
 
 >> Number:         47401
 >> Category:       port-arm
 >> Synopsis:       armv6 targeted build uses instructions not available =
 on armv6
 >> Confidential:   no
 >> Severity:       non-critical
 >> Priority:       medium
 >> Responsible:    port-arm-maintainer
 >> State:          open
 >> Class:          sw-bug
 >> Submitter-Id:   net
 >> Arrival-Date:   Fri Jan 04 01:10:00 +0000 2013
 >> Originator:     Antti Kantee
 >> Release:       =20
 >> Organization:
 >> Environment:
 >> Description:
 > When compiling src/common/lib/libc/arch/arm/atomic with -march=3Darmv6 =
 (gas 2.23), you get e.g. following errors:
 >=20
 > atomic_add_64.S:42: Error: selected processor does not support ARM =
 mode `ldrexd r0,[r4]'
 > atomic_add_64.S:45: Error: selected processor does not support ARM =
 mode `strexd ip,r2,[r4]'
 > atomic_add_64.S:65: Error: selected processor does not support ARM =
 mode `ldrexd r0,[r4]'
 > atomic_add_64.S:68: Error: selected processor does not support ARM =
 mode `strexd ip,r0,[r4]'
 >=20
 > Additionally, at least arm/include/lock.h has uses _ARM_ARCH_6_ in a =
 similar inaccurate fashion with ldrexb.
 
 Note all the arm11 (36,76) supported by NetBSD support those =
 instructions.
 You need to -march=3Darmv6z to get gas to shut up.=
 


Home | Main Index | Thread Index | Old Index