Package: gcc-3.3 Version: 1:3.3.3-2 Severity: normal I compiled the following c code with g++/gcc 2.95/3.2/3.3 on different stable/unstable Debian systems with 2.4/2.6 kernels (also Athlon/Opteron/Pentium). On every system the result was the same.
int main(void) { double a[2000000]; int b = 1; } When the compiled 'program' was started it exits with a 'Segmentation fault'. Compiling it with '-static' and running it on a SuSE 7.2 with 2.4.19 kernel produced no problems. The code is running with 'double a[1048444]'. It causes segmentatation faults starting with 'double a[1048445]'. -- System Information: Debian Release: unstable APT prefers unstable APT policy: (990, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.3 Locale: LANG=C, LC_CTYPE=C Versions of packages gcc-3.3 depends on: ii binutils 2.14.90.0.7-5 The GNU assembler, linker and bina ii cpp-3.3 1:3.3.3-2 The GNU C preprocessor ii gcc-3.3-base 1:3.3.3-2 The GNU Compiler Collection (base ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an ii libgcc1 1:3.3.3-2 GCC support library -- no debconf information
signature.asc
Description: This is a digitally signed message part