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

Bug#130591: gcc: gcc produces broken executable big static arrays are in use



reassign 130591 binutils
thanks

I'm reassigning this to binutils.  Chris, seems to be a woody-only
bug...


On Fri, Jan 25, 2002 at 08:18:41PM +0100, Pavel Machek wrote:
> Hi!
> 
> > > > drow@nevyn:~% dpkg -l gcc-2.95 binutils
> > > > Desired=Unknown/Install/Remove/Purge/Hold
> > > > |Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> > > > |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
> > > > ||/ Name                 Version              Description
> > > > +++-====================-====================-========================================================
> > > > ii  gcc-2.95             2.95.4-1             The GNU C compiler.
> > > > ii  binutils             2.11.92.0.12.3-5     The GNU assembler, linker and binary utilities.
> > > > drow@nevyn:~% gcc delme.c                
> > > > delme.c: In function `main':
> > > > delme.c:12: warning: return type of `main' is not `int'
> > > > drow@nevyn:~% file a.out
> > > > a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
> > > > dynamically linked (uses shared libs), not stripped
> > > > drow@nevyn:~% ./a.out
> > > > 
> > > > Please try again.
> > > 
> > > Notice you have different gcc version, and very different binutils
> > > version.
> > > 
> > > I certainly tried that few times. Could you possibly update your
> > > binutils and try again?
> > 
> > You did not tell me what your binutils version was in the bug report!
> > 
> > You'll also note that my versions are later than yours.  Please update
> > yourself, as the problem does not exist in relatively current unstable. 
> 
> I reproduced it on another (school) machine, it seems to be running
> woody:
> 
> pavel@atrey:/tmp$ gcc delme.c
> delme.c: In function `main':
> delme.c:13: warning: return type of `main' is not `int'
> pavel@atrey:/tmp$ ldd a.out 
> 	not a dynamic executable
> pavel@atrey:/tmp$ gcc --version
> 2.95.4
> pavel@atrey:/tmp$ binutils --version
> bash: binutils: command not found
> pavel@atrey:/tmp$ dpkg -l gcc-2.95 binutils
> Desired=Unknown/Install/Remove/Purge/Hold
> |
> Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> uppercase=bad)
> ||/ Name           Version        Description
> +++-==============-==============-============================================
> ii  gcc-2.95       2.95.4-0.01090 The GNU C compiler.
> ii  binutils       2.11.90.0.31-1 The GNU assembler, linker and binaryutiliti
> pavel@atrey:/tmp$ 

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



Reply to: