NetBSD Problem Report #49439

From ryo_on@yk.rim.or.jp  Mon Dec  1 10:38:44 2014
Return-Path: <ryo_on@yk.rim.or.jp>
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 6282AA57FE
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  1 Dec 2014 10:38:44 +0000 (UTC)
Message-Id: <20141201103840.AD8722003C578@mail.SiriusCloud.jp>
Date: Mon,  1 Dec 2014 19:38:40 +0900 (JST)
From: ryoon@NetBSD.org
Reply-To: ryoon@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: __aeabi_unwind_cpp_pr0 and __aeabi_unwind_cpp_pr1 are not defined anywhere
X-Send-Pr-Version: 3.95

>Number:         49439
>Category:       port-arm
>Synopsis:       __aeabi_unwind_cpp_pr0 and __aeabi_unwind_cpp_pr1 are not defined anywhere
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 01 10:40:01 +0000 2014
>Closed-Date:    Mon Dec 01 10:53:58 +0000 2014
>Last-Modified:  Mon Dec 01 13:10:00 +0000 2014
>Originator:     Ryo ONODERA
>Release:        NetBSD 7.99.2
>Organization:

>Environment:


System: NetBSD angelcake.elements.tetera.org 7.99.2 NetBSD 7.99.2 (GENERIC) #0: Thu Nov 27 14:44:25 JST 2014 ryo_on@angelcake.elements.tetera.org:/usr/world/7.99/amd64/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
__aeabi_unwind_cpp_pr0 and __aeabi_unwind_cpp_pr1 are not defined in any
libraries. At least evbearmv6hf-el, evbearmv7hf-el, and evbearm.
There are required to build pkgsrc/www/firefox.

>How-To-Repeat:
$ grep -r __aeabi_unwind_cpp_pr /

>Fix:

I have no idea.
I have heard that Linux/ARM has these symbols in libgcc_eh.a.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: joerg@NetBSD.org
State-Changed-When: Mon, 01 Dec 2014 10:53:58 +0000
State-Changed-Why:
Not a bug. We don't use ARM EHABI.


From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org, joerg@NetBSD.org
Cc: 
Subject: Re: port-arm/49439 (__aeabi_unwind_cpp_pr0 and
 __aeabi_unwind_cpp_pr1 are not defined anywhere)
Date: Mon, 01 Dec 2014 20:00:01 +0900 (JST)

 From: joerg@NetBSD.org, Date: Mon,  1 Dec 2014 10:53:59 +0000 (UTC)

 > Synopsis: __aeabi_unwind_cpp_pr0 and __aeabi_unwind_cpp_pr1 are not defined anywhere
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: joerg@NetBSD.org
 > State-Changed-When: Mon, 01 Dec 2014 10:53:58 +0000
 > State-Changed-Why:
 > Not a bug. We don't use ARM EHABI.

 Thanks for your information.
 But /usr/bin/as has these symbols.
 Is this intentional?
 If so, why unused symbol is used by /usr/bin/as?

 --
 Ryo ONODERA // ryo_on@yk.rim.or.jp
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: port-arm-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, ryoon@NetBSD.org
Subject: Re: port-arm/49439 (__aeabi_unwind_cpp_pr0 and
 __aeabi_unwind_cpp_pr1 are not defined anywhere)
