Opened 17 years ago

Closed 17 years ago

#542 closed Bugs (Works For Me)

_GLIBCXX_DEBUG fails on 1.33.1 - bug or design?

Reported by: ravpl Owned by: John Maddock
Milestone: Component: regex
Version: None Severity:
Keywords: Cc:

Description

Results in segfault (on vector destructor)
Was ok(and still is) on 1.33.0
Compiled with gcc 4.0.2 on RHELAS4 with
g++ -rdynamic -export-dynamic -D_GLIBCXX_DEBUG -g
-lboost_regex -o test test.cpp

sourcefile incuded.

Change History (1)

comment:1 by John Maddock, 17 years ago

Status: assignedclosed
Logged In: YES 
user_id=14804

Please make sure that you build the regex library with
-D_GLIBCXX_DEBUG otherwise you will get different memory
layouts for various objects in the library as compared to
your executable - and hense the failure.  If this doesn't
fix things for you (it does for me with cygwin gcc) then
please reopen the issue.

John Maddock.
Note: See TracTickets for help on using tickets.