This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compile checksums?


Paul Boyle <paulcboyle@gmail.com> writes:

> An example diff is as follows:
> 200,201c200,201
> <       .type   _GLOBAL__I_sum.cpp_9D2164D3_
> 40537BE5, @function
> < _GLOBAL__I_sum.cpp_9D2164D3_40537BE5:
> ---
>>       .type   _GLOBAL__I_sum.cpp_9D2164D3_D6DB2116, @function
>> _GLOBAL__I_sum.cpp_9D2164D3_D6DB2116:

Use diff -u, it's a lot easier to read.

These are random numbers introduced because g++ needs a unique globally
visible name for global constructors.  Use -frandom-seed to control
them.  A common use is -frandom-seed=PATHNAME where PATHNAME is known to
be unique in the program.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]