[Top][All Lists]

[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_DEPRECATED_ATT -errwarn=no%E_INIT_SIGN_EXTEND
-errwarn=no%E_ASSIGNMENT_TYPE_MISMATCH -mt   conftest.c  -lresolv
"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:


  Message sent via/by Savannah

reply via email to

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