------- Comment #5 from tiago at forked dot de  2007-06-15 15:48 -------
The above changes still don't solve the problem for me, since I still can't
load a  python module which is dynamically linked to libgomp (from GCC 4.2.0).
Below, graph-tool is a python program and libgraph_tool.so is a dynamic library
linked with libgomp:

Traceback (most recent call last):
  File "./graph-tool", line 22, in ?
    from libgraph_tool import *
ImportError: /home/count0/stuff/misc/src/gcc-root/lib/libgomp.so.1: cannot
allocate memory in static TLS block

Only when I also remove the line 
   XCFLAGS="${XCFLAGS} -ftls-model=initial-exec"
from configure.tgt, does the module get loaded properly.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28482

Reply via email to