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

Bug#353363: marked as done (g77-3.4: collect2 linking fails when calling libc6-dev "crt1.o")



Your message dated Fri, 17 Feb 2006 20:19:15 +0100
with message-id <17398.8627.148697.324104@gargle.gargle.HOWL>
and subject line Bug#353363: g77-3.4: collect2 linking fails when calling libc6-dev "crt1.o"
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)

--- Begin Message ---
Package: g77-3.4
Version: 3.4.3-13
Severity: normal



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages g77-3.4 depends on:
ii  gcc-3.4                     3.4.3-13     The GNU C compiler
ii  gcc-3.4-base                3.4.3-13     The GNU Compiler Collection (base 
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libg2c0-dev                 1:3.3.5-13   GNU Fortran 77 library development

-- no debconf information

Additional notes:

Compilation of simple example "circle.f" fails.  Source and error
messages follow.

circle.f source:

>        program circle
>        real r, area
>  
> c This program reads a real number r and prints
> c the area of a circle with radius r.
>  
>        write (*,*) 'Give radius r:'
>        read  (*,*) r
>        area = 3.14159*r*r
>        write (*,*) 'Area = ', area
>  
>        stop
>        end

Error messages from "gcc-3.4 -x f77 circle.f" are:

>	/usr/lib/gcc/i486-linux/3.4.4/../../../../lib/crt1.o(.text+0x18): In
>	function `_start':
>	../sysdeps/i386/elf/start.S:98: undefined reference to `main'
>	/tmp/ccBomHcX.o(.text+0xf): In function `MAIN__':
>	: undefined reference to `s_wsle'
>	/tmp/ccBomHcX.o(.text+0x28): In function `MAIN__':
>	: undefined reference to `do_lio'
>	/tmp/ccBomHcX.o(.text+0x30): In function `MAIN__':
>	: undefined reference to `e_wsle'
>	/tmp/ccBomHcX.o(.text+0x3d): In function `MAIN__':
>	: undefined reference to `s_rsle'
>	/tmp/ccBomHcX.o(.text+0x55): In function `MAIN__':
>	: undefined reference to `do_lio'
>	/tmp/ccBomHcX.o(.text+0x5d): In function `MAIN__':
>	: undefined reference to `e_rsle'
>	/tmp/ccBomHcX.o(.text+0x7b): In function `MAIN__':
>	: undefined reference to `s_wsle'
>	/tmp/ccBomHcX.o(.text+0x94): In function `MAIN__':
>	: undefined reference to `do_lio'
>	/tmp/ccBomHcX.o(.text+0xac): In function `MAIN__':
>	: undefined reference to `do_lio'
>	/tmp/ccBomHcX.o(.text+0xb4): In function `MAIN__':
>	: undefined reference to `e_wsle'
>	/tmp/ccBomHcX.o(.text+0xc3): In function `MAIN__':
>	: undefined reference to `s_stop'
>	collect2: ld returned 1 exit status

(gcc-3.4 specified on command line to select Debian installed version of
gcc/g77 compiler.)

Error messages from source builds of of gcc-3.4.5 and glibc-2.3.6 on Debian
sarge are very similar.  Failure always occurs with undefined references
in crt1.o.

Platforms are all 1686-pc-gnu-linux.

TIA,
Scott


--- End Message ---
--- Begin Message ---
Scott@Ingram.bz writes:
> Error messages from "gcc-3.4 -x f77 circle.f" are:

not a bug. please link using g77.

--- End Message ---

Reply to: