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

Bug#157183: g77-3.2: libg2c missing main().



Package: g77-3.2
Version: 1:3.2-0pre4
Severity: grave
Justification: renders package unusable

libg2c lacks main():

shell> objdump -t /usr/lib/gcc-lib/i386-linux/2.95.4/libg2c.a | grep main
main.o:     file format elf32-i386
00000000 g     F .text	00000052 main
shell> objdump -t /usr/lib/gcc-lib/i386-linux/3.0.4/libg2c.a | grep main
main.o:     file format elf32-i386
00000000 g     F .text	0000003e main
objdump: bes.o: no symbols
objdump: dbes.o: no symbols
shell> objdump -t /usr/lib/gcc-lib/i386-linux/3.2/libg2c.a | grep main
objdump: bes.o: no symbols
objdump: dbes.o: no symbols
shell>

This problem was found when trying to link code with a FORTRAN main
and C/C++ libs using g++-3.2 as the linker.  Same code links with
previous GCC packages.


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux minos 2.4.17 #2 SMP Wed Feb 6 12:49:11 EST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages g77-3.2 depends on:
ii  gcc-3.2                      1:3.2-0pre4 The GNU C compiler.
ii  gcc-3.2-base                 1:3.2-0pre4 The GNU Compiler Collection (base 
ii  libc6                        2.2.5-13    GNU C Library: Shared libraries an
ii  libg2c0                      1:3.2-0pre4 Runtime library for GNU Fortran 77


-Brett.



Reply to: