[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#148651: marked as done (gcc 3.1-2 patch breaks binutils builds)



Your message dated Fri, 31 May 2002 11:03:51 -0400 (EDT)
with message-id <[🔎] Pine.LNX.4.21.0205311052480.21908-100000@spawn.hockeyfiend.com>
and subject line Bug#148651: gcc 3.1-2 patch breaks binutils builds
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 31 May 2002 14:29:33 +0000
>From howarth@bromo.msbb.uc.edu Fri May 31 09:29:33 2002
Return-path: <howarth@bromo.msbb.uc.edu>
Received: from bromo.med.uc.edu (bromo.msbb.uc.edu) [129.137.3.146] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 17DnPJ-0007bk-00; Fri, 31 May 2002 09:29:33 -0500
Received: (from howarth@localhost)
	by bromo.msbb.uc.edu (SGI-8.9.3/8.9.3) id KAA75191
	for submit@bugs.debian.org; Fri, 31 May 2002 10:28:52 -0400 (EDT)
Date: Fri, 31 May 2002 10:28:52 -0400 (EDT)
From: Jack Howarth <howarth@bromo.msbb.uc.edu>
Message-Id: <[🔎] 200205311428.KAA75191@bromo.msbb.uc.edu>
To: submit@bugs.debian.org
Subject: gcc 3.1-2 patch breaks binutils builds
Delivered-To: submit@bugs.debian.org

Package: gcc-3.1
Version: 3.1-2

In rebuilding binutils 2.12.90.0.7-1 with gcc-3.1-2 on debian ppc sid
I discovered that this causes binutils to have a new unexpected failure
in its testsuite...

Running /home/howarth/debian-binutils/binutils-2.12.90.0.7/build-tree/binutils-2
.12.90.0.7/ld/testsuite/ld-srec/srec.exp ...
PASS: S-records
FAIL: S-records with constructors

It appears the origin of this problem is the use of the 
g++-cxa-atexit.dpatch patch in the build of gcc-3.1. This
patch is not used in the RedHat gcc 3.1 srpms. If I rebuild
gcc-3.1-2 with the g++-cxa-atexit.dpatch patch disabled and
then install that gcc-3.1-2 and rebuild binutils 2.12.90.0.7
(or 2.12.90.0.9) I find that the unexpected binutils failure
has disappeared from the testsuite results. I have forwarded
this information to HJ Lu so he can look into whether the
use g++-cxa-atexit.dpatch breakage is due to a bug in gcc
or binutils. For now unless there is a pressing reason to use
it we should disable that patch.
                          Jack

---------------------------------------
Received: (at 148651-done) by bugs.debian.org; 31 May 2002 15:04:03 +0000
>From chris@spawn.hockeyfiend.com Fri May 31 10:04:03 2002
Return-path: <chris@spawn.hockeyfiend.com>
Received: from dsl092-073-086.bos1.dsl.speakeasy.net (spawn.hockeyfiend.com) [66.92.73.86] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17Dnwh-0002bD-00; Fri, 31 May 2002 10:04:03 -0500
Received: from chris (helo=localhost)
	by spawn.hockeyfiend.com with local-esmtp (Exim 3.35 #1 (Debian))
	id 17DnwW-0005tH-00; Fri, 31 May 2002 11:03:52 -0400
Date: Fri, 31 May 2002 11:03:51 -0400 (EDT)
From: "Christopher C. Chimelis" <chris@debian.org>
X-Sender: chris@spawn.hockeyfiend.com
To: Jack Howarth <howarth@bromo.msbb.uc.edu>, 148651-done@bugs.debian.org
cc: Debian GCC maintainers <debian-gcc@lists.debian.org>, 
    gcc-3.1@packages.qa.debian.org
Subject: Re: Bug#148651: gcc 3.1-2 patch breaks binutils builds
In-Reply-To: <[🔎] 200205311428.KAA75191@bromo.msbb.uc.edu>
Message-ID: <[🔎] Pine.LNX.4.21.0205311052480.21908-100000@spawn.hockeyfiend.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: "Christopher C. Chimelis" <chris@spawn.hockeyfiend.com>
Delivered-To: 148651-done@bugs.debian.org



On Fri, 31 May 2002, Jack Howarth wrote:

> Package: gcc-3.1
> Version: 3.1-2
> 
> In rebuilding binutils 2.12.90.0.7-1 with gcc-3.1-2 on debian ppc sid
> I discovered that this causes binutils to have a new unexpected failure
> in its testsuite...
> 
> Running /home/howarth/debian-binutils/binutils-2.12.90.0.7/build-tree/binutils-2
> .12.90.0.7/ld/testsuite/ld-srec/srec.exp ...
> PASS: S-records
> FAIL: S-records with constructors
> 
> It appears the origin of this problem is the use of the 
> g++-cxa-atexit.dpatch patch in the build of gcc-3.1. This
> patch is not used in the RedHat gcc 3.1 srpms. If I rebuild
> gcc-3.1-2 with the g++-cxa-atexit.dpatch patch disabled and
> then install that gcc-3.1-2 and rebuild binutils 2.12.90.0.7
> (or 2.12.90.0.9) I find that the unexpected binutils failure
> has disappeared from the testsuite results. I have forwarded
> this information to HJ Lu so he can look into whether the
> use g++-cxa-atexit.dpatch breakage is due to a bug in gcc
> or binutils. For now unless there is a pressing reason to use
> it we should disable that patch.

Whoa!  This is not a breakage nor have I confirmed that it is a real
failure of the test at all.  It just appears that the flags passed to the
linker are insufficient for this test given the atexit patch.  It is VERY
likely that this test will still pass, given that ld links the test binary
against the proper libraries, but the test as written upstream does not
take the atexit situation into account.

PLEASE do not jump to conclusions about testsuite failures in gcc, glibc,
or binutils.  In many of the cases that I've seen so far, it's not that
the test fails because there's something wrong with the toolchain...it's
usually been because the build environment doesn't exactly match a
typical RedHat system (the locale thing with gcc is a perfect example).

I'm closing this until I can look into the s-rec w/constructors failure a
bit more to find out if the test is really failing or not.  FYI, it's
only a linking failure due to unresolved symbols, not because the
conditions that the testcase is supposed to test are causing it to
fail.  This situation is akin to walking into an exam that requires
that you use a pencil for the grading machine to be able to read your
answer selections, but you only have a pen -- your answers may still be
correct, but it needs to be hand-graded.

C


-- 
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: