From owner-freebsd-ports@FreeBSD.ORG Wed Jun 21 15:14:20 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F04C16A47A; Wed, 21 Jun 2006 15:14:20 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC71F43D4C; Wed, 21 Jun 2006 15:14:19 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id 080213E1; Wed, 21 Jun 2006 10:14:19 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id 5156261C2B; Wed, 21 Jun 2006 10:14:18 -0500 (CDT) Date: Wed, 21 Jun 2006 10:14:18 -0500 From: "Matthew D. Fuller" To: freebsd-ports@freebsd.org Message-ID: <20060621151418.GT83482@over-yonder.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: haskell@freebsd.org Subject: lang/ghc build failure and possible workaround X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2006 15:14:20 -0000 On an early-June -CURRENT, ghc blows up pretty early with: /usr/ports/lang/ghc/work/ghc-6.4.2-boot/bin/i386-unknown-freebsd/ghc-6.4.2 -M -optdep-f -optdep.depend -osuf o -H16m -O -I. -Iinclude -Rghc-timing -I../../../libraries -fglasgow-exts -no-recomp Compat/Directory.hs Compat/RawSystem.hs Distribution/Compat/FilePath.hs Distribution/Compat/ReadP.hs Distribution/Compiler.hs Distribution/GetOpt.hs Distribution/InstalledPackageInfo.hs Distribution/License.hs Distribution/Package.hs Distribution/ParseUtils.hs Distribution/Version.hs Language/Haskell/Extension.hs System/Directory/Internals.hs gmake[3]: *** [depend] Segmentation fault: 11 (core dumped) A hint shows up earlier in the 'configure' process, with: checking for path to top of build tree... /usr/ports/lang/ghc/work/ghc-6.4.2 checking version of ghc... Segmentation fault (core dumped) unknown I note that the bootstrap ghc is a FreeBSD 6 binary, and seems to link to libc (.6) and libpthread (.2), so this may be an occurance of the issues discussed on the -current list a few weeks back about incompatibilities between the new libpthread and the old libc. As a workaround, I libmap.conf'd libc.so.6 to libc.so.7 for [ghc-6.4.2], and sent it off. It seems to work, though at the moment it's 56 minutes of CPU time into LiberateCase.hi, so I'm not sure if it really works... -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.