Date: Wed, 14 Dec 2011 17:12:21 -0800 From: Garrett Cooper <yanegomi@gmail.com> To: bf1783@gmail.com Cc: Roman Divacky <rdivacky@freebsd.org>, freebsd-ports@freebsd.org Subject: Re: ports: clang: error: unsupported option '-dumpspecs' Message-ID: <CAGH67wRJ9BwWwq9CSR_PHxpV%2BsqPUU-x3tbZWEMQUP7QnttXMA@mail.gmail.com> In-Reply-To: <CAGFTUwPpHLKgToc3z0Xw8jU2ga2gA%2BhZbU%2BARtMjTDT3kS3sYw@mail.gmail.com> References: <CAGFTUwPpHLKgToc3z0Xw8jU2ga2gA%2BhZbU%2BARtMjTDT3kS3sYw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 14, 2011 at 3:44 PM, b. f. <bf1783@googlemail.com> wrote: >> > -dumpspecs is a gcc internal thing that clang will never support (it d= oesnt use >> > specs). It's wrong for ports to mess with the internals of the compile= r and >> > this should be fixed in a clean way. >> > >> > Ie. we have to replace the -dumpspec | grep something with a saner che= ck. >> >> =A0 =A0 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. =A0However, 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*. Ah... great -- the -pthread vs -lpthread vs nptl vs [..] mess. Yeah... those ports should probably have PRs filed against them so upstream fixes their autoconf tests. Thanks, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wRJ9BwWwq9CSR_PHxpV%2BsqPUU-x3tbZWEMQUP7QnttXMA>