Re: Internal Compiler Error workarounds?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/07/11 18:20, Jeffrey Walton wrote:
> Hi All,
> 
> I'm attempting to compile the latest Crypto++ [1] on Ubuntu 11.04 (GCC
> 4.5.2), and I received the following panic.
> 
> What should I attempt to tweak so that different `insn instructions`
> (?) are generated in an attempt to side step the issue?
> `-mtune=native` did not help.
> 
> Jeff
> 
> $ export PREFIX=/usr/local; make
> g++ -DNDEBUG -g -O2 -m32 -mtune=pentium4 -pipe -c 3way.cpp
> g++ -DNDEBUG -g -O2 -m32 -mtune=pentium4 -pipe -c adler32.cpp
> g++ -DNDEBUG -g -O2 -m32 -mtune=pentium4 -pipe -c algebra.cpp
> g++ -DNDEBUG -g -O2 -m32 -mtune=pentium4 -pipe -c algparam.cpp
> g++ -DNDEBUG -g -O2 -m32 -mtune=pentium4 -pipe -c arc4.cpp
> g++ -DNDEBUG -g -O2 -m32 -mtune=pentium4 -pipe -c asn.cpp
> asn.cpp: In member function ‘void
> CryptoPP::OID::DEREncode(CryptoPP::BufferedTransformation&) const’:
> asn.cpp:254:1: error: unrecognizable insn:
> (insn 194 178 195 2 asn.cpp:248 (set (reg:SI 2 cx)
>         (mem:QI (plus:SI (reg/f:SI 1 dx [orig:61 D.44160 ] [61])
>                 (const_int 4 [0x4])) [16 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
File a bug with the preprocessed source via http://gcc.gnu.org/bugzilla.

Generally we prefer to spend our time fixing the root cause instead of
looking for workarounds.

g++ -v -save-temps -DNDEBUG -g -O2 -m32 -mtune=pentium4 -pipe -c asn.cpp

That will create a .ii file which you will want to include in your bug
report.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJOFyzVAAoJEBRtltQi2kC7PigH/i4giplxPBbb1WBS3ikcgLBv
QhuPpaacYAEOOE6hzHclph0ip2qWQUGbnXaz74pN7LKyiGbAxY486VgcEwNr4UHx
I0e0ilaAnLRyuHHZOod/hF6E46C0j4qaiet6ECCA6LljLFG8AHTtHbpuEEN6DwYc
DtFJbxHh1GjwoXyvLDP9FvjnonhRfGYXk5TnGpBxuXrVO9RbhPEuU9kOljtI9Ons
fyTn+w0sG13IE6TeEwQdJvHyjGx3TQA8Rb4HYwoZhS+gF8gutsfneGq6RCku3N6v
ei00oGnS/O7O5spa9umWtu5yQ3wdP/dSvF7vuMwNQzAQPUtTuY9uiBFq7B/r9YY=
=4F/l
-----END PGP SIGNATURE-----


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux