Re: [Rdkit-devel] Anyone building the cartrdige with GCC 4.6.2 in a 32 bit env?
Open-Source Cheminformatics and Machine Learning
Brought to you by:
glandrum
|
From: Greg L. <gre...@gm...> - 2012-03-17 05:27:42
|
Gianluca, On Tue, Mar 13, 2012 at 11:41 AM, Gianluca Sforna <gi...@gm...> wrote: > On Tue, Mar 13, 2012 at 4:56 AM, Greg Landrum <gre...@gm...> wrote: >> You've probably tracked this down already, but I guess that it's >> probably the postgresql configuration. > > So, it turned up -fexcess-precision is actually in CFLAGS as reported > by pg_config in the 32 bit enviroment, but it was not a deliberate > option passed in during rpm build so I guess it is added by Postgres > ./configure script. > > In the cartridge Makefile we inject CFLAGS into CXXFLAGS (or rather, > CPLUSPLUSGFLAGS) and those are used to build adapter.cpp, leading to > the compilation error (-fexcess-precision is used only by C compiler). > > Attached, the Makefile patch I am now using to build the rpm. Perfect. thanks. I applied the patch and checked in the changes this morning. -greg |