NetBSD Problem Report #50192

From martin@duskware.de  Thu Sep  3 07:23:43 2015
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 01F9AA65BA
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  3 Sep 2015 07:23:43 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: assembler "warnings" when building arm oabi compat libs
X-Send-Pr-Version: 3.95

>Number:         50192
>Category:       port-arm
>Synopsis:       assembler "warnings" when building arm oabi compat libs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    mrg
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 03 07:25:00 +0000 2015
>Closed-Date:    Mon Jun 21 20:03:24 +0000 2021
>Last-Modified:  Mon Jun 21 20:03:24 +0000 2021
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.21
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD space-truckin.duskware.de 7.99.21 NetBSD 7.99.21 (CUBIETRUCK) #214: Mon Aug 31 10:58:53 CEST 2015 martin@night-owl.duskware.de:/usr/src/sys/arch/evbarm/compile/CUBIETRUCK evbarm
Architecture: earmv7hfeb
Machine: evbarm
>Description:

When building for earmv7hfeb during creation of the compat libraries there
are various (scary) assembler messages generated, here are a few examples
from libdns:

{standard input}: Assembler messages:
{standard input}:8665: rdhi, rdlo and rm must all be different
--- rdata.go ---
{standard input}: Assembler messages:
{standard input}:1694: rdhi, rdlo and rm must all be different
{standard input}:1719: rdhi, rdlo and rm must all be different
--- resolver.go ---
{standard input}:18657: rdhi, rdlo and rm must all be different


>How-To-Repeat:
build.sh -m evbearmv7hf-eb |& fgrep "{standard input}"

>Fix:
n/a

>Release-Note:

>Audit-Trail:
From: Masao Uebayashi <uebayasi@gmail.com>
To: "gnats-bugs@netbsd.org" <gnats-bugs@netbsd.org>
Cc: "port-arm-maintainer@netbsd.org" <port-arm-maintainer@netbsd.org>, 
	"gnats-admin@netbsd.org" <gnats-admin@netbsd.org>, "netbsd-bugs@netbsd.org" <netbsd-bugs@netbsd.org>
Subject: Re: port-arm/50192: assembler "warnings" when building arm oabi
 compat libs
Date: Thu, 3 Sep 2015 17:38:30 +0900

 --089e0118221632f3a3051ed3b564
 Content-Type: text/plain; charset=UTF-8

 This is probably because COMPILE.c was overwritten by the one in sys.mk.
 Should be fixed now, hopefully.

 On Thursday, September 3, 2015, <martin@netbsd.org> wrote:

 > >Number:         50192
 > >Category:       port-arm
 > >Synopsis:       assembler "warnings" when building arm oabi compat libs
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    port-arm-maintainer
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Thu Sep 03 07:25:00 +0000 2015
 > >Originator:     Martin Husemann
 > >Release:        NetBSD 7.99.21
 > >Organization:
 > The NetBSD Foundation, Inc.
 > >Environment:
 > System: NetBSD space-truckin.duskware.de 7.99.21 NetBSD 7.99.21
 > (CUBIETRUCK) #214: Mon Aug 31 10:58:53 CEST 2015
 > martin@night-owl.duskware.de:/usr/src/sys/arch/evbarm/compile/CUBIETRUCK
 > evbarm
 > Architecture: earmv7hfeb
 > Machine: evbarm
 > >Description:
 >
 > When building for earmv7hfeb during creation of the compat libraries there
 > are various (scary) assembler messages generated, here are a few examples
 > from libdns:
 >
 > {standard input}: Assembler messages:
 > {standard input}:8665: rdhi, rdlo and rm must all be different
 > --- rdata.go ---
 > {standard input}: Assembler messages:
 > {standard input}:1694: rdhi, rdlo and rm must all be different
 > {standard input}:1719: rdhi, rdlo and rm must all be different
 > --- resolver.go ---
 > {standard input}:18657: rdhi, rdlo and rm must all be different
 >
 >
 > >How-To-Repeat:
 > build.sh -m evbearmv7hf-eb |& fgrep "{standard input}"
 >
 > >Fix:
 > n/a
 >
 >

 --089e0118221632f3a3051ed3b564
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable

 This is probably because COMPILE.c was overwritten by the one in <a href=3D=
 "http://sys.mk">sys.mk</a>.=C2=A0 Should be fixed now, hopefully.<span></sp=
 an><br><br>On Thursday, September 3, 2015,  &lt;<a href=3D"mailto:martin@ne=
 tbsd.org">martin@netbsd.org</a>&gt; wrote:<br><blockquote class=3D"gmail_qu=
 ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
 ">&gt;Number:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A050192<br>
 &gt;Category:=C2=A0 =C2=A0 =C2=A0 =C2=A0port-arm<br>
 &gt;Synopsis:=C2=A0 =C2=A0 =C2=A0 =C2=A0assembler &quot;warnings&quot; when=
  building arm oabi compat libs<br>
 &gt;Confidential:=C2=A0 =C2=A0no<br>
 &gt;Severity:=C2=A0 =C2=A0 =C2=A0 =C2=A0serious<br>
 &gt;Priority:=C2=A0 =C2=A0 =C2=A0 =C2=A0medium<br>
 &gt;Responsible:=C2=A0 =C2=A0 port-arm-maintainer<br>
 &gt;State:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 open<br>
 &gt;Class:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 sw-bug<br>
 &gt;Submitter-Id:=C2=A0 =C2=A0net<br>
 &gt;Arrival-Date:=C2=A0 =C2=A0Thu Sep 03 07:25:00 +0000 2015<br>
 &gt;Originator:=C2=A0 =C2=A0 =C2=A0Martin Husemann<br>
 &gt;Release:=C2=A0 =C2=A0 =C2=A0 =C2=A0 NetBSD 7.99.21<br>
 &gt;Organization:<br>
 The NetBSD Foundation, Inc.<br>
 &gt;Environment:<br>
 System: NetBSD <a href=3D"http://space-truckin.duskware.de" target=3D"_blan=
 k">space-truckin.duskware.de</a> 7.99.21 NetBSD 7.99.21 (CUBIETRUCK) #214: =
 Mon Aug 31 10:58:53 CEST 2015 martin@night-owl.duskware.de:/usr/src/sys/arc=
 h/evbarm/compile/CUBIETRUCK evbarm<br>
 Architecture: earmv7hfeb<br>
 Machine: evbarm<br>
 &gt;Description:<br>
 <br>
 When building for earmv7hfeb during creation of the compat libraries there<=
 br>
 are various (scary) assembler messages generated, here are a few examples<b=
 r>
 from libdns:<br>
 <br>
 {standard input}: Assembler messages:<br>
 {standard input}:8665: rdhi, rdlo and rm must all be different<br>
 --- rdata.go ---<br>
 {standard input}: Assembler messages:<br>
 {standard input}:1694: rdhi, rdlo and rm must all be different<br>
 {standard input}:1719: rdhi, rdlo and rm must all be different<br>
 --- resolver.go ---<br>
 {standard input}:18657: rdhi, rdlo and rm must all be different<br>
 <br>
 <br>
 &gt;How-To-Repeat:<br>
 build.sh -m evbearmv7hf-eb |&amp; fgrep &quot;{standard input}&quot;<br>
 <br>
 &gt;Fix:<br>
 n/a<br>
 <br>
 </blockquote>

 --089e0118221632f3a3051ed3b564--

From: matthew green <mrg@eterna.com.au>
To: Masao Uebayashi <uebayasi@gmail.com>
Cc: "port-arm-maintainer@netbsd.org" <port-arm-maintainer@netbsd.org>,
    "gnats-admin@netbsd.org" <gnats-admin@netbsd.org>,
    "netbsd-bugs@netbsd.org" <netbsd-bugs@netbsd.org>,
    "gnats-bugs@netbsd.org" <gnats-bugs@netbsd.org>
Subject: re: port-arm/50192: assembler "warnings" when building arm oabi compat libs
Date: Thu, 03 Sep 2015 18:43:14 +1000

 > This is probably because COMPILE.c was overwritten by the one in sys.mk.
 > Should be fixed now, hopefully.

 this has nothing to do with kernel compiles :)


 i found adding "-mcpu=arm10" or earlier fixes this particular
 assembler warning (note -- it doesn't break the build.)  arm11*,
 cortex*, etc., all trigger it.  probably something to put in
 ARM_APCS_FLAGS for the 32bit parts of compat/arm/oabi/bsd.oabi.mk.


 .mrg.

Responsible-Changed-From-To: port-arm-maintainer->mrg
Responsible-Changed-By: mrg@NetBSD.org
Responsible-Changed-When: Sun, 20 Jun 2021 08:28:11 +0000
Responsible-Changed-Why:
i send fixes for pullups.


State-Changed-From-To: open->pending-pullups
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Sun, 20 Jun 2021 08:28:11 +0000
State-Changed-Why:
i send fixes for pullups.


From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50192 CVS commit: [netbsd-9] src/compat/arm/oabi
Date: Mon, 21 Jun 2021 17:40:43 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Mon Jun 21 17:40:43 UTC 2021

 Modified Files:
 	src/compat/arm/oabi [netbsd-9]: bsd.oabi.mk

 Log Message:
 Apply patch, requested by mrg in ticket #1309 (no corresponding
 change in HEAD, oabi has been removed):

 	compat/arm/oabi/bsd.oabi.mk		(apply patch)

 Fix PR 50192.


 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.4.18.1 src/compat/arm/oabi/bsd.oabi.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50192 CVS commit: [netbsd-8] src/compat/arm/oabi
Date: Mon, 21 Jun 2021 17:43:18 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Mon Jun 21 17:43:18 UTC 2021

 Modified Files:
 	src/compat/arm/oabi [netbsd-8]: bsd.oabi.mk

 Log Message:
 Apply patch, requested by mrg in ticket #1684 (no corresponding
 change in HEAD, oabi has been removed):

 	compat/arm/oabi/bsd.oabi.mk		(apply patch)

 Fix PR 50192.


 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.4.8.1 src/compat/arm/oabi/bsd.oabi.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: mrg@NetBSD.org
State-Changed-When: Mon, 21 Jun 2021 20:03:24 +0000
State-Changed-Why:
pullups done, thanks martin.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.