public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "fxcoudert at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0
Date: Tue, 11 Nov 2014 21:09:00 -0000	[thread overview]
Message-ID: <bug-63773-4-T51g9JVgi4@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-63773-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63773

--- Comment #16 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
(In reply to Iain Sandoe from comment #15)
> … the second issue - which is that we need a -B…. option for each library
> path that will be used for spec-substitution (.a for .dylib)

The necessary -B options are already in POSTSTAGE1_HOST_EXPORTS, through
POSTSTAGE1_CXX_EXPORT.


> I don't think we want to bootstrap libcc1 (that was what the patch was
> removing).
> 
> Probably the right example is gnattools - or something similar that only
> builds @stage#3.

I cannot find anything in the top-level Makefile that builds at stage3 and uses
POSTSTAGE1_HOST_EXPORTS, i.e. properly builds with the final compiler. Even
gnarls uses HOST_EXPORTS, so it would probably have similar problems. (Doesn't
it? I don't know cause I never build ada.)
>From gcc-bugs-return-466439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 11 21:20:39 2014
Return-Path: <gcc-bugs-return-466439-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 2981 invoked by alias); 11 Nov 2014 21:20:39 -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 2940 invoked by uid 48); 11 Nov 2014 21:20:35 -0000
From: "iains at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0
Date: Tue, 11 Nov 2014 21:20:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: iains at gcc dot gnu.org
X-Bugzilla-Status: NEW
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-63773-4-Ua1LN79rRc@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63773-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63773-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-11/txt/msg00911.txt.bz2
Content-length: 1445

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63773

--- Comment #17 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Francois-Xavier Coudert from comment #16)
> (In reply to Iain Sandoe from comment #15)
> > … the second issue - which is that we need a -B…. option for each library
> > path that will be used for spec-substitution (.a for .dylib)
> 
> The necessary -B options are already in POSTSTAGE1_HOST_EXPORTS, through
> POSTSTAGE1_CXX_EXPORT.

excellent.
Jakub asked Paulo on-list if there was a solution to ...

> > I don't think we want to bootstrap libcc1 (that was what the patch was
> > removing).
> > 
> > Probably the right example is gnattools - or something similar that only
> > builds @stage#3.
> 
> I cannot find anything in the top-level Makefile that builds at stage3 and
> uses POSTSTAGE1_HOST_EXPORTS, i.e. properly builds with the final compiler.
> Even gnarls uses HOST_EXPORTS, so it would probably have similar problems.
> (Doesn't it? I don't know cause I never build ada.)

… this ^ i.e. choosing the right one to use depending on
cross/disable-bootstrap/stage#n … 

.. gnattools adds the -B options specifically in its Makefile.

interesting - so that also implies it will be affected by the bootstrap
compiler (although, of course, that pretty much has to be GCC for Ada).  I must
confess I'd not looked beyond the handling of certain configure options.
>From gcc-bugs-return-466440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 11 21:21:48 2014
Return-Path: <gcc-bugs-return-466440-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 4342 invoked by alias); 11 Nov 2014 21:21:48 -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 4298 invoked by uid 55); 11 Nov 2014 21:21:44 -0000
From: "fdumont at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/61107] stl_algo.h: std::__inplace_stable_partition() doesn't process the whole data range
Date: Tue, 11 Nov 2014 21:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fdumont at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: fdumont at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-61107-4-4mAXm93zDz@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61107-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61107-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-11/txt/msg00912.txt.bz2
Content-length: 1162

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61107

--- Comment #2 from François Dumont <fdumont at gcc dot gnu.org> ---
Author: fdumont
Date: Tue Nov 11 21:21:10 2014
New Revision: 217370

URL: https://gcc.gnu.org/viewcvs?rev=217370&root=gcc&view=rev
Log:
2014-11-11  François Dumont  <fdumont@gcc.gnu.org>

    PR libstdc++/61107
    * include/bits/stl_algo.h (__inplace_stable_partition): Delete.
    (__stable_partition_adaptive): Return __first if range length is 1.
    (__stable_partition): Adapt.
    * testsuite/util/testsuite_new_operators.h: New.
    * testsuite/25_algorithms/stable_sort/1.cc: Test algo in simulated
    constraint memory context.
    * testsuite/25_algorithms/inplace_merge/1.cc: Likewise.
    * testsuite/25_algorithms/stable_partition/1.cc: Likewise.

