From owner-freebsd-current@FreeBSD.ORG Sun Jun 26 01:32:49 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C353106566B; Sun, 26 Jun 2011 01:32:49 +0000 (UTC) (envelope-from pali.gabor@googlemail.com) Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by mx1.freebsd.org (Postfix) with ESMTP id 657C08FC14; Sun, 26 Jun 2011 01:32:47 +0000 (UTC) Received: by fxe6 with SMTP id 6so715041fxe.17 for ; Sat, 25 Jun 2011 18:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:sender:message-id:date:from:organization :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=O0s1kLWDnuMc+P1gDYBTtcxtuSWyUc1nk+WdyvHTvfc=; b=ZQdnSQKy61BNuKU6BlbkNiTDURzeJ8K4Xiytb4TSruBHD0clmFQt3ph57z8uG0KTar 8VLpbVdWA5zvu1jvTgZy6UT5RCCaOKyhqgduE9FakuAgx5y0n9CxqTK0vy7v6kNDuZZW Nk2BDqxhDczCVocdkoNUXjBJDivXbG6xzIfmo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:date:from:organization:user-agent:mime-version:to :cc:subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=taYd+0/qKDQPxTZp/3Kys/YrTcoAEEDVKcmFWbWaMbVA6TDfvGUz/0B9X5J/baYlIo zXsRqZ/MroE+2GSSdyQf6Eqyf077exXSisiNamBKqF7U/q40CP+zO92AGu+su5xC4HlW 7I7ZLgAHm1dKrcAF2WmnZ4NLr6UhP8R4NHeMY= Received: by 10.223.53.85 with SMTP id l21mr6697386fag.26.1309050491437; Sat, 25 Jun 2011 18:08:11 -0700 (PDT) Received: from [192.168.1.7] (catv-86-101-5-202.catv.broadband.hu [86.101.5.202]) by mx.google.com with ESMTPS id n13sm2580669fab.46.2011.06.25.18.08.10 (version=SSLv3 cipher=OTHER); Sat, 25 Jun 2011 18:08:10 -0700 (PDT) Sender: =?UTF-8?B?UMOBTEkgR8OhYm9yIErDoW5vcw==?= Message-ID: <4E06863F.7010104@FreeBSD.org> Date: Sun, 26 Jun 2011 03:07:11 +0200 From: Gabor PALI Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.9) Gecko/20100925 Thunderbird/3.1.4 MIME-Version: 1.0 To: Eric McCorkle References: <4E0679AA.20100@shadowsun.net> In-Reply-To: <4E0679AA.20100@shadowsun.net> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, freebsd-ports@freebsd.org Subject: Re: GHC Port on 9-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2011 01:32:49 -0000 Hi Eric, On 06/26/11 02:13, Eric McCorkle wrote: > The GHC (Glasgow Haskell Compiler) was marked broken by pointyhat > sometime back in May, following its update to GHC 7.0.3_1. I'm not > sure if anyone has looked at this, but it doesn't appear anyone has. Yes, you are right, sorry, I have not had time to take a closer look at this, but there is a log [1] for it on pointyhat (that I could not also reproduce on a -CURRENT system). > The GCC build succeeds Sounds great. > With Clang, an error occurs in one of the configure scripts, because > Clang warns about unused command-line arguments, and the configure > script assumes that to be a compiler error. You can deal with this by > adding -Qunused-parameter to CFLAGS. Thanks for investigating this. > However, the stage 1 compiler's parser appears to be broken, as it > reports erroneous parse errors on the GHC compiler's source code (and > probably for any haskell program, but it never gets a chance to). I'm > not sure why this happens, but I will investigate more closely once I > deal with some more important issues I'm investigating. I would be happy to see the logs. > In any case, the port builds fine with GCC. Perhaps it would be > prudent to set CC=gcc and CXX=g++ in the makefile for the time being > and mark the port as working again? Yeah, that might be a solution, I will try it. [1] http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/a.9.20110516102328/ghc-7.0.3.log