The current x86-64 linker fails to detect some non-PIC code in shared library, which leads to run-time failure: http://sources.redhat.com/bugzilla/show_bug.cgi?id=186 I posted a patch for it and updated the testcase. H.J.