Date: Mon, 1 Dec 2014 12:35:18 +0100

 On Mon, Dec 01, 2014 at 11:05:01AM +0000, Ryo ONODERA wrote:
 > The following reply was made to PR port-arm/49439; it has been noted by GNATS.
 > 
 > From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
 > To: gnats-bugs@NetBSD.org, joerg@NetBSD.org
 > Cc: 
 > Subject: Re: port-arm/49439 (__aeabi_unwind_cpp_pr0 and
 >  __aeabi_unwind_cpp_pr1 are not defined anywhere)
 > Date: Mon, 01 Dec 2014 20:00:01 +0900 (JST)
 > 
 >  From: joerg@NetBSD.org, Date: Mon,  1 Dec 2014 10:53:59 +0000 (UTC)
 >  
 >  > Synopsis: __aeabi_unwind_cpp_pr0 and __aeabi_unwind_cpp_pr1 are not defined anywhere
 >  > 
 >  > State-Changed-From-To: open->closed
 >  > State-Changed-By: joerg@NetBSD.org
 >  > State-Changed-When: Mon, 01 Dec 2014 10:53:58 +0000
 >  > State-Changed-Why:
 >  > Not a bug. We don't use ARM EHABI.
 >  
 >  Thanks for your information.
 >  But /usr/bin/as has these symbols.
 >  Is this intentional?
 >  If so, why unused symbol is used by /usr/bin/as?

 If you use ARM EHABI annotation, as will create the corresponding ARM
 specific output. That's intentional.

 Joerg

From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org, joerg@britannica.bec.de
Cc: 
Subject: Re: port-arm/49439 (__aeabi_unwind_cpp_pr0 and
 __aeabi_unwind_cpp_pr1 are not defined anywhere)
Date: Mon, 01 Dec 2014 21:34:23 +0900 (JST)

 From: Joerg Sonnenberger <joerg@britannica.bec.de>, Date: Mon,  1 Dec 2014 11:40:01 +0000 (UTC)

 > The following reply was made to PR port-arm/49439; it has been noted by GNATS.
 > 
 > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: port-arm-maintainer@netbsd.org, gnats-admin@netbsd.org,
 > 	netbsd-bugs@netbsd.org, ryoon@NetBSD.org
 > Subject: Re: port-arm/49439 (__aeabi_unwind_cpp_pr0 and
 >  __aeabi_unwind_cpp_pr1 are not defined anywhere)
 > Date: Mon, 1 Dec 2014 12:35:18 +0100
 > 
 >  On Mon, Dec 01, 2014 at 11:05:01AM +0000, Ryo ONODERA wrote:
 >  > The following reply was made to PR port-arm/49439; it has been noted by GNATS.
 >  > 
 >  > From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
 >  > To: gnats-bugs@NetBSD.org, joerg@NetBSD.org
 >  > Cc: 
 >  > Subject: Re: port-arm/49439 (__aeabi_unwind_cpp_pr0 and
 >  >  __aeabi_unwind_cpp_pr1 are not defined anywhere)
 >  > Date: Mon, 01 Dec 2014 20:00:01 +0900 (JST)
 >  > 
 >  >  From: joerg@NetBSD.org, Date: Mon,  1 Dec 2014 10:53:59 +0000 (UTC)
 >  >  
 >  >  > Synopsis: __aeabi_unwind_cpp_pr0 and __aeabi_unwind_cpp_pr1 are not defined anywhere
 >  >  > 
 >  >  > State-Changed-From-To: open->closed
 >  >  > State-Changed-By: joerg@NetBSD.org
 >  >  > State-Changed-When: Mon, 01 Dec 2014 10:53:58 +0000
 >  >  > State-Changed-Why:
 >  >  > Not a bug. We don't use ARM EHABI.
 >  >  
 >  >  Thanks for your information.
 >  >  But /usr/bin/as has these symbols.
 >  >  Is this intentional?
 >  >  If so, why unused symbol is used by /usr/bin/as?
 >  
 >  If you use ARM EHABI annotation, as will create the corresponding ARM
 >  specific output. That's intentional.

 Thank you very much.
 yuv_row_arm.s uses .fnstart/.fnend. They are unwind aware directives.
 They should be removed or so.

 --
 Ryo ONODERA // ryo_on@yk.rim.or.jp
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: port-arm-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, ryoon@NetBSD.org
Subject: Re: port-arm/49439 (__aeabi_unwind_cpp_pr0 and
 __aeabi_unwind_cpp_pr1 are not defined anywhere)
Date: Mon, 1 Dec 2014 13:43:31 +0100

 On Mon, Dec 01, 2014 at 12:35:00PM +0000, Ryo ONODERA wrote:
 >  yuv_row_arm.s uses .fnstart/.fnend. They are unwind aware directives.
 >  They should be removed or so.

 I'll take care of it once I am done with cwrappers.

 Joerg

