[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#197001: marked as done (g77 no longer compiles using static libraries)



Your message dated Wed, 9 Jul 2003 00:09:07 +0200
with message-id <16139.16643.656134.982937@gargle.gargle.HOWL>
and subject line Bug#197001: g77 no longer compiles using static libraries
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 11 Jun 2003 09:19:13 +0000
>From guerrero@ieec.fcr.es Wed Jun 11 04:19:12 2003
Return-path: <guerrero@ieec.fcr.es>
Received: from europa.ieec.fcr.es [193.145.216.132] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19Q1lA-00048Y-00; Wed, 11 Jun 2003 04:19:12 -0500
Received: from kadath.ieec.fcr.es (mail@kadath.ieec.fcr.es [193.145.216.167])
	by europa.ieec.fcr.es (8.12.3/8.12.3/Debian-6.4) with ESMTP id h5B9J9P3007296;
	Wed, 11 Jun 2003 11:19:09 +0200
Received: from guerrero by kadath.ieec.fcr.es with local (Exim 3.35 #1 (Debian))
	id 19Q1l6-0001qS-00; Wed, 11 Jun 2003 11:19:08 +0200
From: Josep Guerrero Sole <guerrero@ieec.fcr.es>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: g77 no longer compiles using static libraries
X-Mailer: reportbug 1.50
Date: Wed, 11 Jun 2003 11:19:08 +0200
Message-Id: <E19Q1l6-0001qS-00@kadath.ieec.fcr.es>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0
	tests=BAYES_20,HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_06_10
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_06_10 (1.174.2.15-2003-03-30-exp)

Package: g77
Version: 2:2.95.4-14
Severity: important



-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux kadath 2.4.18-686 #1 Sun Apr 14 11:32:47 EST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages g77 depends on:
ii  cpp                    2:2.95.4-14       The GNU C preprocessor.
ii  g77-2.95               1:2.95.4-11woody1 The GNU Fortran 77 compiler.
ii  gcc-2.95               1:2.95.4-11woody1 The GNU C compiler.

Something on the last security updates seems to have
removed g77 capability to compile programs that use static libraries.
Every call to a function in a static library gives an error like:

/tmp/cckJSVES.o: In function `MAIN__':
/tmp/cckJSVES.o(.text+0x7): undefined reference to `a_'
collect2: ld returned 1 exit status

when compiling (in this case, the function name is "a"). Note that the 
undefined reference occur in the temporary file "ccxxxx", not in the 
source file of the program I'm actually compiling. I know for sure
that compiling with static libraries was working on February, but I 
don't know exactly when g77 started to act this way. I found this when
trying to compile a program which uses the XSPEC library libxspec.a,
for which there is only a static version, and the error messages above
were obtained when trying to compile a test case, with a test library with
only one function ("a") which in fact did nothing and a test program
which only called that function and ended.


---------------------------------------
Received: (at 197001-done) by bugs.debian.org; 8 Jul 2003 22:11:17 +0000
>From doko@cs.tu-berlin.de Tue Jul 08 17:10:51 2003
Return-path: <doko@cs.tu-berlin.de>
Received: from mail.cs.tu-berlin.de [130.149.17.13] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19a0fj-0002QQ-00; Tue, 08 Jul 2003 17:10:51 -0500
Received: from bolero.cs.tu-berlin.de (daemon@bolero.cs.tu-berlin.de [130.149.19.1])
	by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id AAA14792;
	Wed, 9 Jul 2003 00:09:08 +0200 (MET DST)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.11.6+Sun/8.9.3) id h68M97h18462;
	Wed, 9 Jul 2003 00:09:07 +0200 (MEST)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16139.16643.656134.982937@gargle.gargle.HOWL>
Date: Wed, 9 Jul 2003 00:09:07 +0200
To: Josep Guerrero Sole <guerrero@ieec.fcr.es>, 197001-done@bugs.debian.org
Subject: Re: Bug#197001: g77 no longer compiles using static libraries
In-Reply-To: <[🔎] 200307081052.h68AqRP3021239@europa.ieec.fcr.es>
References: <E19Q1l6-0001qS-00@kadath.ieec.fcr.es>
	<[🔎] 16135.52529.625568.387580@gargle.gargle.HOWL>
	<[🔎] 200307081052.h68AqRP3021239@europa.ieec.fcr.es>
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Delivered-To: 197001-done@bugs.debian.org
X-Spam-Status: No, hits=-14.5 required=4.0
	tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT,
	      REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_VM
	autolearn=ham version=2.53-bugs.debian.org_2003_06_27
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_06_27 (1.174.2.15-2003-03-30-exp)

Josep Guerrero Sole writes:
> And then I try to compile:
> 
> kadath:/home/kadath/guerrero>g77 -L. -lbib prova.f
> /tmp/cc8W8jGw.o: In function `MAIN__':
> /tmp/cc8W8jGw.o(.text+0x7): undefined reference to `feline_'
> collect2: ld returned 1 exit status

$ g77 -L. prova.f -lbib

the libraries come last.



Reply to: