Opened 7 months ago

Last modified 7 months ago

#69375 new defect

libtapi fails to build on 10.5 Leopard — at Version 1

Reported by: rmottola (Riccardo) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: leopard tls Cc:
Port: libtapi

Description (last modified by rmottola (Riccardo))

I tried building both with clang and gcc.

With gcc I don't even find the error, there are many warnings.

Clang dies with unsupported thread-local-storage

ac40267aa5f6004dd38cc2b2cd84f2d9d555/src/llvm/lib/Support/TimeProfiler.cpp:36:8: error: thread-local storage is not supported for the current target
static LLVM_THREAD_LOCAL TimeTraceProfiler *TimeTraceProfilerInstance = nullptr;

I think gcc7 has TLS, I remember Ken adding it?

Change History (3)

Changed 7 months ago by rmottola (Riccardo)

Attachment: gcc_build.log added

gcc 7 build log

comment:1 Changed 7 months ago by rmottola (Riccardo)

Description: modified (diff)

Changed 7 months ago by rmottola (Riccardo)

Attachment: clang_build.log added

clang build log TLS error

Note: See TracTickets for help on using tickets.