From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32217 invoked by alias); 27 Nov 2007 02:24:02 -0000 Received: (qmail 32168 invoked by uid 48); 27 Nov 2007 02:23:55 -0000 Date: Tue, 27 Nov 2007 02:24:00 -0000 Message-ID: <20071127022355.32167.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/34136] [regression against g77] Add entry point and symbol for linker In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "howarth at nitro dot med dot uc dot edu" 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: 2007-11/txt/msg02558.txt.bz2 ------- Comment #11 from howarth at nitro dot med dot uc dot edu 2007-11-27 02:23 ------- In case this helps prove Mike's hypothesis of the alternate fix to this problem (outside of the patching the darwin linker), I've uploaded the assembly files for testbd.f and testsub.f generated on i386-apple-darwin9 with g95 0.90 compiled against a patched gcc 4.0.3. The blockdata_test all pass with g95 on darwin. I should note that on Macintel we get warnings of the form... g95 -o main.init main.o libtestinit.a ld: warning for symbol _test_ tentative definition of size 16 from libtestinit.a(testsub.o) is being replaced by a real definition of size 4 from libtestinit.a(testbd.o) and g95 -o main.bad main.o libtest.a ld: warning for symbol _test_ tentative definition of size 16 from libtest.a(testsub.o) is being replaced by a real definition of size 4 from libtest.a(testbd.o) which I believe are due to intel darwin specific changes that were never backported out of gcc 4.2 to gcc 4.0.x branch. However, I think these warnings are non-critical. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34136