From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21197 invoked by alias); 1 Sep 2013 09:49:49 -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 21124 invoked by uid 48); 1 Sep 2013 09:49:46 -0000 From: "ebotcazou at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/58239] [4.9 regression] pretty-print.c:789: undefined reference to `operator delete(void*)' Date: Sun, 01 Sep 2013 09:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: ebotcazou at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ebotcazou at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 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: 2013-09/txt/msg00006.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58239 --- Comment #15 from Eric Botcazou --- > As I was trying to say in earlier comments (and failing to be clear, I > suppose), Darwin needs the library dirs as "-B" in addition to "-L", because > we have to use spec substitution to access static libs. > > The "-B" have always been missing - and the fact that the gcc driver was > invoked with "-static-libstdc++" would not show this up, since that > option/driver combination does not cause any libraries to be added to the > link line. > > Anyway, the revised patch includes -B where you've added the -L. My bad, and the -B's are also present in the CXX variable of the gcc/ Makefile, from which I cooked up the new variable... Thanks for fixing it! > With this (and a fix for pr58269), x86_64-darwin12 bootstraps and completes > the ada and gnat test-suites with no new fails. That's great, thanks again.