Project

General

Profile

Bug #1969

Building some shared libraries fails on darwin

Added by Matthias Diener 11 months ago. Updated 11 months ago.

Status:
Merged
Priority:
Normal
Category:
-
Target version:
Start date:
08/22/2018
Due date:
% Done:

0%


Description

When building Charm++ with shared libraries enabled on darwin, e.g.:

./build charm++ multicore-darwin-x86_64 -j4 -g --with-production --build-shared
I’m getting the following linking error (and others that are similar):

../bin/charmc  -optimize -production  -g -o ../lib/libmoduleDummyLB.a DummyLB.o
ld: illegal thread local variable reference to regular symbol _Cpv_lbdatabaseInited_ for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This seems to happen only when SMP (or multicore) is enabled, netlrts non-smp seems fine.

History

#1 Updated by Matthias Diener 11 months ago

  • Target version set to 6.9.0
  • Assignee set to Matthias Diener
  • Status changed from New to Implemented

#2 Updated by Matthias Diener 11 months ago

  • Description updated (diff)

#3 Updated by Evan Ramos 11 months ago

  • Status changed from Implemented to Merged

Also available in: Atom PDF