From owner-freebsd-ports@FreeBSD.ORG Wed Dec 14 23:44:53 2011 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C23AB106564A for ; Wed, 14 Dec 2011 23:44:53 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 607A08FC08 for ; Wed, 14 Dec 2011 23:44:52 +0000 (UTC) Received: by wgbdr11 with SMTP id dr11so2669541wgb.31 for ; Wed, 14 Dec 2011 15:44:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=eVVoflcoid5M3EVZTwet+EYHdJiChcI1xsGO2bErvw8=; b=EQGJwxxbwt9y/sSA8i1SoP0di0fL5aTI2fGm/HlDqlkGc6rotOEgR0gaqz/gALOm5I UlgSbjNcfgo8lb3Xfd6aFfmgrDplLyyzks2BzBrgJ9fEjHY2ulERcdbz09JLy6CSJti2 /KXS4TEYB1W64ABFmZcwa7GlC/iQKsjAs4CWw= MIME-Version: 1.0 Received: by 10.216.131.152 with SMTP id m24mr299497wei.56.1323906292280; Wed, 14 Dec 2011 15:44:52 -0800 (PST) Received: by 10.180.100.129 with HTTP; Wed, 14 Dec 2011 15:44:52 -0800 (PST) Date: Wed, 14 Dec 2011 23:44:52 +0000 Message-ID: From: "b. f." To: Garrett Cooper , Roman Divacky , freebsd-ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: ports: clang: error: unsupported option '-dumpspecs' X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2011 23:44:53 -0000 > > -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? As far as I know, in the Ports tree there are only: editors/emacs editors/emacs-devel graphics/OpenEXR multimedia/vdpau-video which use it in an ill-conceived (and now probably unnecessary) test for thread libraries. However, there are many more instances within the configuration scripts of various port distfiles, and I do not think that all of these are protected by tests for gcc*. b.