Package: binutils
Version: 2.20-4
Severity: important
When I compile the following program with gcc (no particular options),
top shows that ld takes almost 2 GB.
static int t[500000000];
int main (void)
{
t[0] = 0;
return 0;
}
With more important arrays, the machine starts swapping a lot, the
load average increases a lot, and it takes several minutes to be
able to stop the command.
-- System Information:
Debian Release: squeeze/sid
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26.5-20080922 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages binutils depends on:
ii libc6 2.10.1-7 GNU C Library: Shared libraries
ii zlib1g 1:1.2.3.3.dfsg-15 compression library - runtime
binutils recommends no packages.
Versions of packages binutils suggests:
ii binutils-doc 2.20-4 Documentation for the GNU assemble
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]