-fPIC missing in 6.1.2

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
dcaliste
Posts: 44
Joined: Thu Oct 22, 2009 9:15 am
Contact:

-fPIC missing in 6.1.2

Post by dcaliste » Tue Apr 27, 2010 6:27 pm

If I'm not mistaken, when using --enable-bindings at configure time, the option -fPIC was added automatically for 64bits GCC compiler, which is good.

But it seems to me that's it's not the case anymore in my 6.1.2. Is it true ? Has it been removed for a specific reason ?

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: -fPIC missing in 6.1.2

Post by pouillon » Wed Apr 28, 2010 4:36 pm

Ahem! I would rather say that it has been left unmaintained. :?

Do you specify FCFLAGS yourself?
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: -fPIC missing in 6.1.2

Post by pouillon » Wed Apr 28, 2010 5:02 pm

Found it! Bindings require --enable-exports, which was not activated automatically anymore. This happened because I changed the order of a few critical steps.

Now fixed in my 6.1.2 branch. Enjoy!
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked