* [Bug bootstrap/65733] gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later.
2015-04-10 18:39 [Bug bootstrap/65733] New: gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later howarth.at.gcc at gmail dot com
@ 2015-04-10 18:44 ` howarth.at.gcc at gmail dot com
2015-04-10 20:42 ` howarth.at.gcc at gmail dot com
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: howarth.at.gcc at gmail dot com @ 2015-04-10 18:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733
--- Comment #1 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
Gcc bootstraps were all tested with...
../gcc-4.9.2/configure --prefix=/sw --prefix=/sw/lib/gcc4.9
--mandir=/sw/share/man --infodir=/sw/lib/gcc4.9/info
--enable-languages=c,c++,fortran,lto,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-isl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--program-suffix=-fsf-4.9
The stock Apple clang 6.0 compilers from Xcode 6.2 don't exhibit the bootstrap
comparison failure of course on either x86_64-apple-darwin13 or
x86_64-apple-darwin14.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/65733] gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later.
2015-04-10 18:39 [Bug bootstrap/65733] New: gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later howarth.at.gcc at gmail dot com
2015-04-10 18:44 ` [Bug bootstrap/65733] " howarth.at.gcc at gmail dot com
@ 2015-04-10 20:42 ` howarth.at.gcc at gmail dot com
2015-04-10 23:46 ` howarth.at.gcc at gmail dot com
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: howarth.at.gcc at gmail dot com @ 2015-04-10 20:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733
--- Comment #2 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
Current gcc-4_9-branch at r221965 suffers the same bootstrap comparison failure
on x86_64-apple-darwin14 with Xcode 6.3's Apple Clang 6.1 compilers and on
x86_64-apple-darwin13 with Xcode 6.2 and the llvm.org 3.6.0's clang compilers.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/65733] gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later.
2015-04-10 18:39 [Bug bootstrap/65733] New: gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later howarth.at.gcc at gmail dot com
2015-04-10 18:44 ` [Bug bootstrap/65733] " howarth.at.gcc at gmail dot com
2015-04-10 20:42 ` howarth.at.gcc at gmail dot com
@ 2015-04-10 23:46 ` howarth.at.gcc at gmail dot com
2015-04-11 0:46 ` howarth.at.gcc at gmail dot com
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: howarth.at.gcc at gmail dot com @ 2015-04-10 23:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733
--- Comment #3 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
As Iain pointed out to me, the gcc configure output under the more recent clang
compilers isn't setting BUILD_CONFIG. Oddly gcc trunk also doesn't set
BUILD_CONFIG in the configure output under the more recent clang compilers but
the bootstrap comparison failure isn't seen. For gcc 4.9 and gcc-4_9-branch,
--with-build-config=bootstrap-debug has to be explicitly passed to configure
to suppress the bootstrap comparison failures under the more recent clang
compilers.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/65733] gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later.
2015-04-10 18:39 [Bug bootstrap/65733] New: gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later howarth.at.gcc at gmail dot com
` (2 preceding siblings ...)
2015-04-10 23:46 ` howarth.at.gcc at gmail dot com
@ 2015-04-11 0:46 ` howarth.at.gcc at gmail dot com
2015-04-11 0:52 ` howarth.at.gcc at gmail dot com
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: howarth.at.gcc at gmail dot com @ 2015-04-11 0:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733
--- Comment #4 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
The issue in configure can be seen with...
mkdir conftest
cd conftest
echo "int f (void) { return 0; }" > conftest.c
clang-3.6 -c conftest.c
mv conftest.o conftest.o.g0
clang-3.6 -c -g conftest.c
mv conftest.o conftest.o.g
../gcc-4.9.3-20150410/contrib/compare-debug conftest.o.g0 conftest.o.g
..which unexpectedly produces...
conftest.o.g0.stripped conftest.o.g.stripped differ: char 433, line 1
stripping off .eh_frame and LTO sections, then retrying
failed to strip off .eh_frame
conftest.o.g0.stripped conftest.o.g.stripped differ: char 433, line 1
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/65733] gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later.
2015-04-10 18:39 [Bug bootstrap/65733] New: gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later howarth.at.gcc at gmail dot com
` (3 preceding siblings ...)
2015-04-11 0:46 ` howarth.at.gcc at gmail dot com
@ 2015-04-11 0:52 ` howarth.at.gcc at gmail dot com
2015-04-11 0:54 ` howarth.at.gcc at gmail dot com
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: howarth.at.gcc at gmail dot com @ 2015-04-11 0:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733
--- Comment #5 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
Created attachment 35295
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35295&action=edit
binary conftest.o.g from clang 3.6.0 compiler
The binary conftest.o.g was created on x86_64-apple-darwin13 using the cctools
from Xcode 6.2 and the llvm.org 3.6.0 clang compilers with the command...
echo "int f (void) { return 0; }" > conftest.c
clang-3.6 -c -g conftest.c
mv conftest.o conftest.o.g
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/65733] gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later.
2015-04-10 18:39 [Bug bootstrap/65733] New: gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later howarth.at.gcc at gmail dot com
` (4 preceding siblings ...)
2015-04-11 0:52 ` howarth.at.gcc at gmail dot com
@ 2015-04-11 0:54 ` howarth.at.gcc at gmail dot com
2015-04-11 1:49 ` howarth.at.gcc at gmail dot com
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: howarth.at.gcc at gmail dot com @ 2015-04-11 0:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733
--- Comment #6 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
Created attachment 35296
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35296&action=edit
binary conftest.o.g0 from clang 3.6.0 compiler
The binary conftest.o.g was created on x86_64-apple-darwin13 using the cctools
from Xcode 6.2 and the llvm.org 3.6.0 clang compilers with the command...
echo "int f (void) { return 0; }" > conftest.c
clang-3.6 -c conftest.c
mv conftest.o conftest.o.g0
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/65733] gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later.
2015-04-10 18:39 [Bug bootstrap/65733] New: gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later howarth.at.gcc at gmail dot com
` (5 preceding siblings ...)
2015-04-11 0:54 ` howarth.at.gcc at gmail dot com
@ 2015-04-11 1:49 ` howarth.at.gcc at gmail dot com
2015-04-11 9:03 ` iains at gcc dot gnu.org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: howarth.at.gcc at gmail dot com @ 2015-04-11 1:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733
--- Comment #7 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
Using...
ld -S -r -no_uuid conftest.o.g -o conftest.o.g.stripped
ld -S -r -no_uuid conftest.o.g0 -o conftest.o.g0.stripped
dwarfdump --eh-frame conftest.o.g.stripped > conftest.o.g.stripped.dwarfdump
dwarfdump --eh-frame conftest.o.g0.stripped > conftest.o.g0.stripped.dwarfdump
for conftest.c compiled with Xcode 6.2 Apple Clang 6.0 on
x86_64-apple-darwin13, we get...
% diff -u conftest.o.g.stripped.dwarfdump conftest.o.g0.stripped.dwarfdump
--- conftest.o.g.stripped.dwarfdump 2015-04-10 21:43:15.000000000 -0400
+++ conftest.o.g0.stripped.dwarfdump 2015-04-10 21:43:04.000000000 -0400
@@ -1,5 +1,5 @@
----------------------------------------------------------------------
- File: conftest.o.g.stripped (x86_64)
+ File: conftest.o.g0.stripped (x86_64)
----------------------------------------------------------------------
Exception handling frame information for section __eh_frame
but for contest.c compiled with llvm.org 3.6.0's clang on
x86_64-apple-darwin13, we get...
% diff -u conftest.o.g.stripped.dwarfdump conftest.o.g0.stripped.dwarfdump
--- conftest.o.g.stripped.dwarfdump 2015-04-10 21:42:02.000000000 -0400
+++ conftest.o.g0.stripped.dwarfdump 2015-04-10 21:41:52.000000000 -0400
@@ -1,12 +1,12 @@
----------------------------------------------------------------------
- File: conftest.o.g.stripped (x86_64)
+ File: conftest.o.g0.stripped (x86_64)
----------------------------------------------------------------------
Exception handling frame information for section __eh_frame
0x00000000: CIE
length: 0x00000014
CIE_id: 0xffffffff
- version: 0x01
+ version: 0x03
augmentation: "zR"
code_align: 1
data_align: -8
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/65733] gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later.
2015-04-10 18:39 [Bug bootstrap/65733] New: gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later howarth.at.gcc at gmail dot com
` (6 preceding siblings ...)
2015-04-11 1:49 ` howarth.at.gcc at gmail dot com
@ 2015-04-11 9:03 ` iains at gcc dot gnu.org
2015-04-11 12:34 ` howarth.at.gcc at gmail dot com
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: iains at gcc dot gnu.org @ 2015-04-11 9:03 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733
Iain Sandoe <iains at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #8 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Jack Howarth from comment #7)
> % diff -u conftest.o.g.stripped.dwarfdump conftest.o.g0.stripped.dwarfdump
> --- conftest.o.g.stripped.dwarfdump 2015-04-10 21:42:02.000000000 -0400
> +++ conftest.o.g0.stripped.dwarfdump 2015-04-10 21:41:52.000000000 -0400
> @@ -1,12 +1,12 @@
> ----------------------------------------------------------------------
> - File: conftest.o.g.stripped (x86_64)
> + File: conftest.o.g0.stripped (x86_64)
> ----------------------------------------------------------------------
> Exception handling frame information for section __eh_frame
>
> 0x00000000: CIE
> length: 0x00000014
> CIE_id: 0xffffffff
> - version: 0x01
> + version: 0x03
Confirmed with TOT clang as of this morning. Please file an llvm BZ and/or a
radar against Xcode 6.3.
>From gcc-bugs-return-483388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Apr 11 09:39:17 2015
Return-Path: <gcc-bugs-return-483388-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27959 invoked by alias); 11 Apr 2015 09:39:16 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 27910 invoked by uid 48); 11 Apr 2015 09:39:12 -0000
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/65733] gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later.
Date: Sat, 11 Apr 2015 09:39:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: dominiq at lps dot ens.fr
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-65733-4-nKyMIdiraJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65733-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65733-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-04/txt/msg00940.txt.bz2
Content-length: 151
https://gcc.gnu.org/bugzilla/show_bug.cgi?ide733
--- Comment #9 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Same problem with 4.8.5.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/65733] gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later.
2015-04-10 18:39 [Bug bootstrap/65733] New: gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later howarth.at.gcc at gmail dot com
` (7 preceding siblings ...)
2015-04-11 9:03 ` iains at gcc dot gnu.org
@ 2015-04-11 12:34 ` howarth.at.gcc at gmail dot com
2015-04-11 14:17 ` howarth.at.gcc at gmail dot com
2015-04-11 17:12 ` howarth.at.gcc at gmail dot com
10 siblings, 0 replies; 12+ messages in thread
From: howarth.at.gcc at gmail dot com @ 2015-04-11 12:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733
--- Comment #10 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
>
> Confirmed with TOT clang as of this morning. Please file an llvm BZ and/or
> a radar against Xcode 6.3.
Reported as radar bug /20509942, "Apple Clang 6.1 emits inconsistent eh_frame
dwarf versions"
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/65733] gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later.
2015-04-10 18:39 [Bug bootstrap/65733] New: gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later howarth.at.gcc at gmail dot com
` (8 preceding siblings ...)
2015-04-11 12:34 ` howarth.at.gcc at gmail dot com
@ 2015-04-11 14:17 ` howarth.at.gcc at gmail dot com
2015-04-11 17:12 ` howarth.at.gcc at gmail dot com
10 siblings, 0 replies; 12+ messages in thread
From: howarth.at.gcc at gmail dot com @ 2015-04-11 14:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733
--- Comment #11 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
This issue appears to have been introduced by...
http://llvm.org/viewvc/llvm-project?view=revision&revision=211272
and seems to have been previously discussed...
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20141208/247970.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/65733] gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later.
2015-04-10 18:39 [Bug bootstrap/65733] New: gcc 4.9.2 suffers bootstrap comparison failures with clang 3.5.1 and later howarth.at.gcc at gmail dot com
` (9 preceding siblings ...)
2015-04-11 14:17 ` howarth.at.gcc at gmail dot com
@ 2015-04-11 17:12 ` howarth.at.gcc at gmail dot com
10 siblings, 0 replies; 12+ messages in thread
From: howarth.at.gcc at gmail dot com @ 2015-04-11 17:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65733
--- Comment #12 from Jack Howarth <howarth.at.gcc at gmail dot com> ---
It appears that clang 3.5 and later defaults to setting the CIE version to
dwarf2 in the absence of -g. This behavior can't be overridden by passing
-gdwarf-3 in the absence of -g. However the gcc configure test failure can be
suppressed under clang by appending -gdwarf-2 instead (to downgrade the CIE
version to dwarf3 in the presence of -g).
^ permalink raw reply [flat|nested] 12+ messages in thread