[Bug gold/23424] gold doesn't build on Darwin

2018-07-23 Thread harryf at gmx dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23424 --- Comment #4 from Harald Fernengel --- FYI - switching to C++11 also requires the following patch, as one of the case labels is larger than INT_MAX diff --git a/gold/x86_64.cc b/gold/x86_64.cc index 27f273d64b..a88f534d60 100644 --- a/gold/

[Bug gold/23424] gold doesn't build on Darwin

2018-07-22 Thread harryf at gmx dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23424 --- Comment #3 from Harald Fernengel --- (In reply to Cary Coutant from comment #2) > > It seems that using PTHREAD_ONCE_INIT can only be used in a static context, > > as > > documented in the man page (https://linux.die.net/man/3/pthread_onc

[Bug gold/23424] gold doesn't build on Darwin

2018-07-17 Thread harryf at gmx dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23424 Harald Fernengel changed: What|Removed |Added Host||Darwin -- You are receiving this

[Bug gold/23424] New: gold doesn't build on Darwin

2018-07-17 Thread harryf at gmx dot com
gold Assignee: ccoutant at gmail dot com Reporter: harryf at gmx dot com CC: ian at airs dot com Target Milestone: --- Created attachment 11141 --> https://sourceware.org/bugzilla/attachment.cgi?id=11141&action=edit Proposed patch gold-thread.cc doesn&