Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#64558 closed defect (fixed)

libomp @13.0.0_1 fails to build on 10.6

Reported by: jmroot (Joshua Root) Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard Cc: evanmiller (Evan Miller)
Port: libomp

Description

https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/91774/steps/install-port/logs/stdio

Looks like the fix for #64549 caused it. This is a problem because the default compiler on 10.6 depends on libomp. It has to be built with clang-3.7 there because of that dependency.

Change History (7)

comment:1 Changed 3 years ago by evanmiller (Evan Miller)

Cc: evanmiller added

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

It fails because:

error: thread-local storage is not supported for the current target

The usual fix would be to add:

compiler.thread_local_storage yes

which would make MacPorts pick a newer compiler. Is that sufficient here or does that introduce a circular dependency?

comment:3 Changed 3 years ago by kencu (Ken)

there is at present no easy way to get thread_local_storage with libc++ on 10.6 without manual intervention.

Last edited 3 years ago by kencu (Ken) (previous) (diff)

comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Could we make the fix for #64549 only apply on 10.7 and later then?

comment:5 Changed 3 years ago by eborisch (Eric A. Borisch)

Absolutely. I don’t have time today, but anyone should feel free to make the change. Sorry for the breakage!

comment:6 Changed 3 years ago by Eric A. Borisch <borisch.eric@…>

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.