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  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

Sorry for being so sloppy. Of course, I know the port. The "problem"
occured when I installed port

port multimedia/vdpau-video:

===>>> vdpau-video-0.7.3
clang: error: unsupported option '-dumpspecs'
clang: error: no input files


Regards,
Oliver




signature.asc
Description: OpenPGP digital signature


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

2011-12-14 Thread Garrett Cooper
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
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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 08:07:43PM +0100, O. Hartmann wrote:
> 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 being generated.
> done.
> ===>>> Gathering distinfo list for installed ports
> 
> ===>>> Starting check of installed ports for available updates
> clang: error: unsupported option '-dumpspecs'
> clang: error: no input files
> 
> ===>>> All ports are up to date
> 
> 
> Regards,
> Oliver
> 


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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 being generated.
done.
===>>> Gathering distinfo list for installed ports

===>>> Starting check of installed ports for available updates
clang: error: unsupported option '-dumpspecs'
clang: error: no input files

===>>> All ports are up to date


Regards,
Oliver



signature.asc
Description: OpenPGP digital signature