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:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 03 07:25:00 +0000 2015
>Last-Modified:  Thu Sep 03 08:45: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

>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.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.