From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15318 invoked by alias); 25 Jan 2011 06:40:42 -0000 Received: (qmail 15308 invoked by uid 22791); 25 Jan 2011 06:40:41 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_BG X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 25 Jan 2011 06:40:36 +0000 From: "rwild at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/46607] [4.6 Regression] libgfortran relocated install fails X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rwild 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: 4.6.0 X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 25 Jan 2011 09:03:00 -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 X-SW-Source: 2011-01/txt/msg02574.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46607 --- Comment #7 from Ralf Wildenhues 2011-01-25 06:40:20 UTC --- (In reply to comment #6) > I would note incidentally a suggestion (comment #3) to work around the > general libtool bug on MinGW by stopping it relinking on MinGW. I don't > believe there's any good reason for it to be relinking for GCC builds to > ELF targets either, so perhaps stopping relinking there would help avoid > this problem in many more cases. But there is a good reason to relink on ELF: uninstalled libraries and executables get DT_RPATH entries against uninstalled libraries they depend on, so that uninstalled programs can be executed in a test suite before installing the libraries they depend on. Removing (or replacing) those DT_RPATH entries is the point of relinking. That GCC takes care of the uninstalled paths in some other way as well is something libtool cannot know.