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.