Opened 5 years ago

Last modified 4 years ago

#53074 new defect

clhep @ fails to build on 10.6 due to unsupported thread-local storage

Reported by: mojca (Mojca Miklavec) Owned by: mojca (Mojca Miklavec)
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard Cc:
Port: clhep


/path/to/clhep/work/build/CLHEP/Random/DoubConv.hh:51:10: error: thread-local storage is not supported for the current target
  static CLHEP_THREAD_LOCAL bool byte_order_known;

Upstream ticket:

Full log:

See also: #44062

Change History (1)

comment:1 Changed 4 years ago by kencu (Ken)

Some modifications to clang-5.0 now allow thread_local storage on 10.6 (and lower, most likely), so this port now builds without trouble using clang-5.0 with those modifications:

h$ port -v installed clhep
The following ports are currently installed:
  clhep @ (active) platform='darwin 10' archs='x86_64' date='2018-02-16T21:57:55-0800'
Note: See TracTickets for help on using tickets.