Dear Users,
i recognized, that in the NEURON 7.3 Sourcecode Snapshot, the --with-pic option isn't interpreted correctly, that means: not all shared objects (e. g. nvkludge.o) end up with PIC enabled!
This leads to complications, i. e. relocation R_X86_64_32 against "nvkludge.o" since -fPIC is missing.
Overriding in src/nrniv/ the Makefile manually by adding -fPIC to CFLAGS resolves this issue, though it should not be done this way.
Best,
Stephan
Information PIC
Re: Information PIC
I think I'm missing a lot of context. Was all this not handled by libtool on your machine? I've never needed -with-pic or ever used it.
Sure enough, I see that
$ ./configure --help
...
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
both]
I'll do some reading on the web about its purpose
Sure enough, I see that
$ ./configure --help
...
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
both]
I'll do some reading on the web about its purpose