[Bug 893987] Re: g++ 4.5 internal compiler error when compiling adplug-2.2.1

Matthias Klose doko at ubuntu.com
Wed Jun 11 13:03:16 UTC 2014


please recheck with GCC 4.8 in trusty

** Changed in: gcc-defaults (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/893987

Title:
  g++ 4.5 internal compiler error when compiling adplug-2.2.1

Status in “gcc-defaults” package in Ubuntu:
  Incomplete

Bug description:
  I've downloaded adplug-2.2.1.tar.bz2 from here: http://sourceforge.net/projects/adplug/files/AdPlug%20core%20library/
  I've tried to compile it (Ubuntu natty, x86 32 bit). However I've got internal compiler errors, like this one:

  lgb at vega:~/src/adplug-2.2.1/src$ g++ -DPACKAGE_NAME=\"adplug\" -DPACKAGE_TARNAME=\"adplug\" -DPACKAGE_VERSION=\"2.2.1\" "-DPACKAGE_STRING=\"adplug 2.2.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"adplug\" -DVERSION=\"2.2.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBSTDC__=1 -DHAVE_GETOPT_H=1 -I. -Dstricmp=strcasecmp -I/usr/include/libbinio -mtune=pentium4 -march=pentium4 -g -O2 -MT protrack.lo -MD -MP -MF .deps/protrack.Tpo -c protrack.cpp  -fPIC -DPIC -o .libs/protrack.o
  protrack.cpp: In member function ‘virtual bool CmodPlayer::update()’:
  protrack.cpp:450:1: error: unrecognizable insn:
  (insn 2259 2065 2260 117 protrack.cpp:250 (set (reg:SI 5 di)
          (mem/c:QI (plus:SI (reg/f:SI 6 bp)
                  (const_int -53 [0xffffffffffffffcb])) [36 %sfp+-29 S1 A8])) -1 (nil))
  protrack.cpp:450:1: internal compiler error: in extract_insn, at recog.c:2104
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.

  I don't think it's an ANSI standard problem (as the README.Bugs
  suggests) as it compiles if I change -O2 to -O0.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: g++ 4:4.5.2-1ubuntu3
  ProcVersionSignature: Ubuntu 2.6.38-13.52-generic 2.6.38.8
  Uname: Linux 2.6.38-13-generic i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  Date: Wed Nov 23 14:14:57 2011
  EcryptfsInUse: Yes
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: gcc-defaults
  UpgradeStatus: Upgraded to natty on 2010-10-20 (398 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-defaults/+bug/893987/+subscriptions



More information about the foundations-bugs mailing list