|
Boost Users : |
From: Liam Routt (caligari_at_[hidden])
Date: 2005-08-16 19:24:31
Vladimir Prus wrote:
> My first guess is single-threaded/multi-threaded mismatch. Did you try
> compiling the application with -pthread? Do you know if the program_options
> library you use is build with multithreading or not?
Compiling with -pthread gives the same result.
Building and running under 32-bit userspace makes the problem go away.
As to libraries, the Boost install created:
/usr/lib/libboost_program_options-mt.a
/usr/lib/libboost_program_options-mt.so.1.33.0
/usr/lib/libboost_program_options.a
/usr/lib/libboost_program_options.so.1.33.0
as well as *gcc links to those, and standard links:
/usr/lib/libboost_program_options-mt.so
/usr/lib/libboost_program_options.so
which point to the threaded and non-threaded so's, as you would expect.
It looks to me like a 64-bit related problem, but I can't tell whether
it is gcc or a Boost issue. I will see whether we can go back a version
with gcc, or something. But that will be next week, as the sysadmin is
away until then.
Any other suggestions appreciated.
Take care,
Liam
-- Liam Routt Ph: (03) 8344-1315 Research Programmer caligari_at_[hidden] Computer Science, Melbourne University (or liam_at_[hidden])
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