Internal compile error

When compiling ACE 5.2 on QNX 6.1.0 I get an “Internal compiler error”. I
have already changed in /usr/lib/gcc-lib/ntox86/2.95.2/specs:

*cc1plus:
-fhonor-std

TO

*cc1plus:
%(cc1plus_spec) -fhonor-std -fno-builtin

The output is listed below. Note that I did try turning off optimization
and I tried changing g++ to QCC (with the appropriate argument changes).
Neither changed anything. ACE compiles fine using gcc 2.95.2 to x86 on
other platforms. So the error is probably in the QNX configuration.

g++ -fexceptions -pipe -W -Wall -Wpointer-arith -O3 -gstabs -Wno-uninitializ
ed -
fno-implicit-templates -I/Src/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_
INLI
NE__ -c -fPIC -o .shobj/ARGV.o ARGV.cpp
/Src/ACE_wrappers/ace/Unbounded_Queue.cpp:55: Internal compiler error.
/Src/ACE_wrappers/ace/Unbounded_Queue.cpp:55: Please submit a full bug
report.

A couple of things to try

try using -fno-default-inline
try increasing the stack of cc1plus

ldrel -L -S 16777216 /usr/lib/gcc-lib/ntox86/2.95.2/cc1plus

That would give it 16Mb of stack space.

Chris Elliott <Chris.P.Elliott@ieee.org> wrote:

When compiling ACE 5.2 on QNX 6.1.0 I get an “Internal compiler error”. I
have already changed in /usr/lib/gcc-lib/ntox86/2.95.2/specs:

*cc1plus:
-fhonor-std

TO

*cc1plus:
%(cc1plus_spec) -fhonor-std -fno-builtin

The output is listed below. Note that I did try turning off optimization
and I tried changing g++ to QCC (with the appropriate argument changes).
Neither changed anything. ACE compiles fine using gcc 2.95.2 to x86 on
other platforms. So the error is probably in the QNX configuration.

g++ -fexceptions -pipe -W -Wall -Wpointer-arith -O3 -gstabs -Wno-uninitializ
ed -
fno-implicit-templates -I/Src/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_
INLI
NE__ -c -fPIC -o .shobj/ARGV.o ARGV.cpp
/Src/ACE_wrappers/ace/Unbounded_Queue.cpp:55: Internal compiler error.
/Src/ACE_wrappers/ace/Unbounded_Queue.cpp:55: Please submit a full bug
report.




cburgess@qnx.com

Chris Elliott <Chris.P.Elliott@ieee.org> wrote:
: When compiling ACE 5.2 on QNX 6.1.0 I get an “Internal compiler error”. I
: have already changed in /usr/lib/gcc-lib/ntox86/2.95.2/specs:

: *cc1plus:
: -fhonor-std

: TO

: *cc1plus:
: %(cc1plus_spec) -fhonor-std -fno-builtin

: The output is listed below. Note that I did try turning off optimization
: and I tried changing g++ to QCC (with the appropriate argument changes).
: Neither changed anything. ACE compiles fine using gcc 2.95.2 to x86 on
: other platforms. So the error is probably in the QNX configuration.

: g++ -fexceptions -pipe -W -Wall -Wpointer-arith -O3 -gstabs -Wno-uninitializ
^^^^^^

Have you try to compile this file manually with -O0 ?
Vaguely remember that the only thing that could get me ACE was to
do a cross-compile from a Solaris box … but that was in the days of Neutrino 1.0

: ed -
: fno-implicit-templates -I/Src/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_
: INLI
: NE__ -c -fPIC -o .shobj/ARGV.o ARGV.cpp
: /Src/ACE_wrappers/ace/Unbounded_Queue.cpp:55: Internal compiler error.
: /Src/ACE_wrappers/ace/Unbounded_Queue.cpp:55: Please submit a full bug
: report.





\

au revoir, alain

Aussi haut que l’on soit assis, on n’est toujours assis que sur son cul !!!

It seems that the QCC can not cope correctly with templates. When I compile
another ORB, ROFES, on QNX RTP 6.1, similiar errors happened. Hope some
people in QNX or the people develop QCC are dealting with it.


“Chris Elliott” <Chris.P.Elliott@ieee.org> wrote in message
news:9q1tvn$lht$1@inn.qnx.com

When compiling ACE 5.2 on QNX 6.1.0 I get an “Internal compiler error”. I
have already changed in /usr/lib/gcc-lib/ntox86/2.95.2/specs:

*cc1plus:
-fhonor-std

TO

*cc1plus:
%(cc1plus_spec) -fhonor-std -fno-builtin

The output is listed below. Note that I did try turning off optimization
and I tried changing g++ to QCC (with the appropriate argument changes).
Neither changed anything. ACE compiles fine using gcc 2.95.2 to x86 on
other platforms. So the error is probably in the QNX configuration.


g++ -fexceptions -pipe -W -Wall -Wpointer-arith -O3 -gstabs -Wno-uninitializ
ed -

fno-implicit-templates -I/Src/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_
INLI
NE__ -c -fPIC -o .shobj/ARGV.o ARGV.cpp
/Src/ACE_wrappers/ace/Unbounded_Queue.cpp:55: Internal compiler error.
/Src/ACE_wrappers/ace/Unbounded_Queue.cpp:55: Please submit a full bug
report.

\

Yongwen Liu wrote:

It seems that the QCC can not cope correctly with templates. When I compile
another ORB, ROFES, on QNX RTP 6.1, similiar errors happened. Hope some
people in QNX or the people develop QCC are dealting with it.

ACE & TAO was compilable with the cross development version of Neutrino.

Something lost ??

Armin


“Chris Elliott” <> Chris.P.Elliott@ieee.org> > wrote in message
news:9q1tvn$lht$> 1@inn.qnx.com> …

When compiling ACE 5.2 on QNX 6.1.0 I get an “Internal compiler error”. I
have already changed in /usr/lib/gcc-lib/ntox86/2.95.2/specs:

*cc1plus:
-fhonor-std

TO

*cc1plus:
%(cc1plus_spec) -fhonor-std -fno-builtin

The output is listed below. Note that I did try turning off optimization
and I tried changing g++ to QCC (with the appropriate argument changes).
Neither changed anything. ACE compiles fine using gcc 2.95.2 to x86 on
other platforms. So the error is probably in the QNX configuration.



g++ -fexceptions -pipe -W -Wall -Wpointer-arith -O3 -gstabs -Wno-uninitializ

ed -


fno-implicit-templates -I/Src/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_

INLI
NE__ -c -fPIC -o .shobj/ARGV.o ARGV.cpp
/Src/ACE_wrappers/ace/Unbounded_Queue.cpp:55: Internal compiler error.
/Src/ACE_wrappers/ace/Unbounded_Queue.cpp:55: Please submit a full bug
report.




\