NetBSD Problem Report #26098

Received: (qmail 20703 invoked by uid 605); 28 Jun 2004 14:22:15 -0000
Message-Id: <E1Bex1Q-0007Je-Ug@absd.org>
Date: Mon, 28 Jun 2004 15:22:12 +0100
From: abs@absd.org
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: abs@absd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: Gcc toolchain guru needed for gcc3 mozilla
X-Send-Pr-Version: 3.95

>Number:         26098
>Category:       pkg
>Synopsis:       Gcc toolchain guru needed for gcc4 mozilla
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    taya
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 28 14:23:00 +0000 2004
>Closed-Date:    
>Last-Modified:  Wed Dec 20 08:32:22 +0000 2006
>Originator:     David Brownlee
>Release:        NetBSD 2.0_BETA
>Organization:

>Environment:


System: NetBSD fu 2.0_BETA NetBSD 2.0_BETA (_FU_) #0: Thu Jun 24 20:12:33 BST 2004 abs@tll.i.purplei.com:/var/obj/acorn32/files/netbsd/2.0/sys/arch/acorn32/compile/_FU_ acorn32
Architecture: arm32
Machine: acorn32
>Description:
        Mozilla needs CPU/OS/Compiler specific xptc glue for each
        platform. NetBSD/arm has this for gcc 2.95, but not for gcc3.x.
        Links has code for both 2.95 and 3.x. We need an ARM toolchain
        expert to take a look at what would be needed to fixup for
	NetBSD/arm and gcc3?

        The files are in mozilla/xpcom/reflect/xptcall/src/md/unix in
        a standard mozilla distribution.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->taya
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Tue, 15 Mar 2005 16:34:29 +0000
Responsible-Changed-Why:
Over to maintainer.


State-Changed-From-To: open->feedback
State-Changed-By: joerg@netbsd.org
State-Changed-When: Thu, 05 Oct 2006 15:50:11 +0000
State-Changed-Why:
Is the help still needed for firefox/seamonkey/...?


State-Changed-From-To: feedback->open
State-Changed-By: abs@netbsd.org
State-Changed-When: Wed, 20 Dec 2006 08:32:22 +0000
State-Changed-Why:
Issue is still present in gcc4 and firefox2

Tail end of build log from NetBSD 4.0BETA2 on a shark is:

c++  -DSQLITE_THREAD_OVERRIDE_LOCK=0 -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2  -I/usr/pkg/xorg/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2 -pipe -mcpu=strongarm110 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -mcpu=strongarm110 -Dunix -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -o xpcshell xpcshell.o  -Wl,-R/usr/pkg/lib/firefox -L/usr/pkg/xorg/lib -Wl,-R/usr/pkg/xorg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib   -L../../../../dist/bin -L../../../../dist/lib -L.. /../../../dist/bin -lmozjs -L../../../../dist/bin -lxpcom -lxpcom_core  -L../../../../dist/lib -lplds4 -lplc4 -lnspr4 -L/usr/pkg/xorg/lib -L/usr/pkg/lib -L/usr/lib -pthread  -lm     -Wl,--export-dynamic
../../../../dist/bin/libxpcom_core.so: undefined reference to `nsXPTCStubBase::Stub203()'
../../../../dist/bin/libxpcom_core.so: undefined reference to `nsXPTCStubBase::Stub156()'
../../../../dist/bin/libxpcom_core.so: undefined reference to `nsXPTCStubBase::Stub184()'
../../../../dist/bin/libxpcom_core.so: undefined reference to `nsXPTCStubBase::Stub128()'
[... many similar lines ...]
[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/var/obj/pkg/www/firefox2/work/.gcc/bin/g++ -DSQLITE_THREAD_OVERRIDE_LOCK=0 -DPNG_NO_ASSEMBLER_CODE -I/var/obj/pkg/www/firefox2/work/.buildlink/include -I/var/obj/pkg/www/firefox2/work/.buildlink/include/freetype2 -I/var/obj/pkg/www/firefox2/work/.x11-buildlink/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -O2 -pipe -mcpu=strongarm110 -mcpu=strongarm110 -Dunix -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -o xpcshell xpcshell.o -Wl,-R/usr/pkg/lib/firefox -L/var/obj/pkg/www/firefox2/work/.x11-buildlink/lib -Wl,-R/usr/pkg/xorg/lib -L/var/obj/pkg/www/firefox2/work/.buildlink/lib -Wl,-R/usr/pkg/lib -L../../../../dist/bin -L../../../../dist/lib -pthread -Wl,--export-dynamic  -lmozjs -lxpcom -lxpcom_core -lplds4 -lplc4 -lnspr4 -lm
make[3]: *** [xpcshell] Error 1
make[3]: Leaving directory `/var/obj/pkg/www/firefox2/work/mozilla/js/src/xpconnect/shell'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/var/obj/pkg/www/firefox2/work/mozilla/js/src/xpconnect'
make[1]: *** [tier_9] Error 2
make[1]: Leaving directory `/var/obj/pkg/www/firefox2/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2


>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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.