Added:
    trunk/libstdc++-v3/testsuite/util/testsuite_new_operators.h
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/stl_algo.h
    trunk/libstdc++-v3/testsuite/25_algorithms/inplace_merge/1.cc
    trunk/libstdc++-v3/testsuite/25_algorithms/stable_partition/1.cc
    trunk/libstdc++-v3/testsuite/25_algorithms/stable_sort/1.cc
>From gcc-bugs-return-466441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 11 21:30:47 2014
Return-Path: <gcc-bugs-return-466441-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 15372 invoked by alias); 11 Nov 2014 21:30:47 -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 15332 invoked by uid 48); 11 Nov 2014 21:30:43 -0000
From: "fdumont at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/61107] stl_algo.h: std::__inplace_stable_partition() doesn't process the whole data range
Date: Tue, 11 Nov 2014 21:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libstdc++
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fdumont at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: fdumont at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 5.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone
Message-ID: <bug-61107-4-MoTiDxw9MI@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-61107-4@http.gcc.gnu.org/bugzilla/>
References: <bug-61107-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-11/txt/msg00913.txt.bz2
Content-length: 533

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61107

François Dumont <fdumont at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |5.0

--- Comment #3 from François Dumont <fdumont at gcc dot gnu.org> ---
Fixed using proposal 2 with small adaptation.
>From gcc-bugs-return-466442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 11 21:31:52 2014
Return-Path: <gcc-bugs-return-466442-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 16666 invoked by alias); 11 Nov 2014 21:31:52 -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 16229 invoked by uid 48); 11 Nov 2014 21:31:47 -0000
From: "fxcoudert at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/63773] [meta-bug] Restoring darwin bootstrap for gcc 5.0
Date: Tue, 11 Nov 2014 21:31:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: fxcoudert at gcc dot gnu.org
X-Bugzilla-Status: NEW
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-63773-4-TMGULZwsed@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-63773-4@http.gcc.gnu.org/bugzilla/>
References: <bug-63773-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: 2014-11/txt/msg00914.txt.bz2
Content-length: 527

https://gcc.gnu.org/bugzilla/show_bug.cgi?idc773

--- Comment #18 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
(In reply to Iain Sandoe from comment #17)
> interesting - so that also implies it will be affected by the bootstrap
> compiler (although, of course, that pretty much has to be GCC for Ada).  I
> must confess I'd not looked beyond the handling of certain configure options.

I suspect it's time to involve Paolo indeed. We have reached the limits of my
understanding of the GCC build system :)


  parent reply	other threads:[~2014-11-11 21:09 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-07 17:31 [Bug target/63773] New: " howarth at bromo dot med.uc.edu
2014-11-07 17:39 ` [Bug target/63773] " dominiq at lps dot ens.fr
2014-11-07 21:06 ` evstupac at gmail dot com
2014-11-07 21:24 ` fxcoudert at gcc dot gnu.org
2014-11-07 22:24 ` fxcoudert at gcc dot gnu.org
2014-11-07 22:38 ` howarth at bromo dot med.uc.edu
2014-11-07 23:07 ` fxcoudert at gcc dot gnu.org
2014-11-08  2:47 ` howarth at bromo dot med.uc.edu
2014-11-08 10:12 ` howarth at bromo dot med.uc.edu
2014-11-09  5:34 ` howarth at bromo dot med.uc.edu
2014-11-11 10:18 ` fxcoudert at gcc dot gnu.org
2014-11-11 15:28 ` dominiq at lps dot ens.fr
2014-11-11 20:47 ` fxcoudert at gcc dot gnu.org
2014-11-11 20:59 ` iains at gcc dot gnu.org
2014-11-11 21:09 ` fxcoudert at gcc dot gnu.org [this message]
2014-11-11 22:09 ` howarth at bromo dot med.uc.edu
2014-11-15 12:18 ` fxcoudert at gcc dot gnu.org
2014-11-20 11:22 ` fxcoudert at gcc dot gnu.org
2014-11-25 21:55 ` fxcoudert at gcc dot gnu.org
2014-12-14 22:56 ` dominiq at lps dot ens.fr
2014-12-19 13:51 ` trippels at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-63773-4-T51g9JVgi4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).