NetBSD Problem Report #53881

From www@NetBSD.org  Wed Jan 16 07:24:50 2019
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id A20A97A17C
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 16 Jan 2019 07:24:50 +0000 (UTC)
Message-Id: <20190116072449.2B62C7A210@mollari.NetBSD.org>
Date: Wed, 16 Jan 2019 07:24:49 +0000 (UTC)
From: esdohr@marcusesdohr.de
Reply-To: esdohr@marcusesdohr.de
To: gnats-bugs@NetBSD.org
Subject: Error building spidermonkey52 from pkgsrc
X-Send-Pr-Version: www-1.0

>Number:         53881
>Category:       port-i386
>Synopsis:       Error building spidermonkey52 from pkgsrc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 16 07:25:01 +0000 2019
>Closed-Date:    Wed Apr 17 02:55:16 +0000 2024
>Last-Modified:  Wed Apr 17 02:55:16 +0000 2024
>Originator:     Marcus
>Release:        current
>Organization:
>Environment:
NetBSD localhost 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 2018  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
..
/usr/pkgsrc/lang/spidermonkey52/work/.cwrapper/bin/c++ -std=gnu++11 -o Unified_cpp_js_src1.o -c  -I/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/dist/system_wrappers -include /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/config/gcc_hidden.h -DNDEBUG=1 -DTRIMMED=1 -DENABLE_SHARED_ARRAY_BUFFER -DEXPORT_JS_API -DMOZ_HAS_MOZGLUE -I/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src -I/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/js/src  -I/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/dist/include  -I/usr/pkg/include/nspr        -fPIC -DPIC  -DMOZILLA_CLIENT -include /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/js/src/js-confdefs.h -MD -MP -MF .deps/Unified_cpp_js_src1.o.pp -I/usr/pkg/include/nspr -I/usr/include -I/usr/pkg/include -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wc++14-compat -Wno-error=mayb
 e-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -fno-lifetime-dse -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include/nspr -I/usr/include -I/usr/pkg/include -march=i586 -Dunix -fno-rtti -fno-exceptions -fno-math-errno -pthread -pipe -I/usr/pkg/include  -g -O -fomit-frame-pointer  -I/usr/pkg/include -Wno-shadow -Werror=format  /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/js/src/Unified_cpp_js_src1.cpp
In file included from /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/js/src/Unified_cpp_js_src1.cpp:47:0:
/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/builtin/SymbolObject.cpp:234:1: internal compiler error: Segmentation fault
 }
 ^
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
gmake[3]: *** [/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/config/rules.mk:953: Unified_cpp_js_src1.o] Error 1
gmake[3]: Leaving directory '/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/js/src'
gmake[2]: *** [/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/config/recurse.mk:71: js/src/target] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src'
gmake[1]: *** [/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/config/recurse.mk:33: compile] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src'
gmake: *** [/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/config/rules.mk:523: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/lang/spidermonkey52
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/spidermonkey52
>How-To-Repeat:
run make package in /usr/pkgsrc/lang/spidermonkey52
>Fix:

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-i386/53881: Error building spidermonkey52 from pkgsrc
Date: Wed, 16 Jan 2019 08:38:49 +0100

 On Wed, Jan 16, 2019 at 07:25:01AM +0000, esdohr@marcusesdohr.de wrote:
 > >Release:        current
 > NetBSD localhost 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 201=
 8  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/i386/compile/GENERIC i386

 Can you clarify? You say "current" but the kernel is 8.0 (just minor nit,=
 =20
 probably unrelated to your issue.

 > /usr/pkgsrc/lang/spidermonkey52/work/.cwrapper/bin/c++ -std=3Dgnu++11 -o =
 Unified_cpp_js_src1.o -c  -I/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7=
 =2E4/js/src/dist/system_wrappers -include /usr/pkgsrc/lang/spidermonkey52/w=
 ork/mozjs-52.7.4/config/gcc_hidden.h -DNDEBUG=3D1 -DTRIMMED=3D1 -DENABLE_SH=
 ARED_ARRAY_BUFFER -DEXPORT_JS_API -DMOZ_HAS_MOZGLUE -I/usr/pkgsrc/lang/spid=
 ermonkey52/work/mozjs-52.7.4/js/src -I/usr/pkgsrc/lang/spidermonkey52/work/=
 mozjs-52.7.4/js/src/js/src  -I/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52=
 =2E7.4/js/src/dist/include  -I/usr/pkg/include/nspr        -fPIC -DPIC  -DM=
 OZILLA_CLIENT -include /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js=
 /src/js/src/js-confdefs.h -MD -MP -MF .deps/Unified_cpp_js_src1.o.pp -I/usr=
 /pkg/include/nspr -I/usr/include -I/usr/pkg/include -Wall -Wc++11-compat -W=
 empty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign=
 -compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offs=
 etof -Wc++14-compat -Wno-error=3Dmayb
 >  e-uninitialized -Wno-error=3Ddeprecated-declarations -Wno-error=3Darray-=
 bounds -fno-lifetime-dse -O2 -D_FORTIFY_SOURCE=3D2 -I/usr/pkg/include/nspr =
 -I/usr/include -I/usr/pkg/include -march=3Di586 -Dunix -fno-rtti -fno-excep=
 tions -fno-math-errno -pthread -pipe -I/usr/pkg/include  -g -O -fomit-frame=
 -pointer  -I/usr/pkg/include -Wno-shadow -Werror=3Dformat  /usr/pkgsrc/lang=
 /spidermonkey52/work/mozjs-52.7.4/js/src/js/src/Unified_cpp_js_src1.cpp
 > In file included from /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/j=
 s/src/js/src/Unified_cpp_js_src1.cpp:47:0:
 > /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/builtin/SymbolOb=
 ject.cpp:234:1: internal compiler error: Segmentation fault

 This usually means the compiler ran out of memory. Do you have a *huge* swap
 space configured? Run "swapctl -l" as root to check. How much memory does
 your machine have?

 Martin

From: Marcus Esdohr <esdohr@marcusesdohr.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/53881: Error building spidermonkey52 from pkgsrc
Date: Wed, 16 Jan 2019 09:00:15 +0100

 swapctl -l

 Device      512-blocks     Used    Avail Capacity  Priority
 /dev/wd0b      7341185        0  7341185     0%    0

 The machine has 8GB memory.

 Marcus

 Am 2019-01-16 08:40, schrieb Martin Husemann:
 > The following reply was made to PR port-i386/53881; it has been noted 
 > by GNATS.
 > 
 > From: Martin Husemann <martin@duskware.de>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: port-i386/53881: Error building spidermonkey52 from pkgsrc
 > Date: Wed, 16 Jan 2019 08:38:49 +0100
 > 
 >  On Wed, Jan 16, 2019 at 07:25:01AM +0000, esdohr@marcusesdohr.de 
 > wrote:
 >  > >Release:        current
 >  > NetBSD localhost 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 
 > UTC 201=
 >  8  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/i386/compile/GENERIC 
 > i386
 > 
 >  Can you clarify? You say "current" but the kernel is 8.0 (just minor 
 > nit,=
 >  =20
 >  probably unrelated to your issue.
 > 
 >  > /usr/pkgsrc/lang/spidermonkey52/work/.cwrapper/bin/c++ 
 > -std=3Dgnu++11 -o =
 >  Unified_cpp_js_src1.o -c  
 > -I/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7=
 >  =2E4/js/src/dist/system_wrappers -include 
 > /usr/pkgsrc/lang/spidermonkey52/w=
 >  ork/mozjs-52.7.4/config/gcc_hidden.h -DNDEBUG=3D1 -DTRIMMED=3D1 
 > -DENABLE_SH=
 >  ARED_ARRAY_BUFFER -DEXPORT_JS_API -DMOZ_HAS_MOZGLUE 
 > -I/usr/pkgsrc/lang/spid=
 >  ermonkey52/work/mozjs-52.7.4/js/src 
 > -I/usr/pkgsrc/lang/spidermonkey52/work/=
 >  mozjs-52.7.4/js/src/js/src  
 > -I/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52=
 >  =2E7.4/js/src/dist/include  -I/usr/pkg/include/nspr        -fPIC -DPIC 
 >  -DM=
 >  OZILLA_CLIENT -include 
 > /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js=
 >  /src/js/src/js-confdefs.h -MD -MP -MF .deps/Unified_cpp_js_src1.o.pp 
 > -I/usr=
 >  /pkg/include/nspr -I/usr/include -I/usr/pkg/include -Wall 
 > -Wc++11-compat -W=
 >  empty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith 
 > -Wsign=
 >  -compare -Wtype-limits -Wunreachable-code -Wwrite-strings 
 > -Wno-invalid-offs=
 >  etof -Wc++14-compat -Wno-error=3Dmayb
 >  >  e-uninitialized -Wno-error=3Ddeprecated-declarations 
 > -Wno-error=3Darray-=
 >  bounds -fno-lifetime-dse -O2 -D_FORTIFY_SOURCE=3D2 
 > -I/usr/pkg/include/nspr =
 >  -I/usr/include -I/usr/pkg/include -march=3Di586 -Dunix -fno-rtti 
 > -fno-excep=
 >  tions -fno-math-errno -pthread -pipe -I/usr/pkg/include  -g -O 
 > -fomit-frame=
 >  -pointer  -I/usr/pkg/include -Wno-shadow -Werror=3Dformat  
 > /usr/pkgsrc/lang=
 >  
 > /spidermonkey52/work/mozjs-52.7.4/js/src/js/src/Unified_cpp_js_src1.cpp
 >  > In file included from 
 > /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/j=
 >  s/src/js/src/Unified_cpp_js_src1.cpp:47:0:
 >  > 
 > /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/builtin/SymbolOb=
 >  ject.cpp:234:1: internal compiler error: Segmentation fault
 > 
 >  This usually means the compiler ran out of memory. Do you have a 
 > *huge* swap
 >  space configured? Run "swapctl -l" as root to check. How much memory 
 > does
 >  your machine have?
 > 
 >  Martin

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, esdohr@marcusesdohr.de
Subject: Re: port-i386/53881: Error building spidermonkey52 from pkgsrc
Date: Wed, 16 Jan 2019 10:29:26 +0100

 On Wed, Jan 16, 2019 at 09:20:01AM +0000, Marcus Esdohr wrote:
 >  The machine has 8GB memory.

 But you are running NetBSD/i386 on it? That sounds ... wrong.


 Martin

From: Marcus Esdohr <esdohr@marcusesdohr.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/53881: Error building spidermonkey52 from pkgsrc
Date: Wed, 16 Jan 2019 08:53:26 +0100

 The branch of pkgsrc is current. The kernel and the rest of the system 
 is a standard 8.0 freshly installed and without any modifications.


 Am 2019-01-16 08:40, schrieb Martin Husemann:
 > The following reply was made to PR port-i386/53881; it has been noted 
 > by GNATS.
 > 
 > From: Martin Husemann <martin@duskware.de>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: port-i386/53881: Error building spidermonkey52 from pkgsrc
 > Date: Wed, 16 Jan 2019 08:38:49 +0100
 > 
 >  On Wed, Jan 16, 2019 at 07:25:01AM +0000, esdohr@marcusesdohr.de 
 > wrote:
 >  > >Release:        current
 >  > NetBSD localhost 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 
 > UTC 201=
 >  8  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/i386/compile/GENERIC 
 > i386
 > 
 >  Can you clarify? You say "current" but the kernel is 8.0 (just minor 
 > nit,=
 >  =20
 >  probably unrelated to your issue.
 > 
 >  > /usr/pkgsrc/lang/spidermonkey52/work/.cwrapper/bin/c++ 
 > -std=3Dgnu++11 -o =
 >  Unified_cpp_js_src1.o -c  
 > -I/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7=
 >  =2E4/js/src/dist/system_wrappers -include 
 > /usr/pkgsrc/lang/spidermonkey52/w=
 >  ork/mozjs-52.7.4/config/gcc_hidden.h -DNDEBUG=3D1 -DTRIMMED=3D1 
 > -DENABLE_SH=
 >  ARED_ARRAY_BUFFER -DEXPORT_JS_API -DMOZ_HAS_MOZGLUE 
 > -I/usr/pkgsrc/lang/spid=
 >  ermonkey52/work/mozjs-52.7.4/js/src 
 > -I/usr/pkgsrc/lang/spidermonkey52/work/=
 >  mozjs-52.7.4/js/src/js/src  
 > -I/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52=
 >  =2E7.4/js/src/dist/include  -I/usr/pkg/include/nspr        -fPIC -DPIC 
 >  -DM=
 >  OZILLA_CLIENT -include 
 > /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js=
 >  /src/js/src/js-confdefs.h -MD -MP -MF .deps/Unified_cpp_js_src1.o.pp 
 > -I/usr=
 >  /pkg/include/nspr -I/usr/include -I/usr/pkg/include -Wall 
 > -Wc++11-compat -W=
 >  empty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith 
 > -Wsign=
 >  -compare -Wtype-limits -Wunreachable-code -Wwrite-strings 
 > -Wno-invalid-offs=
 >  etof -Wc++14-compat -Wno-error=3Dmayb
 >  >  e-uninitialized -Wno-error=3Ddeprecated-declarations 
 > -Wno-error=3Darray-=
 >  bounds -fno-lifetime-dse -O2 -D_FORTIFY_SOURCE=3D2 
 > -I/usr/pkg/include/nspr =
 >  -I/usr/include -I/usr/pkg/include -march=3Di586 -Dunix -fno-rtti 
 > -fno-excep=
 >  tions -fno-math-errno -pthread -pipe -I/usr/pkg/include  -g -O 
 > -fomit-frame=
 >  -pointer  -I/usr/pkg/include -Wno-shadow -Werror=3Dformat  
 > /usr/pkgsrc/lang=
 >  
 > /spidermonkey52/work/mozjs-52.7.4/js/src/js/src/Unified_cpp_js_src1.cpp
 >  > In file included from 
 > /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/j=
 >  s/src/js/src/Unified_cpp_js_src1.cpp:47:0:
 >  > 
 > /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/builtin/SymbolOb=
 >  ject.cpp:234:1: internal compiler error: Segmentation fault
 > 
 >  This usually means the compiler ran out of memory. Do you have a 
 > *huge* swap
 >  space configured? Run "swapctl -l" as root to check. How much memory 
 > does
 >  your machine have?
 > 
 >  Martin

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org, esdohr@marcusesdohr.de
Subject: re: port-i386/53881: Error building spidermonkey52 from pkgsrc
Date: Wed, 16 Jan 2019 21:30:05 +1100

 >  The branch of pkgsrc is current. The kernel and the rest of the system 
 >  is a standard 8.0 freshly installed and without any modifications.

 so you probably only have 3.5GB of ram available.

 you could upgrade to amd64 or try the GENERIC_PAE kernel instead,
 which supports upto 64GB of ram on i386 port.

 does 'dmesg' have anything interesting?  i'm going to disagree
 with martin here and say that SIGSEGV indicates compiler bug or
 bad ram, but SIGKILL (not seen here) indicates out of ram, and
 it seems unlikely that 3.5GB + 7GB swap would be a problem.


 .mrg.

From: Marcus Esdohr <esdohr@marcusesdohr.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: re: port-i386/53881: Error building spidermonkey52 from pkgsrc
Date: Wed, 16 Jan 2019 14:28:03 +0100

 Hi,

 I will try the PAE.

 My problem is that I run NetBSD on an much older machine which take days 
 to compile anything like llvm. So I set up a NetBSD in a virtualbox on a 
 machine with much more power just to build some programs and use them on 
 the old one.

 Thanks
 Marcus


 Am 2019-01-16 11:35, schrieb matthew green:
 > The following reply was made to PR port-i386/53881; it has been noted 
 > by GNATS.
 > 
 > From: matthew green <mrg@eterna.com.au>
 > To: gnats-bugs@NetBSD.org
 > Cc: port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,
 >     netbsd-bugs@netbsd.org, esdohr@marcusesdohr.de
 > Subject: re: port-i386/53881: Error building spidermonkey52 from pkgsrc
 > Date: Wed, 16 Jan 2019 21:30:05 +1100
 > 
 >  >  The branch of pkgsrc is current. The kernel and the rest of the 
 > system
 >  >  is a standard 8.0 freshly installed and without any modifications.
 > 
 >  so you probably only have 3.5GB of ram available.
 > 
 >  you could upgrade to amd64 or try the GENERIC_PAE kernel instead,
 >  which supports upto 64GB of ram on i386 port.
 > 
 >  does 'dmesg' have anything interesting?  i'm going to disagree
 >  with martin here and say that SIGSEGV indicates compiler bug or
 >  bad ram, but SIGKILL (not seen here) indicates out of ram, and
 >  it seems unlikely that 3.5GB + 7GB swap would be a problem.
 > 
 > 
 >  .mrg.

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, esdohr@marcusesdohr.de
Subject: Re: port-i386/53881: Error building spidermonkey52 from pkgsrc
Date: Wed, 16 Jan 2019 14:35:35 +0100

 On Wed, Jan 16, 2019 at 01:30:01PM +0000, Marcus Esdohr wrote:
 >  I will try the PAE.

 Good, but with your lots of swap that should not make a difference.

 >  My problem is that I run NetBSD on an much older machine which take days 
 >  to compile anything like llvm. So I set up a NetBSD in a virtualbox on a 
 >  machine with much more power just to build some programs and use them on 
 >  the old one.

 Ah, that makes sense.

 Another question is whether the segfault is clearly reproducable or random.
 Have you tried starting the build again and see if it fails in the same place?

 Martin

From: Marcus Esdohr <esdohr@marcusesdohr.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/53881: Error building spidermonkey52 from pkgsrc
Date: Wed, 16 Jan 2019 15:06:28 +0100

 It's not reproducable but always breaks at 
 /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/config/rules.mk:953


 ...t  
 /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/js/src/Unified_cpp_js_src0.cpp
 In file included from 
 /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/gc/Barrier.h:13:0,
                   from 
 /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/jsobj.h:21,
                   from 
 /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/builtin/AtomicsObject.h:13,
                   from 
 /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/builtin/AtomicsObject.cpp:48,
                   from 
 /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/js/src/Unified_cpp_js_src0.cpp:2:
 /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/gc/StoreBuffer.h: 
 In member function 'void js::gc::StoreBuffer::putSlot(js::NativeObject*, 
 int, __int32_t, __int32_t)':
 /usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/gc/StoreBuffer.h:412:34: 
 internal compiler error: Segmentation fault
               put(bufferSlot, edge);
                                    ^
 no stack trace because unwind library not available
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <http://www.NetBSD.org/support/send-pr.html> for instructions.
 gmake[3]: *** 
 [/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/config/rules.mk:953: 
 Unified_cpp_js_src0.o] Error 1
 gmake[3]: Leaving directory 
 '/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src/js/src'
 gmake[2]: *** 
 [/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/config/recurse.mk:71: 
 js/src/target] Error 2
 gmake[2]: Leaving directory 
 '/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src'
 gmake[1]: *** 
 [/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/config/recurse.mk:33: 
 compile] Error 2
 gmake[1]: Leaving directory 
 '/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/js/src'
 gmake: *** 
 [/usr/pkgsrc/lang/spidermonkey52/work/mozjs-52.7.4/config/rules.mk:523: 
 all] Error 2
 *** Error code 2


 Am 2019-01-16 14:40, schrieb Martin Husemann:
 > The following reply was made to PR port-i386/53881; it has been noted 
 > by GNATS.
 > 
 > From: Martin Husemann <martin@duskware.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,
 > 	netbsd-bugs@netbsd.org, esdohr@marcusesdohr.de
 > Subject: Re: port-i386/53881: Error building spidermonkey52 from pkgsrc
 > Date: Wed, 16 Jan 2019 14:35:35 +0100
 > 
 >  On Wed, Jan 16, 2019 at 01:30:01PM +0000, Marcus Esdohr wrote:
 >  >  I will try the PAE.
 > 
 >  Good, but with your lots of swap that should not make a difference.
 > 
 >  >  My problem is that I run NetBSD on an much older machine which take 
 > days
 >  >  to compile anything like llvm. So I set up a NetBSD in a virtualbox 
 > on a
 >  >  machine with much more power just to build some programs and use 
 > them on
 >  >  the old one.
 > 
 >  Ah, that makes sense.
 > 
 >  Another question is whether the segfault is clearly reproducable or 
 > random.
 >  Have you tried starting the build again and see if it fails in the 
 > same place?
 > 
 >  Martin

State-Changed-From-To: open->closed
State-Changed-By: gutteridge@NetBSD.org
State-Changed-When: Wed, 17 Apr 2024 02:55:16 +0000
State-Changed-Why:
spidermonkey52 was removed from pkgsrc some time ago. Thanks for the PR, sorry you didn't get a resolution.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.