NetBSD Problem Report #38345
From yamt@mwd.biglobe.ne.jp Mon Mar 31 05:52:56 2008
Return-Path: <yamt@mwd.biglobe.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id EA4E863B8BC
for <gnats-bugs@gnats.NetBSD.org>; Mon, 31 Mar 2008 05:52:55 +0000 (UTC)
Message-Id: <20080331055253.2FB9D11704@yamt.dyndns.org>
Date: Mon, 31 Mar 2008 14:52:53 +0900 (JST)
From: yamt@mwd.biglobe.ne.jp
Reply-To: yamt@mwd.biglobe.ne.jp
To: gnats-bugs@gnats.NetBSD.org
Subject: link errors when using ghc-6.8.2nb1 package
X-Send-Pr-Version: 3.95
>Number: 38345
>Category: pkg
>Synopsis: link errors when using ghc-6.8.2nb1 package
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 31 05:55:00 +0000 2008
>Last-Modified: Fri Dec 15 13:52:33 +0000 2023
>Originator: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release: NetBSD 4.99.58
>Organization:
>Environment:
System: NetBSD bear.yamanet 4.99.40 NetBSD 4.99.40 (build.bear5) #2: Fri Dec 7 22:20:21 JST 2007 takashi@kaeru:/usr/home/takashi/work/kernel/build.bear5 i386
Architecture: i386
Machine: i386
>Description:
after updating ghc package from ghc-6.6 to ghc-6.8.2nb1,
i'm seeing the following link error.
i don't know if it's a problem of pkgsrc or ghc-6.8.2 itself.
% uname -a
NetBSD nfskuro 4.99.58 NetBSD 4.99.58 (b.trunk) #231: Sun Mar 30 22:30:37 JST 2008 takashi@nfskuro:/home/takashi/work/kernel/b.trunk i386
% cat a.hs
import Control.Parallel
main = putStrLn $ par "foo" "bar"
% ghc a.hs
a.o: In function `siS_info':
: undefined reference to `parallelzm1zi0zi0zi0_ControlziParallel_par_closure'
a.o: In function `__stginit_Main_':
: undefined reference to `__stginit_parallelzm1zi0zi0zi0_ControlziParallel_'
a.o: In function `siS_srt':
: undefined reference to `parallelzm1zi0zi0zi0_ControlziParallel_par_closure'
%
>How-To-Repeat:
see above.
>Fix:
>Release-Note:
>Audit-Trail:
From: Curt Sampson <cjs@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: Re: pkg/38345 link errors when using ghc-6.8.2nb1 package
Date: Mon, 31 Mar 2008 15:34:37 +0900
Additional notes: the problem exists on 4-branch as well
NetBSD lucky.cynic.net 4.0_STABLE NetBSD 4.0_STABLE (THINKPAD-4-$Revision: 980 $) #0: Thu Jan 10 16:06:42 JST 2008 cjs@dyadic.cynic.net:/u/netbsd/build/i386-4.2007-12-31/obj/u/netbsd/src-4/sys/arch/i386/compile/THINKPAD-4 i386
Also, neither ghci nor runghc have this problem:
$ runghc a.hs
bar
$
Responsible-Changed-From-To: pkg-manager->kristerw
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Tue, 01 Apr 2008 00:08:48 +0000
Responsible-Changed-Why:
Over to maintainer.
Responsible-Changed-From-To: kristerw->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 15 Dec 2023 13:52:33 +0000
Responsible-Changed-Why:
Back to role account
>Unformatted:
(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-2023
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.