NetBSD Problem Report #51613
From www@NetBSD.org Tue Nov 8 05:46:43 2016
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 "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id AAA597A2A8
for <gnats-bugs@gnats.NetBSD.org>; Tue, 8 Nov 2016 05:46:43 +0000 (UTC)
Message-Id: <20161108054642.84FDD7A2C8@mollari.NetBSD.org>
Date: Tue, 8 Nov 2016 05:46:42 +0000 (UTC)
From: jun@soum.co.jp
Reply-To: jun@soum.co.jp
To: gnats-bugs@NetBSD.org
Subject: pkgsrc/lang/ruby22-base compile failed on NetBSD/i386 201611061440Z
X-Send-Pr-Version: www-1.0
>Number: 51613
>Category: pkg
>Synopsis: pkgsrc/lang/ruby22-base compile failed on NetBSD/i386 201611061440Z
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: taca
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 08 05:50:00 +0000 2016
>Closed-Date: Mon Nov 14 03:08:51 +0000 2016
>Last-Modified: Mon Nov 14 03:08:51 +0000 2016
>Originator: Jun Ebihara
>Release: pkgsrc-current 20161108
>Organization:
SOUM Corporation
>Environment:
NetBSD seamonkey.soum.co.jp.cc.u-tokyo.ac.jp 7.99.42 NetBSD 7.99.42 (GENERIC.201611061440Z) i386
>Description:
pkgsrc/lang/ruby22-base compile failed on NetBSD/i386.
>How-To-Repeat:
cd /usr/pkgsrc/lang/ruby22-base
make
:
processing probes in object files
compiling ./enc/ascii.c
compiling ./enc/us_ascii.c
compiling ./enc/unicode.c
compiling ./enc/utf_8.c
compiling newline.c
compiling addr2line.c
compiling dmyext.c
compiling dmyenc.c
linking miniruby
`__x86.get_pc_thunk.bx' referenced in section `.text' of probes.o: defined in discarded section `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of probes.o
`__x86.get_pc_thunk.bx' referenced in section `.text.startup' of probes.o: defined in discarded section `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of probes.o
`__x86.get_pc_thunk.bx' referenced in section `.text.exit' of probes.o: defined in discarded section `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of probes.o
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/ruby22-base/work/ruby-2.2.5
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/lang/ruby22-base
*** Error code 1
>Fix:
>Release-Note:
>Audit-Trail:
From: coypu@SDF.ORG
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/51613: pkgsrc/lang/ruby22-base compile failed on NetBSD/i386
201611061440Z
Date: Tue, 8 Nov 2016 05:57:50 +0000
On Tue, Nov 08, 2016 at 05:50:00AM +0000, jun@soum.co.jp wrote:
> linking miniruby
> `__x86.get_pc_thunk.bx' referenced in section `.text' of probes.o: defined in discarded section `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of probes.o
> `__x86.get_pc_thunk.bx' referenced in section `.text.startup' of probes.o: defined in discarded section `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of probes.o
> `__x86.get_pc_thunk.bx' referenced in section `.text.exit' of probes.o: defined in discarded section `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of probes.o
toolchain/51459
"the ruby drti thing is a bug in the way older dtrace builds things
that's why we are disabling dtrace for it on various platforms
already"
-- disable dtrace for NetBSD in Makefile
Responsible-Changed-From-To: pkg-manager->taca
Responsible-Changed-By: maya@NetBSD.org
Responsible-Changed-When: Tue, 08 Nov 2016 06:01:21 +0000
Responsible-Changed-Why:
over to maintainer
From: Jun Ebihara <jun@soum.co.jp>
To: gnats-bugs@NetBSD.org, coypu@SDF.ORG
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/51613: pkgsrc/lang/ruby22-base compile failed on
NetBSD/i386 201611061440Z
Date: Tue, 08 Nov 2016 15:25:05 +0900 (JST)
From: coypu@SDF.ORG
Subject: Re: pkg/51613: pkgsrc/lang/ruby22-base compile failed on NetBSD/i386 201611061440Z
Date: Tue, 8 Nov 2016 06:00:02 +0000 (UTC)
> On Tue, Nov 08, 2016 at 05:50:00AM +0000, jun@soum.co.jp wrote:
> > linking miniruby
> > `__x86.get_pc_thunk.bx' referenced in section `.text' of probes.o: defined in discarded section `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of probes.o
> > `__x86.get_pc_thunk.bx' referenced in section `.text.startup' of probes.o: defined in discarded section `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of probes.o
> > `__x86.get_pc_thunk.bx' referenced in section `.text.exit' of probes.o: defined in discarded section `.text.__x86.get_pc_thunk.bx[__x86.get_pc_thunk.bx]' of probes.o
> toolchain/51459
> "the ruby drti thing is a bug in the way older dtrace builds things
> that's why we are disabling dtrace for it on various platforms
> already"
> -- disable dtrace for NetBSD in Makefile
pkgsrc/lang/ruby22-base/options.mk
CONFIGURE_ARGS+= --enable-dtrace=no
seems work well.
thanx.
From: "Takahiro Kambe" <taca@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/51613 CVS commit: pkgsrc/lang/ruby
Date: Sun, 13 Nov 2016 16:03:32 +0000
Module Name: pkgsrc
Committed By: taca
Date: Sun Nov 13 16:03:31 UTC 2016
Modified Files:
pkgsrc/lang/ruby: platform.mk
Log Message:
Explicitly disable dtrace on NetBSD/i386 (7.99.*).
Should be fix PR pkg/51613.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/ruby/platform.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: taca@NetBSD.org
State-Changed-When: Sun, 13 Nov 2016 16:30:11 +0000
State-Changed-Why:
Now dtrace is explicitly disabled on NetBSD/i386 and this problem
should be gone away including ruby21-base and ruby23-base.
Tested on:
NetBSD 7.99.42 (GENERIC) #0: Tue Nov 8 16:34:05 JST 2016 taca@currnet.a.back-street.net:/data/i386/obj/sys/arch/i386/compile/GENERIC
From: Jun Ebihara <jun@soum.co.jp>
To: gnats-bugs@NetBSD.org, taca@NetBSD.org
Cc: pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/51613 (pkgsrc/lang/ruby22-base compile failed on
NetBSD/i386 201611061440Z)
Date: Mon, 14 Nov 2016 11:43:18 +0900 (JST)
From: taca@NetBSD.org
Subject: Re: pkg/51613 (pkgsrc/lang/ruby22-base compile failed on NetBSD/i386 201611061440Z)
Date: Sun, 13 Nov 2016 16:30:11 +0000 (UTC)
> Now dtrace is explicitly disabled on NetBSD/i386 and this problem
> should be gone away including ruby21-base and ruby23-base.
> Tested on:
> NetBSD 7.99.42 (GENERIC) #0: Tue Nov 8 16:34:05 JST 2016 taca@currnet.a.back-street.net:/data/i386/obj/sys/arch/i386/compile/GENERIC
Thanx,Now I can build ruby22-base too and it works well.
please close this PR.
--
Jun Ebihara
State-Changed-From-To: feedback->closed
State-Changed-By: taca@NetBSD.org
State-Changed-When: Mon, 14 Nov 2016 03:08:51 +0000
State-Changed-Why:
Submitter reports the problem has gone away.
Thank you for your problem report.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.