Re: CNI and interface methods
Stephen Kell <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 03 Apr 2009 09:37:40 +0100, Andrew Haley wrote: > It's because you're using -Bsymbolic but not -fpic. -Bsymbolic is > dangerous, and any use of it without PIC means instant death. So, > compile everything PIC, even the executable, and you'll be fine. > That worked for me on your example. Thanks for this. I thought I already was compiling everything -fpic, but maybe I missed something. Was there a particular make rule that was in need of -fpic, that you altered? I still can't find it. (Actually I was using -fPIC, but I've tried again with -fpic instead, in case it made a difference... still getting the same segfault though.) Stephen