[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



On Fri, Jan 25, 2002 at 08:00:04PM +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. 
Are you running testing?

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



Reply to: