[Bug 860236] Re: G++ 4.5.2 Crash when Building Crypto++ on Ubuntu 11.04 (x86)

Søren Bredlund Caspersen soeren.b.c at gmail.com
Mon Oct 3 16:28:27 UTC 2011


** Package changed: ubuntu => gcc-defaults (Ubuntu)

-- 
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/860236

Title:
  G++ 4.5.2 Crash when Building Crypto++ on Ubuntu 11.04 (x86)

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

Bug description:
  Fetch Crypto++:
  $ svn checkout https://cryptopp.svn.sourceforge.net/svnroot/cryptopp/trunk/c5 cryptopp

  Attempt to build the library:
  $ make static dynamic cryptest.exe
  g++ -DNDEBUG -g -O2 -fPIC -march=native -pipe -c 3way.cpp
  g++ -DNDEBUG -g -O2 -fPIC -march=native -pipe -c adler32.cpp
  g++ -DNDEBUG -g -O2 -fPIC -march=native -pipe -c algebra.cpp
  g++ -DNDEBUG -g -O2 -fPIC -march=native -pipe -c algparam.cpp
  g++ -DNDEBUG -g -O2 -fPIC -march=native -pipe -c arc4.cpp
  g++ -DNDEBUG -g -O2 -fPIC -march=native -pipe -c asn.cpp
  asn.cpp: In member function ‘void CryptoPP::OID::DEREncode(CryptoPP::BufferedTransformation&) const’:
  asn.cpp:254:1: error: unrecognizable insn:
  (insn 202 185 203 2 asn.cpp:248 (set (reg:SI 2 cx)
          (mem:QI (plus:SI (reg/f:SI 1 dx [orig:60 D.44264 ] [60])
                  (const_int 4 [0x4])) [10 S1 A32])) -1 (nil))
  asn.cpp:254: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.
  make: *** [asn.o] Error 1
  $ g++ --version
  g++ (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2
  Copyright (C) 2010 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  $ uname -a
  Linux germain 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:05:14 UTC 2011 i686 i686 i386 GNU/Linux

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




More information about the foundations-bugs mailing list