Package: gcc-4.1 Version: 4.1.2-9 strace shows what I assume is collect2 trying to write to its fd 2 which I didn't redirect, so presumably the compiler driver did.
I actually found this bug on Ubuntu with 4.1.2-9ubuntu2 but I'd be very surprised if it isn't also present in the corresponding Debian package so I thought I'd report it here. I hope that's OK with you. I found this bug while running a glibc build. Ian. [EMAIL PROTECTED]:/work/Disk-full-2/build2/glibc-2.5/build-tree/glibc-2.5 $ df -P . Filesystem 1024-blocks Used Available Capacity Mounted on /dev/hda7 14422240 13831068 5124 100% / [EMAIL PROTECTED]:/work/Disk-full-2/build2/glibc-2.5/build-tree/glibc-2.5 $ dd if=/dev/zero of=t dd: writing to `t': No space left on device 10225+0 records in 10224+0 records out 5234688 bytes (5.2 MB) copied, 0.079728 seconds, 65.7 MB/s [EMAIL PROTECTED]:/work/Disk-full-2/build2/glibc-2.5/build-tree/glibc-2.5 $ gcc-4.1 -v -fno-stack-protector -shared -static-libgcc -Wl,-O1 -Wl,-z,defs -Wl,-dynamic-linker=/lib/ld-linux.so.2 -B/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/csu/ -Wl,--version-script=/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/libc.map -Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -nostdlib -nostartfiles -e __libc_main -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686 -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/math -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/elf -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/dlfcn -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/nss -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/nis -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/rt -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/resolv -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/crypt -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/nptl -Wl,-rpath-link=/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/math:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/elf:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/dlfcn:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/nss:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/nis:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/rt:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/resolv:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/crypt:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/nptl -o /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/libc.so -T /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/shlib.lds /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/csu/abi-note.o /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/elf/soinit.os /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/libc_pic.os /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/elf/sofini.os /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/elf/interp.os /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/elf/ld.so -lgcc Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.3 20070528 (prerelease) (Ubuntu 4.1.2-9ubuntu2) /usr/lib/gcc/i486-linux-gnu/4.1.3/collect2 --eh-frame-hdr -m elf_i386 --hash-style=both -shared -o /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/libc.so -e __libc_main -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686 -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/math -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/elf -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/dlfcn -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/nss -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/nis -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/rt -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/resolv -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/crypt -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/nptl -L/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/csu -L/usr/lib/gcc/i486-linux-gnu/4.1.3 -L/usr/lib/gcc/i486-linux-gnu/4.1.3 -L/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib -L/lib/../lib -L/usr/lib/../lib -O1 -z defs -dynamic-linker=/lib/ld-linux.so.2 --version-script=/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/libc.map -soname=libc.so.6 -z combreloc -z relro --hash-style=both -rpath-link=/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/math:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/elf:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/dlfcn:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/nss:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/nis:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/rt:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/resolv:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/crypt:/work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/nptl /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/csu/abi-note.o /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/elf/soinit.os /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/libc_pic.os /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/elf/sofini.os /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/elf/interp.os /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/elf/ld.so -lgcc -T /work/Disk-full-2/build2/glibc-2.5/build-tree/i386-i686/shlib.lds collect2: ld returned 1 exit status [EMAIL PROTECTED]:/work/Disk-full-2/build2/glibc-2.5/build-tree/glibc-2.5 $ echo $? 1 [EMAIL PROTECTED]:/work/Disk-full-2/build2/glibc-2.5/build-tree/glibc-2.5 $