Compiler Problems

I’m trying to compile a cryptographic library (crypto++) and I keep getting
the following error,

/usr/lib/gcc-lib/ntox86/2.95.2/…/…/…/…/include/g+±3/stl_algobase.h:427:
Internal compiler error in `dwarfout_finish’, at dwarfout.c:6102
Please submit a full bug report.
See URL:http://www.gnu.org/software/gcc/faq.html#bugreport for
instructions.
make: *** [cryptlib.o] Error 1

I’ve tried qcc and gcc 2.9.5. Note, this only occurs with -g, without it
the code compiles but does not work. Am I also right in saying libcrypt.xxx
is not available for QNXRTP?

Any ideas?

Dwarf 1 support in gcc is buggy, especially for C++. I would suggest
using stabs, since this is what the linux boys use. Either that or
Dwarf-2. (ie, pass -gstabs or -gdwarf-2)

Daniel G. Waddington <dwaddington@lucent.com> wrote:

I’m trying to compile a cryptographic library (crypto++) and I keep getting
the following error,

/usr/lib/gcc-lib/ntox86/2.95.2/…/…/…/…/include/g+±3/stl_algobase.h:427:
Internal compiler error in `dwarfout_finish’, at dwarfout.c:6102
Please submit a full bug report.
See URL: http://www.gnu.org/software/gcc/faq.html#bugreport> > for
instructions.
make: *** [cryptlib.o] Error 1

I’ve tried qcc and gcc 2.9.5. Note, this only occurs with -g, without it
the code compiles but does not work. Am I also right in saying libcrypt.xxx
is not available for QNXRTP?

Any ideas?


cburgess@qnx.com

Is it correct that if you are using Metrowerks, you must use Dwarf 1?

“Colin Burgess” <cburgess@qnx.com> wrote in message
news:8uc2n9$b6e$1@nntp.qnx.com

Dwarf 1 support in gcc is buggy, especially for C++. I would suggest
using stabs, since this is what the linux boys use. Either that or
Dwarf-2. (ie, pass -gstabs or -gdwarf-2)

Daniel G. Waddington <> dwaddington@lucent.com> > wrote:
I’m trying to compile a cryptographic library (crypto++) and I keep
getting
the following error,


/usr/lib/gcc-lib/ntox86/2.95.2/…/…/…/…/include/g+±3/stl_algobase.h:427:
Internal compiler error in `dwarfout_finish’, at dwarfout.c:6102
Please submit a full bug report.
See URL: http://www.gnu.org/software/gcc/faq.html#bugreport> > for
instructions.
make: *** [cryptlib.o] Error 1

I’ve tried qcc and gcc 2.9.5. Note, this only occurs with -g, without
it
the code compiles but does not work. Am I also right in saying
libcrypt.xxx
is not available for QNXRTP?

Any ideas?



\

cburgess@qnx.com

Yes. The Metrowerks Debugger only understands Dwarf 1.

Dwayne Nelson <nelsond@intgame.com> wrote:

Is it correct that if you are using Metrowerks, you must use Dwarf 1?

“Colin Burgess” <> cburgess@qnx.com> > wrote in message
news:8uc2n9$b6e$> 1@nntp.qnx.com> …
Dwarf 1 support in gcc is buggy, especially for C++. I would suggest
using stabs, since this is what the linux boys use. Either that or
Dwarf-2. (ie, pass -gstabs or -gdwarf-2)

Daniel G. Waddington <> dwaddington@lucent.com> > wrote:
I’m trying to compile a cryptographic library (crypto++) and I keep
getting
the following error,


/usr/lib/gcc-lib/ntox86/2.95.2/…/…/…/…/include/g+±3/stl_algobase.h:427:
Internal compiler error in `dwarfout_finish’, at dwarfout.c:6102
Please submit a full bug report.
See URL: http://www.gnu.org/software/gcc/faq.html#bugreport> > for
instructions.
make: *** [cryptlib.o] Error 1

I’ve tried qcc and gcc 2.9.5. Note, this only occurs with -g, without
it
the code compiles but does not work. Am I also right in saying
libcrypt.xxx
is not available for QNXRTP?

Any ideas?



\

cburgess@qnx.com


cburgess@qnx.com