This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49976] New: Cross (Linux->AIX) GCC crashes with Segmentation fault
- From: "basil at list dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 4 Aug 2011 13:31:20 +0000
- Subject: [Bug c++/49976] New: Cross (Linux->AIX) GCC crashes with Segmentation fault
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49976
Summary: Cross (Linux->AIX) GCC crashes with Segmentation fault
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: basil@list.ru
I am using GCC 4.6.1 on Linux x86_64 to build images for AIX 5.2. It crashes on
specific file from ACE 5.6.8 library.
**************** Command line *****************************
/emc/sukhav/cross/aix/bin/powerpc-ibm-aix5.2.0.0-g++ -pthread -W -Wall
-DACE_AIX_VERS=502 -maix32 -O2 -g -O2 -DACE_HAS_CUSTOM_EXPORT_MACROS=0
-I/emc/sukhav/cross/aix/ACE_wrappers -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__ -I..
-DACE_BUILD_DLL -c -o Log_Msg.o -save-temps -v Log_Msg.cpp
**************** Output ***********************************
Using built-in specs.
COLLECT_GCC=/emc/sukhav/cross/aix/bin/powerpc-ibm-aix5.2.0.0-g++
COLLECT_LTO_WRAPPER=/home/sukhav/cross/aix/bin/../libexec/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/lto-wrapper
Target: powerpc-ibm-aix5.2.0.0
Configured with: ../../gcc-4.6.1/configure --prefix=/emc/sukhav/cross/aix
--with-sysroot=/emc/sukhav/cross/aix/sysroot --target=powerpc-ibm-aix5.2.0.0
--with-gnu-ld --with-gnu-as --enable-languages=c,c++
Thread model: aix
gcc version 4.6.1 (GCC)
COLLECT_GCC_OPTIONS='-pthread' '-Wextra' '-Wall' '-D' 'ACE_AIX_VERS=502'
'-maix32' '-O2' '-g' '-O2' '-D' 'ACE_HAS_CUSTOM_EXPORT_MACROS=0' '-I'
'/emc/sukhav/cross/aix/ACE_wrappers' '-D' 'ACE_HAS_EXCEPTIONS' '-D'
'__ACE_INLINE__' '-I' '..' '-D' 'ACE_BUILD_DLL' '-c' '-o' 'Log_Msg.o'
'-save-temps' '-v' '-shared-libgcc'
/home/sukhav/cross/aix/bin/../libexec/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/cc1plus
-E -quiet -v -I /emc/sukhav/cross/aix/ACE_wrappers -I .. -imultilib pthread
-iprefix /home/sukhav/cross/aix/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/
-isysroot /home/sukhav/cross/aix/bin/../sysroot -D_ALL_SOURCE -D_THREAD_SAFE -D
ACE_AIX_VERS=502 -D ACE_HAS_CUSTOM_EXPORT_MACROS=0 -D ACE_HAS_EXCEPTIONS -D
__ACE_INLINE__ -D ACE_BUILD_DLL Log_Msg.cpp -maix32 -Wextra -Wall -g
-fworking-directory -O2 -O2 -fpch-preprocess -o Log_Msg.ii
ignoring duplicate directory
"/home/sukhav/cross/aix/bin/../lib/gcc/../../lib/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/../../../../powerpc-ibm-aix5.2.0.0/include/c++/4.6.1"
ignoring duplicate directory
"/home/sukhav/cross/aix/bin/../lib/gcc/../../lib/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/../../../../powerpc-ibm-aix5.2.0.0/include/c++/4.6.1/powerpc-ibm-aix5.2.0.0/pthread"
ignoring duplicate directory
"/home/sukhav/cross/aix/bin/../lib/gcc/../../lib/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/../../../../powerpc-ibm-aix5.2.0.0/include/c++/4.6.1/backward"
ignoring duplicate directory
"/home/sukhav/cross/aix/bin/../lib/gcc/../../lib/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/include"
ignoring nonexistent directory
"/home/sukhav/cross/aix/bin/../sysroot/usr/local/include"
ignoring duplicate directory
"/home/sukhav/cross/aix/bin/../lib/gcc/../../lib/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/include-fixed"
ignoring duplicate directory
"/home/sukhav/cross/aix/bin/../lib/gcc/../../lib/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/../../../../powerpc-ibm-aix5.2.0.0/include"
ignoring duplicate directory ".."
#include "..." search starts here:
#include <...> search starts here:
/emc/sukhav/cross/aix/ACE_wrappers
/home/sukhav/cross/aix/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/../../../../powerpc-ibm-aix5.2.0.0/include/c++/4.6.1
/home/sukhav/cross/aix/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/../../../../powerpc-ibm-aix5.2.0.0/include/c++/4.6.1/powerpc-ibm-aix5.2.0.0/pthread
/home/sukhav/cross/aix/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/../../../../powerpc-ibm-aix5.2.0.0/include/c++/4.6.1/backward
/home/sukhav/cross/aix/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/include
/home/sukhav/cross/aix/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/include-fixed
/home/sukhav/cross/aix/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/../../../../powerpc-ibm-aix5.2.0.0/include
/home/sukhav/cross/aix/bin/../sysroot/usr/include
End of search list.
COLLECT_GCC_OPTIONS='-pthread' '-Wextra' '-Wall' '-D' 'ACE_AIX_VERS=502'
'-maix32' '-O2' '-g' '-O2' '-D' 'ACE_HAS_CUSTOM_EXPORT_MACROS=0' '-I'
'/emc/sukhav/cross/aix/ACE_wrappers' '-D' 'ACE_HAS_EXCEPTIONS' '-D'
'__ACE_INLINE__' '-I' '..' '-D' 'ACE_BUILD_DLL' '-c' '-o' 'Log_Msg.o'
'-save-temps' '-v' '-shared-libgcc'
/home/sukhav/cross/aix/bin/../libexec/gcc/powerpc-ibm-aix5.2.0.0/4.6.1/cc1plus
-fpreprocessed Log_Msg.ii -quiet -dumpbase Log_Msg.cpp -maix32 -auxbase-strip
Log_Msg.o -g -O2 -O2 -Wextra -Wall -version -o Log_Msg.s
GNU C++ (GCC) version 4.6.1 (powerpc-ibm-aix5.2.0.0)
compiled by GNU C version 4.3.2, GMP version 5.0.2, MPFR version 3.0.1,
MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (GCC) version 4.6.1 (powerpc-ibm-aix5.2.0.0)
compiled by GNU C version 4.3.2, GMP version 5.0.2, MPFR version 3.0.1,
MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 0302b43f3f5ff302bb3045506916a9fe
Log_Msg.cpp: In function Ã<built-in>Ã:
Log_Msg.cpp:2563:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.