From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org, joerg@britannica.bec.de
Cc: 
Subject: Re: port-arm/49439 (__aeabi_unwind_cpp_pr0 and
 __aeabi_unwind_cpp_pr1 are not defined anywhere)
Date: Mon, 01 Dec 2014 21:58:19 +0900 (JST)

 From: Joerg Sonnenberger <joerg@britannica.bec.de>, Date: Mon,  1 Dec 2014 12:45:01 +0000 (UTC)

 > The following reply was made to PR port-arm/49439; it has been noted by GNATS.
 > 
 > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: port-arm-maintainer@netbsd.org, gnats-admin@netbsd.org,
 > 	netbsd-bugs@netbsd.org, ryoon@NetBSD.org
 > Subject: Re: port-arm/49439 (__aeabi_unwind_cpp_pr0 and
 >  __aeabi_unwind_cpp_pr1 are not defined anywhere)
 > Date: Mon, 1 Dec 2014 13:43:31 +0100
 > 
 >  On Mon, Dec 01, 2014 at 12:35:00PM +0000, Ryo ONODERA wrote:
 >  >  yuv_row_arm.s uses .fnstart/.fnend. They are unwind aware directives.
 >  >  They should be removed or so.
 >  
 >  I'll take care of it once I am done with cwrappers.

 Thank you.
 Another problematic file is
 xpcom/reflect/xptcall/md/unix/xptcstubs_arm_netbsd.cpp ,
 and it has .fnstart/.fnend in its inline asm.
 I will try to define them only under Linux.
 I will restart www/firefox build on evbearmv7hf-el.

 --
 Ryo ONODERA // ryo_on@yk.rim.or.jp
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-arm/49439 (__aeabi_unwind_cpp_pr0 and
 __aeabi_unwind_cpp_pr1 are not defined anywhere)
Date: Mon, 1 Dec 2014 14:02:16 +0100

 On Mon, Dec 01, 2014 at 01:00:06PM +0000, Ryo ONODERA wrote:
 >  Another problematic file is
 >  xpcom/reflect/xptcall/md/unix/xptcstubs_arm_netbsd.cpp ,
 >  and it has .fnstart/.fnend in its inline asm.
 >  I will try to define them only under Linux.
 >  I will restart www/firefox build on evbearmv7hf-el.

 Take a look at devel/libffi.

 Joerg

From: Ryo ONODERA <ryo_on@yk.rim.or.jp>
To: gnats-bugs@NetBSD.org, joerg@britannica.bec.de
Cc: 
Subject: Re: port-arm/49439 (__aeabi_unwind_cpp_pr0 and
 __aeabi_unwind_cpp_pr1 are not defined anywhere)
Date: Mon, 01 Dec 2014 22:08:10 +0900 (JST)

 From: Joerg Sonnenberger <joerg@britannica.bec.de>, Date: Mon,  1 Dec 2014 13:05:01 +0000 (UTC)

 > The following reply was made to PR port-arm/49439; it has been noted by GNATS.
 > 
 > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: port-arm/49439 (__aeabi_unwind_cpp_pr0 and
 >  __aeabi_unwind_cpp_pr1 are not defined anywhere)
 > Date: Mon, 1 Dec 2014 14:02:16 +0100
 > 
 >  On Mon, Dec 01, 2014 at 01:00:06PM +0000, Ryo ONODERA wrote:
 >  >  Another problematic file is
 >  >  xpcom/reflect/xptcall/md/unix/xptcstubs_arm_netbsd.cpp ,
 >  >  and it has .fnstart/.fnend in its inline asm.
 >  >  I will try to define them only under Linux.
 >  >  I will restart www/firefox build on evbearmv7hf-el.
 >  
 >  Take a look at devel/libffi.

 devel/libffi/patches/patch-src_arm_sysv.S is insightful.
 Thanks for your pointer.

 --
 Ryo ONODERA // ryo_on@yk.rim.or.jp
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3

>Unformatted:

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.