Boost logo

Boost Users :

From: c_twiner (c_twiner_at_[hidden])
Date: 2002-11-21 11:17:09


Hi all,

When I use bjam to compile the regexp library it compiles seems happy
and then no code works properly, seg faults, rubbish results etc.

When I compile using a modified make file of the shared-gcc.mak
(modifications follow):

INCLUDES= -I/export/home/ctwiner/STLport-4.5.3/stlport
-L/export/home/ctwiner/STLport-4.5.3/lib
LIBS= -lstlport_gcc_stldebug

# compiler:
CXX=g++
LINKER=g++ -shared -fPIC

#
# compiler options for release build:
#
C1=-c -O2 -I../../../ -fPIC
#
# compiler options for debug build:
#
C2=-c -g -I../../../ -fPIC

It builds but even linking to the .so created causes a seg fault.

I know that stlport is ok because I have programs linking to the new
version using std::map's vectors and strings.

I posted another message using 2.95 which had the same/similar
problems. Everything seems to build fine but running causes seg faults.

The solaris version is 2.8. When using the bjam built files and
trying to run the compiled regexp_tests the locale_impl.h of stlports
asserts at line 60.

latest downloads of all librarys have been used.

TIA

Chris


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