Project

General

Profile

Actions

Bug #288

closed

missing config/ax_tls.m4 link-time __thread tests

Added by Mathieu Desnoyers almost 12 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
06/22/2012
Due date:
% Done:

100%

Estimated time:

Description

Problem building userspace-rcu (in NetBSD 5.1 and older) because of missing TLS support at the libc level. Those NetBSD support __thread at the gcc level, but the support is not implemented in the libc. This fools config/ax_tls.m4 into thinking that it can use __thread.

A proper fix would be to link-test __thread support in the ax_tls.m4 script too.


Related issues 1 (0 open1 closed)

Related to Userspace RCU - Bug #240: Problems compiling userspace-rcu-0.7.0 (and later) on NetBSDResolvedMathieu Desnoyers05/31/2012

Actions
Actions #1

Updated by Mathieu Desnoyers almost 12 years ago

Another, possibly simpler, way to achieve this would be to provide an
override, e.g. --with-pthread-tls, to force use the pthread TLS.

Thoughts ?

Mathieu

--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com

Actions #2

Updated by Mathieu Desnoyers over 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF