From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23724 invoked by alias); 14 Nov 2014 11:19:40 -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 23635 invoked by uid 48); 14 Nov 2014 11:19:31 -0000 From: "howarth at bromo dot med.uc.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/63610] Fixing the libtool bug for Yosemite (darwin14) Date: Fri, 14 Nov 2014 11:19: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: 4.9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howarth at bromo dot med.uc.edu X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.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: 2014-11/txt/msg01216.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63610 --- Comment #18 from howarth at bromo dot med.uc.edu --- (In reply to Francois-Xavier Coudert from comment #17) > (In reply to Iain Sandoe from comment #16) > > Hmm the patch for __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ has been > > applied to 4.9 (AFAICT) > > Yes it has. > > > > although not to 4.8 > > You're right. Provided that the patches are simple, maybe it's good enough > to document them (as I have in the > __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ patch for 4.8) and let > distributors apply them. There is nothing in the gcc build that *needs* to have MACOSX_DEPLOYMENT_TARGET set, however some packaging environments, like fink and MacPorts, happen to set MACOSX_DEPLOYMENT_TARGET by default and thus triggers the configure/libtool.m4 bug... https://trac.macports.org/ticket/44596#comment:35 The Apple programmers told of the libtool.m4 bug so far all are of the view that configure/libtool.m4 shouldn't really be defaulting to "-undefined dynamic_lookup" as that can mask undefined symbols in release code (but should be default "-undefined error"). https://trac.macports.org/ticket/44596#comment:48 However that is a really libtool bug.