ports: clang: error: unsupported option '-dumpspecs'

2011-12-14 Thread O. Hartmann
Since a couple of days now I see this happen on FreeBSD 10.0-CURRENT/amd64 (CLANG) (most recent buildworld and potstree) and also on FreeBSD 9.0-RC[2|3]/amd64 (also CLANG built, most recent portstree): Building new INDEX files... DESCRIBE.7 INDEX-8 not provided by portsnap server; INDEX-7 not

Re: ports: clang: error: unsupported option '-dumpspecs'

2011-12-14 Thread Roman Divacky
-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. On Wed, Dec 14, 2011 at

Re: ports: clang: error: unsupported option '-dumpspecs'

2011-12-14 Thread Garrett Cooper
On Wed, Dec 14, 2011 at 1:52 PM, Roman Divacky rdiva...@freebsd.org 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

Re: ports: clang: error: unsupported option '-dumpspecs'

2011-12-14 Thread O. Hartmann
Am 12/14/11 23:28, schrieb Garrett Cooper: On Wed, Dec 14, 2011 at 1:52 PM, Roman Divacky rdiva...@freebsd.org 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