Boost logo

Boost Users :

Subject: [Boost-users] [spirit] boost 1.33.1, HP-UX ia64 & gcc-3.4.6 - doesn't work with optimization (-O2)
From: Frank Bergemann (FBergemann_at_[hidden])
Date: 2010-01-19 05:05:30


Hi,

some supplementary information:
The problem happens also for gcc-3.4.6 - which is the final version of gcc-3.x.x series.
If i compile for 32 bit there is even a coredump for execution:

(gdb) r
Starting program: /nfs/uh01/frank/TESTX/sample
test is '<pDeleteHlrSubscriberIn class_id="0" tracking_level="0" version="0">'

Program received signal SIGBUS, Bus error
  si_code: 1 - BUS_ADRALN - Invalid address alignment. Please refer to the
following link that helps in handling unaligned data:
http://docs.hp.com/en/7730/newhelp0610/pragmas.htm#pragma-pack-ex3.
boost::spirit::grammar<basic_xml_grammar<char>,boost::spirit::parser_context<boost::spirit::nil_t>
>::grammar (this=0x40025cf0)
    at sp_counted_base_gcc_ia64.hpp:38
38 "r"(pw));

I opened a bug for gcc: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42791
And i asked HP for confirmation.
I'll keep you informed...

best regards,
Frank
___________________________________________________________
Preisknaller: WEB.DE DSL Flatrate für nur 16,99 Euro/mtl.!
http://produkte.web.de/go/02/


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