Hello,
I am sorry, but I think that I solved the issue by running a make clean Now the generated code is the same on both machines.
Probably I have an object from a previous version of gsl which was not recompiled at the same time on both machines.
My Makefile is probably not optimum. How can I force a compilation in case of an update of a library like gsl?
Thank to every body for the help.
Sent: Thursday, November 14, 2024 at 9:56 AM From: "Jakub Jelinek" jakub@redhat.com To: "Patrick Dupre" pdupre@gmx.com Cc: "Community support for Fedora users" users@lists.fedoraproject.org, "Barry" barry@barrys-emacs.org Subject: Re: gcc/gsl
On Thu, Nov 14, 2024 at 09:25:40AM +0100, Patrick Dupre wrote:
No, I do not use such options
Then I don't believe you can get different assembly from the same compiler same source same options. GCC ought to produce the same output reproduceably (unless the source uses __DATE__, __TIME__ or __TIMESTAMP__ macros) and if you use -frandom-seed= option (without that on rare occassions some symbols could have different random characters in the names and unique coverage stamps; but even without -frandom-seed= it randomly choose how to compile code). And unless you use PGO and the program differs between test runs.
Jakub