This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 25 Apr 2016 13:04:02 +0000
- Subject: [Bug bootstrap/70704] [6 Regression] AIX bootstrap comparison failure
- Auto-submitted: auto-generated
- References: <bug-70704-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70704
--- Comment #45 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't think M4 env var should make a difference in this case, in the release
tarballs the gengtype-lex.c file is already built (on x86_64-linux) and nothing
should be changing that.
That said, I've managed to reproduce the miscompare on build/ggc-none.o as an
example of very small source file, even with -g0. But it looks really weird.
First of all, it seems that the system g++ 4.8 and g++ 6.1-rc2 is probably ABI
incompatible, at least my attempts to mix stage1 and stage2 objects into the
same binary failed miserably. I've rebuilt stage2-gcc/ cc1plus with
CXXFLAGS='-g -O0', thus most if not all *.o files linked into it should be
(like in stage1) built without optimizations, and still see the differences.
Trying to find out where the differences start now using parallel gdb sessions.