This forum has been archived. Please start a new discussion on GitHub.

Compile error on Redhat Enterprise Linux 3.0 update 2

[root@c0101 Ice-2.1.1]# uname -a
Linux c0101 2.4.21-15.EL #1 SMP Thu Apr 22 00:09:47 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux

[root@c0101 Ice-2.1.1]# gcc -v
Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-34)
[root@c0101 Ice-2.1.1]#

c++ -c -I../../include -I.. -DICE_PACK_API_EXPORTS -DGPL_BUILD -DHAVE_READLINE -O2 -DNDEBUG -m64 -ftemplate-depth-128 -fPIC -Wall -D_REENTRANT Registry.cpp
Registry.cpp: In member function `bool IcePack::Registry::start(bool)':
Registry.cpp:320: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:; for instructions.
make[2]: *** [Registry.o] Error 1
make[2]: Leaving directory `/home/yyq/Ice-2.1.1/src/IcePack'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/yyq/Ice-2.1.1/src'
make: *** [all] Error 1

After turn off OPTIMIZE, it's ok.


  • marc
    marc Florida
    This is an internal error in the GNU C++ compiler version you are using, and not an Ice bug. Let me suggest that you try a newer compiler version. (But don't use the latest GCC 4.0 yet, it has some bugs that make it unusable for Ice. These bugs will be fixed in GCC 4.0.1, which is not released yet.)
  • Thanks! maybe i will try gcc-3.4.4