------- Comment #49 from iains at gcc dot gnu dot org 2010-06-02 20:13 ------- (In reply to comment #47) > > At the risk of stating the obvious - since there are no DYLD_LIBRARY_PATH in > > your posts... > > > > Are you doing this "uninstalled"? > > I guess you have to be sure that the right libgcc_s is being found -- or > > emutls > > will not be present. > > This is certainly too obvious for me! how "emutls will not be present" and the > test succeeds most of the time? I have checked it with gcc4.5 r156693 on > i686-apple-darwin9 and the test always fails (1000 failures on 1000 attempts). > What is the output of > > grep -i tls your_paths/libgomp/config.log > > on darwin9? >
hm. if I do ./gcc/xgcc -B gcc tls-test.c -o tls ./tls it fails saying it can't find __emutls_getaddress () ... which is correct, since I don't have gcc > 4.5 installed I have to do DYLD_LIBRARY_PATH=./gcc ./tls -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43170