Foating point: tracking change in between gcc 4.4.7 and gcc 4.9.2

Andrew Haley
Thu Dec 10 15:13:00 GMT 2015

On 12/10/2015 02:55 PM, Mathieu Malaterre wrote:
> Is there a way to test that for sure. A naive solution like:
> $ LD_PRELOAD=$HOME/ ./mycode
> results in
> relocation error: /home/mathieu/ symbol _dl_starting_up,
> version GLIBC_PRIVATE not defined in file with
> link time reference

Sure.  Find the different result and test it.  All you have to do is
log all the calls to the standard functions and compare.

It's unlikely to be std::ceil or std::sqrt.


More information about the Gcc-help mailing list