From owner-freebsd-current@FreeBSD.ORG Wed Dec 14 22:28: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 8A8B61065678 for ; Wed, 14 Dec 2011 22:28:49 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 39B098FC19 for ; Wed, 14 Dec 2011 22:28:48 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so141307obb.13 for ; Wed, 14 Dec 2011 14:28:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=msgOLnUm5JEMe0NYDCH40BZBBrRBB2yqQ9BAko7JgpU=; b=HNa2ySFUXHtzCintRpjyfk0uLB13fgI4qCvYulqG7wZmO9ccFlFXI2/8JtuzFtE2JI CQvSY3IMDFo0X6PtcMTGRtPsuhyI1NJuGhUwiHm/iD8LnQpNoDnZpmAAUg7F87FI2CvW luVmhxbqE8cFS3qI03Ku3Zi2yfnsDcjpYgovg= MIME-Version: 1.0 Received: by 10.182.17.102 with SMTP id n6mr278257obd.56.1323901728629; Wed, 14 Dec 2011 14:28:48 -0800 (PST) Received: by 10.182.62.227 with HTTP; Wed, 14 Dec 2011 14:28:48 -0800 (PST) In-Reply-To: <20111214215245.GA92538@freebsd.org> References: <4EE8F3FF.6060106@zedat.fu-berlin.de> <20111214215245.GA92538@freebsd.org> Date: Wed, 14 Dec 2011 14:28:48 -0800 Message-ID: From: Garrett Cooper To: Roman Divacky Content-Type: text/plain; charset=ISO-8859-1 Cc: Current FreeBSD , "O. Hartmann" , Ports FreeBSD Subject: Re: ports: clang: error: unsupported option '-dumpspecs' 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: Wed, 14 Dec 2011 22:28:49 -0000 On Wed, Dec 14, 2011 at 1:52 PM, Roman Divacky wrote: > -dumpspecs is a gcc internal thing that clang will never support (it doesnt use > specs). It's wrong for ports to mess with the internals of the compiler and > this should be fixed in a clean way. > > Ie. we have to replace the -dumpspec | grep something with a saner check. The fact that gcc -dumpspecs is looked at at all is a really bad idea. Do you know which port in the tree is calling this? Thanks, -Garrett