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: Daniel Richard G.
Subject: [patch #8847] AX_PTHREAD: improve support for Solaris
Date: Wed, 19 Jul 2017 17:36:43 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36

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

Hi Will,

The -mt flag is being passed to the compiler, yet _REENTRANT is not implicitly
defined?

I'm going to need more information on this, because this does not appear to be
correct behavior for the Solaris vendor compiler. From the cc(1) man page on
one system I have here:


     -mt  Passes D_REENTRANT to preprocessor.  Appends  -lthread.
          If  you are doing your own multithread coding, you must
          use this option in the  compile  and  link  steps.   To
          obtain  faster  execution,  this option requires a mul-
          tiprocessor system. On a single-processor  system,  the
          resulting executable usually runs more slowly with this
          option.


Do the docs for your compiler version describe something different? Is there a
new flag that needs to be supported, perhaps?

    _______________________________________________________

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]