This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/41571] New: libgcc2.c: internal compiler error: Illegal instruction In function '__popcountsi2'
- From: "dougmencken at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2009 18:44:01 -0000
- Subject: [Bug c/41571] New: libgcc2.c: internal compiler error: Illegal instruction In function '__popcountsi2'
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
the exact version of GCC - 4.3.3
the system type - Linux localhost 2.6.30.8-64.fc11.ppc #1 Fri Sep 25 04:30:08
EDT 2009 ppc ppc ppc GNU/Linux
the options given when GCC was configured/built - I used the latest stable
buildroot to get a toolchain
the compiler output (error messages, warnings, etc.)
----------
/home/douglas/Linux/buildroot-2009.08/toolchain_build_powerpc/gcc-4.3.3-initial/./gcc/xgcc
-B/home/douglas/Linux/buildroot-2009.08/toolchain_build_powerpc/gcc-4.3.3-initial/./gcc/
-B/home/douglas/Linux/buildroot-2009.08/build_powerpc/staging_dir/usr/powerpc-linux-uclibc/bin/
-B/home/douglas/Linux/buildroot-2009.08/build_powerpc/staging_dir/usr/powerpc-linux-uclibc/lib/
-isystem
/home/douglas/Linux/buildroot-2009.08/build_powerpc/staging_dir/usr/powerpc-linux-uclibc/include
-isystem
/home/douglas/Linux/buildroot-2009.08/build_powerpc/staging_dir/usr/powerpc-linux-uclibc/sys-include
-g -Os -O2 -g -Os -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -mlong-double-128 -I. -I. -I../.././gcc
-I/home/douglas/Linux/buildroot-2009.08/toolchain_build_powerpc/gcc-4.3.3/libgcc
-I/home/douglas/Linux/buildroot-2009.08/toolchain_build_powerpc/gcc-4.3.3/libgcc/.
-I/home/douglas/Linux/buildroot-2009.08/toolchain_build_powerpc/gcc-4.3.3/libgcc/../gcc
-I/home/douglas/Linux/buildroot-2009.08/toolchain_build_powerpc/gcc-4.3.3/libgcc/../include
-o _popcountsi2.o -MT _popcountsi2.o -MD -MP -MF _popcountsi2.dep
-DL_popcountsi2 -c
/home/douglas/Linux/buildroot-2009.08/toolchain_build_powerpc/gcc-4.3.3/libgcc/../gcc/libgcc2.c
\
/home/douglas/Linux/buildroot-2009.08/toolchain_build_powerpc/gcc-4.3.3/libgcc/../gcc/libgcc2.c:
In function '__popcountsi2':
/home/douglas/Linux/buildroot-2009.08/toolchain_build_powerpc/gcc-4.3.3/libgcc/../gcc/libgcc2.c:799:
internal compiler error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [_popcountsi2.o] Error 1
make[2]: Leaving directory
`/home/douglas/Linux/buildroot-2009.08/toolchain_build_powerpc/gcc-4.3.3-initial/powerpc-linux-uclibc/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory
`/home/douglas/Linux/buildroot-2009.08/toolchain_build_powerpc/gcc-4.3.3-initial'
make: ***
[/home/douglas/Linux/buildroot-2009.08/toolchain_build_powerpc/gcc-4.3.3-initial/.compiled]
Error 2
----------
--
Summary: libgcc2.c: internal compiler error: Illegal instruction
In function '__popcountsi2'
Product: gcc
Version: 4.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dougmencken at gmail dot com
GCC host triplet: powerpc-linux-gnu
GCC target triplet: powerpc-linux-uclibc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41571