patchGNU Autoconf Archive - Patches: patch #7071, acx_pthread should use...

 
 
Show feedback again

patch #7071: acx_pthread should use "-pthreads" on 10.6 OS X systems

Submitted by:  None
Submitted on:  Sat 23 Jan 2010 09:33:27 PM UTC  
 
Priority: 5 - NormalStatus: Need Info
Assigned to: Peter Simons <simons>Originator Email: -unavailable-
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 15 Feb 2010 02:32:53 PM UTC, comment #2:

Hi,

I have applied your patch in commit 49709f13babc78cf057a04726799de5ad5eb013a. Thank you very much for your efforts!

Take care,
Peter

Peter Simons <simons>
Project AdministratorIn charge of this item.
Sun 24 Jan 2010 04:55:21 PM UTC, comment #1:

Hi Thomas,

thank you very much for your very detailed patch submission! I have put Steven, the original author of this macro, on Cc to give him a chance to comment on the issue.

Take care,
Peter

Peter Simons <simons>
Project AdministratorIn charge of this item.
Sat 23 Jan 2010 09:33:27 PM UTC, original submission:

Hi everybody,

while compiling GNU Octave on my new Mac 10.6 system I found out that I need to definition "-D_REENTRANT", otherwise the compilation of some files fail. A good starting point for the discussion we had is here

http://old.nabble.com/forum/ViewPost.jtp?post=27248324&framed=y

Searching the www also brought me to the option "-pthreads" which sets up linker flasg, too. A nice statement about it can be found here

http://stackoverflow.com/questions/875789/gcc-do-i-need-dreentrant-with-pthreads

one says," You investigated properly and answered your own question. Use g++ -pthread, it is equivalent to g++ -pthread -D_REENTRANT. Using g++ -D_REENTRANT would be different, it may not set all the linker flags."

Finally, my suggestion to the GNU Octave project was the patch that I've attached to this ticket but I'm still unsure if this is the best solution.

Best regards

Thomas

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #19540:  pthread.diff added by None (381B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by simons (Posted a comment)
  • -unavailable- added by simons (author of ax_pthread)
  • -unavailable- added by None (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 15 Feb 2010 02:32:53 PM UTCsimonsOpen/ClosedOpen=>Closed
    Sun 24 Jan 2010 04:55:21 PM UTCsimonsStatusNone=>Need Info
      Assigned toNone=>simons
      Carbon-Copy-=>Added steven g. johnson
    Sat 23 Jan 2010 09:33:27 PM UTCNoneAttached File-=>Added pthread.diff, #19540
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup