[Python-Dev] Python build trouble with the new gcc/binutils

Andrew Koenig ark@research.att.com
Fri, 16 Aug 2002 17:59:05 -0400 (EDT)


Zack> Please execute the attached shell script with CC set to your test gcc
Zack> 3.2 and/or binutils 2.13.x installation and see what happens.  If we
Zack> do have a toolchain bug, it ought to be provoked by this test.

Excellent!

$ sh test-dynload
+ gcc -fPIC -shared dyn.c -o dyn.so 
+ gcc main.c -o main -ldl 
+ ./main 
calling dlopen
Segmentation Fault - core dumped
+ exit 139 

Now to see if I can figure out why...