Boost logo

Boost :

Subject: [boost] [log] cygwin gcc-4.3.2 compilation/run-time errors
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-03-23 19:53:28


Hi Andrey,

I have found thre kind of errors while compiling Bost.Log with cygwin gcc-4.3.2

* WHAR related
* SYSLOG related
Do you know if we can install syslog on cygwin?
* SETTING related (reading from a configuration file)
I have not yet analyzed the SETTING errors. I will see later.

I have prefixed any modified line with the BUG WCHAR/SYSLOG/SETTING on the attached patches.

After all this I have reached to compile the whole library with tests and examples.

Only 2 test passed and

There are yet some link warnings that could be suspect and a lot of runtime errors (see below)

It would be great if you can apply some of the modification on the attached patch (of course not the Jamfiles)

Best,
_____________________
Vicente Juan Botet Escribá

gcc.link ../../../bin.v2/libs/log/test/attr_attribute_values_view.test/gcc-4.3.2/debug/threading-multi/attr_attribute_values_view.exe
Info: resolving vtable for std::exception by linking to __imp___ZTVSt9exception (auto-import)
Info: resolving vtable for std::bad_cast by linking to __imp___ZTVSt8bad_cast (auto-import)
Info: resolving std::cout by linking to __imp___ZSt4cout (auto-import)
Info: resolving std::cerr by linking to __imp___ZSt4cerr (auto-import)
Info: resolving typeinfo for std::runtime_error by linking to __imp___ZTISt13runtime_error (auto-import)
Info: resolving std::ios_base::in by linking to __imp___ZNSt8ios_base2inE (auto-import)
Info: resolving std::ios_base::out by linking to __imp___ZNSt8ios_base3outE (auto-import)
Info: resolving typeinfo for std::bad_alloc by linking to __imp___ZTISt9bad_alloc (auto-import)
Info: resolving typeinfo for std::bad_cast by linking to __imp___ZTISt8bad_cast (auto-import)
Info: resolving typeinfo for std::bad_typeid by linking to __imp___ZTISt10bad_typeid (auto-import)
Info: resolving typeinfo for std::bad_exception by linking to __imp___ZTISt13bad_exception (auto-import)
Info: resolving typeinfo for std::logic_error by linking to __imp___ZTISt11logic_error (auto-import)
Info: resolving typeinfo for std::exception by linking to __imp___ZTISt9exception (auto-import)
Info: resolving typeinfo for std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> > by linking to __imp___ZTISt19basic_ostringstreamIcSt11char_traitsIcESaIcEE (auto-import)
Info: resolving typeinfo for std::basic_ostream<char, std::char_traits<char> > by linking to __imp___ZTISo (auto-import/usr/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs.)
testing.capture-output ../../../bin.v2/libs/log/test/attr_attribute_values_view.test/gcc-4.3.2/debug/threading-multi/attr_attribute_values_view.run
====== BEGIN OUTPUT ======

EXIT STATUS: 53
====== END OUTPUT ======

    PATH="//bin://lib://lib32://lib64:/boost_1_41_0/bin.v2/libs/date_time/build/gcc-4.3.2/debug/threading-multi:/boost_1_41_0/bin.v2/libs/filesystem/build/gcc-4.3.2/debug/threading-multi:/boost_1_41_0/bin.v2/libs/log/build/gcc-4.3.2/debug/threading-multi:/boost_1_41_0/bin.v2/libs/regex/build/gcc-4.3.2/debug/threading-multi:/boost_1_41_0/bin.v2/libs/system/build/gcc-4.3.2/debug/threading-multi:/boost_1_41_0/bin.v2/libs/test/build/gcc-4.3.2/debug/threading-multi:/boost_1_41_0/bin.v2/libs/thread/build/gcc-4.3.2/debug/threading-multi:$PATH"
export PATH

     "../../../bin.v2/libs/log/test/attr_attribute_values_view.test/gcc-4.3.2/debug/threading-multi/attr_attribute_values_view.exe" > "../../../bin.v2/libs/log/test/attr_attribute_values_view.test/gcc-4.3.2/debug/threading-multi/attr_attribute_values_view.output" 2>&1
    status=$?
    echo >> "../../../bin.v2/libs/log/test/attr_attribute_values_view.test/gcc-4.3.2/debug/threading-multi/attr_attribute_values_view.output"
    echo EXIT STATUS: $status >> "../../../bin.v2/libs/log/test/attr_attribute_values_view.test/gcc-4.3.2/debug/threading-multi/attr_attribute_values_view.output"
    if test $status -eq 0 ; then
        cp "../../../bin.v2/libs/log/test/attr_attribute_values_view.test/gcc-4.3.2/debug/threading-multi/attr_attribute_values_view.output" "../../../bin.v2/libs/log/test/attr_attribute_values_view.test/gcc-4.3.2/debug/threading-multi/attr_attribute_values_view.run"
    fi
    verbose=0
    if test $status -ne 0 ; then
        verbose=1
    fi
    if test $verbose -eq 1 ; then
        echo ====== BEGIN OUTPUT ======
        cat "../../../bin.v2/libs/log/test/attr_attribute_values_view.test/gcc-4.3.2/debug/threading-multi/attr_attribute_values_view.output"
        echo ====== END OUTPUT ======
    fi
    exit $status

...failed testing.capture-output ../../../bin.v2/libs/log/test/attr_attribute_values_view.test/gcc-4.3.2/debug/threading-multi/attr_attribute_values_view.run...





Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk