Boost logo

Boost Users :

Subject: [Boost-users] libboost_filesystem on AIX-5.3 with gcc-4.3.1: IOT/Abort trap (core dumped)
From: Mathieu Gontier (mg.mailing-list_at_[hidden])
Date: 2008-09-30 05:10:05


Hello,

I am trying to build libboost_filesystem.a on AIX-5.3 with gcc-4.3.1.
The compilation goes right but unfortunately, I have the following error
at the runtime (and a core file):
"IOT/Abort trap (core dumped)"
When I remove this library from my tiny example, my binary works; when I
link against libboost_filesystem.a (even if functions are never called),
it crashes. I tried a lot of options found on the web without success.
Maybe someone her will be able to help me of guide me.

Here the compilation of libboost_filesystem.a:
========== libboost_filesystem.a [begin] ==========
       ( cd libs/filesystem/src ; make )
       g++ -fPIC -pthread -g -maix64 -Wall -Wno-inline
-finline-functions -mcpu=power5+ -ftemplate-depth-100 -O0
-DBOOST_ALL_NO_LIB -DBOOST_LIB_DIAGNOSTIC
-DBOOST_UBLAS_ENABLE_PROXY_SHORTCUTS -DBOOST_UBLAS_INLINE=inline
-D_THREAD_SAFE -DFFT_BUILDSYSTEM_GENERATOR -DNDEBUG -I../../.. -c
exception.cpp -o exception.o
       g++ -fPIC -pthread -g -maix64 -Wall -Wno-inline
-finline-functions -mcpu=power5+ -ftemplate-depth-100 -O0
-DBOOST_ALL_NO_LIB -DBOOST_LIB_DIAGNOSTIC
-DBOOST_UBLAS_ENABLE_PROXY_SHORTCUTS -DBOOST_UBLAS_INLINE=inline
-D_THREAD_SAFE -DFFT_BUILDSYSTEM_GENERATOR -DNDEBUG -I../../.. -c
path.cpp -o path.o
       g++ -fPIC -pthread -g -maix64 -Wall -Wno-inline
-finline-functions -mcpu=power5+ -ftemplate-depth-100 -O0
-DBOOST_ALL_NO_LIB -DBOOST_LIB_DIAGNOSTIC
-DBOOST_UBLAS_ENABLE_PROXY_SHORTCUTS -DBOOST_UBLAS_INLINE=inline
-D_THREAD_SAFE -DFFT_BUILDSYSTEM_GENERATOR -DNDEBUG -I../../.. -c
utf8_codecvt_facet.cpp -o utf8_codecvt_facet.o
       g++ -fPIC -pthread -g -maix64 -Wall -Wno-inline
-finline-functions -mcpu=power5+ -ftemplate-depth-100 -O0
-DBOOST_ALL_NO_LIB -DBOOST_LIB_DIAGNOSTIC
-DBOOST_UBLAS_ENABLE_PROXY_SHORTCUTS -DBOOST_UBLAS_INLINE=inline
-D_THREAD_SAFE -DFFT_BUILDSYSTEM_GENERATOR -DNDEBUG -I../../.. -c
operations.cpp -o operations.o
       g++ -fPIC -pthread -g -maix64 -Wall -Wno-inline
-finline-functions -mcpu=power5+ -ftemplate-depth-100 -O0
-DBOOST_ALL_NO_LIB -DBOOST_LIB_DIAGNOSTIC
-DBOOST_UBLAS_ENABLE_PROXY_SHORTCUTS -DBOOST_UBLAS_INLINE=inline
-D_THREAD_SAFE -DFFT_BUILDSYSTEM_GENERATOR -DNDEBUG -I../../.. -c
portability.cpp -o portability.o
       ar -X64 rv ../../../libboost_filesystem.a exception.o path.o
utf8_codecvt_facet.o operations.o portability.o
ar: Creating an archive file ../../../libboost_filesystem.a.
a - exception.o
a - path.o
a - utf8_codecvt_facet.o
a - operations.o
a - portability.o
       ( cd libs/system/src ; make )
       g++ -fPIC -pthread -g -maix64 -Wall -Wno-inline
-finline-functions -mcpu=power5+ -ftemplate-depth-100 -O0
-DBOOST_ALL_NO_LIB -DBOOST_LIB_DIAGNOSTIC
-DBOOST_UBLAS_ENABLE_PROXY_SHORTCUTS -DBOOST_UBLAS_INLINE=inline
-D_THREAD_SAFE -DFFT_BUILDSYSTEM_GENERATOR -DNDEBUG -I../../.. -c
error_code.cpp
       ar -X64 rv ../../../libboost_system.a error_code.o
ar: Creating an archive file ../../../libboost_system.a.
a - error_code.o
========== libboost_filesystem.a [end] ==========

Here the compilation of my tiny test case (named "foo"):
========== foo [begin] ==========
       g++ -pthread -g -maix64 -Wall -Wno-inline -finline-functions
-mcpu=power5+ -ftemplate-depth-100 -O0 -I/usr/local/myfft/bin/boost-1.35
-I/home/qa/mysvntop/femtown/applications
-I/home/qa/mysvntop/femtown/modules -D_THREAD_SAFE
-DBOOST_UBLAS_INLINE=inline -DBOOST_UBLAS_ENABLE_PROXY_SHORTCUTS
-DBOOST_LIB_DIAGNOSTIC -DBOOST_ALL_NO_LIB -DNDEBUG
-DFFT_BUILDSYSTEM_GENERATOR -I/usr/lpp/ppe.poe/include
-I/usr/lpp/ppe.poe/include -DIBMGCC -c main.cpp -o
/home/qa/MG/dotop/femtown/products/foo/release/main.o
       g++ /home/qa/MG/dotop/femtown/products/foo/release/main.o
-lboost_filesystem -lboost_system -lfake_mpi_fake_mpi -pthread -g
-maix64 -lm -lc -L/usr/vac/lib -lxlopt -lxl -mcpu=power5+
-Wl,-bmaxdata:0xFFFFFFFFFF/dsa -Wl,-b64
-L/home/qa/MG/actrantop//actran_current/libs
-L/home/qa/MG/actrantop//actran_current/foo/lib -lstdc++ -lgcc_s -o
./bin/foo
========== foo [end] ==========

I ran my binary through dbx in order to explore the core file. Here, the
beginning of what dbx returned (I can send the complete trace if someone
ask for it):
========== dbx ./bin/foo [begin] ==========
Type 'help' for help.
reading symbolic information ...internal error: 1283-232 index("16;0;",
':') failed
internal error: 1283-232 index("16;0;", ':') failed
internal error: 1283-232 index("8;0;", ':') failed
internal error: unexpected value 120 at line 5113 in file stabstring.c
internal error: unexpected value 120 at line 5113 in file stabstring.c
internal error: 1283-231 bad input on tag "._0" at
"t70=s16quot:50,0,64;rem:50,64,64;;"
internal error: 1283-228 expected char '=', found
't70=s16quot:50,0,64;rem:50,64,64;;'
internal error: 1283-231 bad input on tag "sigset_t" at
"t158=s32ss_set:159=ar2;0;03;-32,0,256;;"
internal error: 1283-228 expected char '=', found
't158=s32ss_set:159=ar2;0;03;-32,0,256;;'
internal error: 1283-231 bad input on tag "._1" at
"t161=s8losigs:-8,0,32;hisigs:-8,32,32;;"
internal error: 1283-228 expected char '=', found
't161=s8losigs:-8,0,32;hisigs:-8,32,32;;'
internal error: 1283-231 bad input on tag "._2" at
"t162=s32ss_set:163=ar2;0;03;49,0,256;;"
internal error: 1283-228 expected char '=', found
't162=s32ss_set:163=ar2;0;03;49,0,256;;'
internal error: 1283-231 bad input on tag "fsid_t" at
"t165=s8val:166=ar2;0;01;-8,0,64;;"
internal error: 1283-228 expected char '=', found
't165=s8val:166=ar2;0;01;-8,0,64;;'
internal error: 1283-231 bad input on tag "fsid64_t" at
"t168=s16val:169=ar2;0;01;49,0,128;;"
internal error: 1283-228 expected char '=', found
't168=s16val:169=ar2;0;01;49,0,128;;'
internal error: 1283-231 bad input on tag "._3" at
"t179=s64__mt_word:180=ar2;0;07;-31,0,512;;"
[...]
========== dbx ./bin/foo [end] ==========

Many thank in advance to those who will spent time on this difficult
problem.
Regards,

Mathieu Gontier
Core Development Engineer

--
Free Field Technologies
Axis Park Louvain-la-Neuve
rue Emile Francqui, 1
B-1435 Mont-Saint Guibert - BELGIUM
Company Phone: +32 10 45 12 26
Company Fax: +32 10 45 46 26
Direct Phone: +32 10 49 51 41 
Mobile Phone: +32 477 61 72 52
http://www.fft.be
 

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net