[CLN-list] future GCC 4.3 and modules.h

Richard B. Kreckel kreckel at ginac.de
Thu Jan 10 20:56:11 CET 2008


Hi Ralf,

Ralf Wildenhues wrote:
> * Richard B. Kreckel wrote on Sun, Jan 06, 2008 at 03:08:15AM CET:
>> +2008-01-06  Ralf Wildenhues  <Ralf.Wildenhues at gmx.de>
>> +            Richard B. Kreckel  <kreckel at ginac.de>
>> +
>> +	Cater to the fact that g++ 4.3 will use a different naming for
>> +	the global constructor suffix in shared and static objects.
>> +	* m4/c++-constructors.m4 (CL_GLOBAL_CONSTRUCTORS): Add test for
>> +	the global constructor suffix, define CL_GLOBAL_CONSTRUCTOR_SUFFIX_PIC
>> +	and CL_GLOBAL_CONSTRUCTOR_SUFFIX_NOPIC appropriately.
>> +	* include/cln/config.h.in: Provide templates to be filled in by
>> +	configure.
>> +	* include/cln/modules.h (CL_PROVIDE, CL_REQUIRE): Use
>> +	CL_GLOBAL_CONSTRUCTOR_SUFFIX_PIC, CL_GLOBAL_CONSTRUCTOR_SUFFIX_NOPIC.
> 
> Isn't this an API change of the library that needs a version bump?

Sure it is. CLN 1.2.0 will have soname libcln.so.5, due to this and a 
few other changes.

Cheers
   -richy.
-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>


More information about the CLN-list mailing list