Date: | Tue, 14 Jul 2009 09:42:12 -0500 |
---|---|
From: | Dan Gibson <degibson@xxxxxxxx> |
Subject: | Re: [Gems-users] libelf.so.0 and libpython2.4.so problem |
Daniel, Its unusual that -fPIC doesn't end up in the argument stream to g++ -- the flag is needed on /all/ platforms.Are you running a particularly exotic distro? What does uname -ipm return?
Regards, Dan
On Tue, Jul 14, 2009 at 9:36 AM, Polina Dudnik <pdudnik@xxxxxxxxx> wrote: Well, the relocation error occurs if you have pointers for example that are pointing beyond what a 32-bit value can accommodate. So, if for example your program allocates a lot of data. fPIC makes code position independent. Alternatively you could instead specify mcmodel=medium and that should also help. I'm wondering why you got a relocation error though. I don't think gems allocates enough data to cause this problem. -- http://www.cs.wisc.edu/~gibson [esc]:wq! |
Previous by Date: | Re: [Gems-users] libelf.so.0 and libpython2.4.so problem, Polina Dudnik |
---|---|
Next by Date: | Re: [Gems-users] libelf.so.0 and libpython2.4.so problem, Daniel Sánchez Pedreño |
Previous by Thread: | Re: [Gems-users] libelf.so.0 and libpython2.4.so problem, Polina Dudnik |
Next by Thread: | Re: [Gems-users] libelf.so.0 and libpython2.4.so problem, Daniel Sánchez Pedreño |
Indexes: | [Date] [Thread] |