Package: gcc-4.4 Version: 4.4.5-8 Severity: normal File: /usr/bin/gcc-4.4 Hi, The attached file causes an internal compiler error when compiled on debian squeeze (mipsel): gcc -Os -mabi=64 -march=loongson2f -mno-branch-likely gccbug2.i \ -c -o /dev/null gccbug2.i: In function ‘lpfc_pci_function_reset’: gccbug2.i:36847: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions. The source file is a preprocessed, slightly trimmed version of the linux kernel source drivers/scsi/lpfc/lpfc_init.c. I.e. attempts to build the debian wheezy kernel package for loongson currently fail (deactivating the module in the kernel config trivially fixes the problem, though). The same compiler error is triggered on amd64 when trying to cross-compile the source file using the compiler provided by emdebian package gcc-4.4-mipsel-linux-gnu (version 4.4.5-8) [1]. Apologies for the 146kB attachment. My primitive attempts to further reduce the size of the source file unfortunately made the bug go away. cheers, David [1] http://www.emdebian.org/toolchains/search.php?package=gcc-4.4-mipsel-linux-gnu&arch=amd64&distro=squeeze -- System Information: Debian Release: 6.0.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: mipsel (mips64) Kernel: Linux 2.6.39.3-dk Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gcc-4.4 depends on: ii binutils 2.20.1-16 The GNU assembler, linker and bina ii cpp-4.4 4.4.5-8 The GNU C preprocessor ii gcc-4.4-base 4.4.5-8 The GNU Compiler Collection (base ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libgcc1 1:4.4.5-8 GCC support library ii libgomp1 4.4.5-8 GCC OpenMP (GOMP) support library Versions of packages gcc-4.4 recommends: ii libc6-dev 2.11.2-10 Embedded GNU C Library: Developmen Versions of packages gcc-4.4 suggests: ii gcc-4.4-doc 4.4.4.nf1-1 documentation for the GNU compiler pn gcc-4.4-locales <none> (no description available) ii gcc-4.4-multilib 4.4.5-8 The GNU C compiler (multilib files pn libcloog-ppl0 <none> (no description available) pn libgcc1-dbg <none> (no description available) pn libgomp1-dbg <none> (no description available) pn libmudflap0-4.4-dev <none> (no description available) pn libmudflap0-dbg <none> (no description available) pn libppl-c2 <none> (no description available) pn libppl7 <none> (no description available) -- no debconf information -- GnuPG public key: http://dvdkhlng.users.sourceforge.net/dk.gpg Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40
Attachment:
gccbug2.tar.bz2
Description: Binary data
Attachment:
pgp6oaJdzG2JK.pgp
Description: PGP signature