See the bug report referred in the commit. José ________________________________________ From: gisb...@gmail.com [gisb...@gmail.com] on behalf of Roland Mainz [roland.ma...@nrubsig.org] Sent: 02 December 2015 09:04 To: Alan Coopersmith Cc: Jose Fonseca; mesa-dev@lists.freedesktop.org; v...@freedesktop.org Subject: Re: [Mesa-dev] [PATCH 1/2] configure.ac: Refuse to build with Sun C compiler.
On Wed, Dec 2, 2015 at 12:38 AM, Alan Coopersmith <alan.coopersm...@oracle.com> wrote: > On 12/ 1/15 03:07 PM, Jose Fonseca wrote: >> >> https://bugs.freedesktop.org/show_bug.cgi?id=93189 >> --- >> configure.ac | 7 +++++++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/configure.ac b/configure.ac >> index 4016871..b6680d0 100644 >> --- a/configure.ac >> +++ b/configure.ac >> @@ -197,6 +197,13 @@ if test "x$GCC" = xyes -a "x$acv_mesa_CLANG" = xno; >> then >> fi >> fi >> >> +dnl We don't support building Mesa with Sun C compiler >> +dnl https://bugs.freedesktop.org/show_bug.cgi?id=93189 >> +AC_CHECK_DECL([__SUNPRO_C], [SUNCC=yes], [SUNCC=no]) >> +if test "x$SUNCC" = xyes; then >> + AC_MSG_ERROR([Building with Sun C compiler is not supported, use GCC >> instead.]) >> +fi >> + >> dnl Check for compiler builtins >> AX_GCC_BUILTIN([__builtin_bswap32]) >> AX_GCC_BUILTIN([__builtin_bswap64]) >> > > Acked-by: Alan Coopersmith <alan.coopersm...@oracle.com> Just curious: Why ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev