From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31028 invoked by alias); 7 Jan 2013 11:50:13 -0000 Received: (qmail 30873 invoked by uid 48); 7 Jan 2013 11:49:54 -0000 From: "dominiq at lps dot ens.fr" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/55891] Problem with shared library and EQUIVALENCE on darwin 11.4.2 x86_64 Date: Mon, 07 Jan 2013 11:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dominiq at lps dot ens.fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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 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: 2013-01/txt/msg00470.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55891 --- Comment #2 from Dominique d'Humieres 2013-01-07 11:49:53 UTC --- I see this behavior with gcc 4.8 on x86_64-apple-darwin10. It happens even if the -fPIC options are removed (isn't it the default on darwin?). I recover the expected behavior if I add -c when compiling mod.f90, but I cannot say more since I don't understand what is intended.