autoconf-archive-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patch #8847] AX_PTHREAD: improve support for Solaris


From: Will Fiveash
Subject: [patch #8847] AX_PTHREAD: improve support for Solaris
Date: Wed, 19 Jul 2017 16:43:42 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; SunOS i86pc; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #3, patch #8847 (project autoconf-archive):

This issue of conftest.c including:

#                       if !defined(_REENTRANT)
#                        error "_REENTRANT must be defined"
#                       endif

is causing:

configure:6446: checking whether pthreads work with -mt
configure:6540: /opt/developerstudio12.6/bin/cc -o conftest -xO4 -m64
-errtags=yes -errwarn=%all
-errwarn=no%E_STATEMENT_NOT_REACHED -errwarn=no%E_NO_IMPLICIT_DECL_ALLOWED
-errwarn=no%E_EMPTY_TRANSLATION_UNIT
-errwarn=no%E_EMPTY_INITIALIZER -errwarn=no%E_EMPTY_DECLARATION
-errwarn=no%E_ENUM_VAL_OVERFLOWS_INT_MAX
-errwarn=no%E_DEPRECATED_ATT -errwarn=no%E_INIT_SIGN_EXTEND
-errwarn=no%E_ASSIGNMENT_TYPE_MISMATCH -mt   conftest.c  -lresolv
>&5
"conftest.c", line 42: #error: "_REENTRANT must be defined"
cc: acomp failed for conftest.c

When I compile MIT kerberos on a Solaris development build using the Oracle
Studio v12.6 C compiler.  This patch needs to be applied to the current
version of ax_pthread.m4.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?8847>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]