Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2011 23:44:52 +0000
From:      "b. f." <bf1783@googlemail.com>
To:        Garrett Cooper <yanegomi@gmail.com>, Roman Divacky <rdivacky@freebsd.org>, freebsd-ports@FreeBSD.org
Subject:   Re: ports: clang: error: unsupported option '-dumpspecs'
Message-ID:  <CAGFTUwPpHLKgToc3z0Xw8jU2ga2gA%2BhZbU%2BARtMjTDT3kS3sYw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
> > -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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGFTUwPpHLKgToc3z0Xw8jU2ga2gA%2BhZbU%2BARtMjTDT3kS3sYw>