From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22853 invoked by alias); 11 Nov 2014 21:09:07 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 22781 invoked by uid 48); 11 Nov 2014 21:09:03 -0000 From: "fxcoudert at gcc dot 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 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: In-Reply-To: References: 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/msg00909.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63773 --- Comment #16 from Francois-Xavier Coudert = --- (In reply to Iain Sandoe from comment #15) > =E2=80=A6 the second issue - which is that we need a -B=E2=80=A6. 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). >=20 > 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. (Does= n'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: 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: List-Archive: List-Post: List-Help: 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" 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: In-Reply-To: References: 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=3D63773 --- Comment #17 from Iain Sandoe --- (In reply to Francois-Xavier Coudert from comment #16) > (In reply to Iain Sandoe from comment #15) > > =E2=80=A6 the second issue - which is that we need a -B=E2=80=A6. optio= n for each library > > path that will be used for spec-substitution (.a for .dylib) >=20 > 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). > >=20 > > Probably the right example is gnattools - or something similar that only > > builds @stage#3. >=20 > 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 compile= r. > Even gnarls uses HOST_EXPORTS, so it would probably have similar problems. > (Doesn't it? I don't know cause I never build ada.) =E2=80=A6 this ^ i.e. choosing the right one to use depending on cross/disable-bootstrap/stage#n =E2=80=A6=20 .. 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: 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: List-Archive: List-Post: List-Help: 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" 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: In-Reply-To: References: 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=3D61107 --- Comment #2 from Fran=C3=A7ois Dumont --- Author: fdumont Date: Tue Nov 11 21:21:10 2014 New Revision: 217370 URL: https://gcc.gnu.org/viewcvs?rev=3D217370&root=3Dgcc&view=3Drev Log: 2014-11-11 Fran=C3=A7ois Dumont 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: 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: List-Archive: List-Post: List-Help: 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" 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: In-Reply-To: References: 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=3D61107 Fran=C3=A7ois Dumont changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |5.0 --- Comment #3 from Fran=C3=A7ois Dumont --- 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: 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: List-Archive: List-Post: List-Help: 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" 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: In-Reply-To: References: 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?id=63773 --- Comment #18 from Francois-Xavier Coudert --- (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 :)