ports/181003: multimedia/gstreamer not build with clang
kwm at rainbow-runner.nl
Sat Aug 3 12:40:02 UTC 2013
The following reply was made to PR ports/181003; it has been noted by GNATS.
From: Koop Mast <kwm at rainbow-runner.nl>
To: bug-followup at FreeBSD.org, vsityz at gmail.com
Subject: Re: ports/181003: multimedia/gstreamer not build with clang
Date: Sat, 03 Aug 2013 14:30:31 +0200
Gstreamer ports already us USE_GCC=any so it uses gcc from base, because
clang has a crasher bug while compiling clang.
See the snippet below, Gcc should work with the -Qunused-* flags, by
just ignoring them. However it fails with the -Oz flag. Can you remove
that flags and try again?
configure:4496: checking whether the C compiler works
configure:4518: gcc -Oz -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe
-Qunused-arguments -Qunused-parameter -Wformat -Wformat-security -O2
-Wno-format -fno-strict-aliasing -D_FORTIFY_SOURCE=2
-I/usr/local/include -L/usr/local/lib conftest.c >&5
gcc: unrecognized option '-Qunused-arguments'
gcc: unrecognized option '-Qunused-parameter'
cc1: error: invalid option argument '-Oz'
configure:4522: $? = 1
configure:4560: result: no
configure: failed program was:
More information about the freebsd-multimedia