Bastien Nocera wrote: > Bradley C. Midgley wrote: > > > what is the story with this error? i'm seeing it at dynamic-lib-loadtime > > in a project i build for work that has lots of dynamically loaded modules. > > > > in a web search i see mention of the problem popping up for people all > > over the place -- one of the first is a message from 1998 in which dan > > jacobowitz is suggesting that a sign extension is causing an overflow... > > > > how is it people are stepping around the problem? > > > > > > Check the archives, it's a libc6 bug, I posted a link to a fix. BenC > still hasn't released a new version of the libc6 with the fix, and that > simply sucks. > > http://sources.redhat.com/ml/libc-alpha/2001-06/msg00238.html > > like Gerd said, you can also compile with -fPIC to solve this problem...
This is reversed. -fPIC is required for all code in a shared object. Any 'fix' in libc is really a workaround. -- Earthling Michel Dänzer (MrCooper) \ Debian GNU/Linux (powerpc) developer CS student, Free Software enthusiast \ XFree86 and DRI project member