Boost logo

Boost Users :

From: Benson Margulies (bim2007_at_[hidden])
Date: 2007-06-21 07:50:39


Unfortunately, I can't get it to build with gcc. Bjam insists on trying
to use linker options that aren't valid. I haven't determined if it is
expecting the GNU linker and I've got GCC configured for the Sun linker,
or the other way around. What are you using?

On one machine of mine, bjam leaves out the compile command altogether
when I give it -toolset gcc.

-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of K. Noel
Belcourt
Sent: Wednesday, June 20, 2007 11:38 PM
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] Compile failure with fairly simple use
ofmulti-index/hashing on Solaris with CC 5.8 (boost 1.34.0)

On Jun 20, 2007, at 6:39 PM, Benson Margulies wrote:

> I decided to try to run the regression suite. Unfortunately, the
> regression suite isn't working with --toolsets=sunpro.
>
> # Building "process_jam_log" ("/sunblade1/benson/boost/boost/tools/
> jam/src/bin.solaris/bjam" --v2 "-sBOOST_BUILD_PATH=/sunblade1/
> benson/boost" "-sBOOST_ROOT=/sunblade1/benson/boost/boost" sunpro)...

I have the same problem, both the sun-5.7 and sun-5.8 (Studio 10 and
11) compilers seg fault when compiling process_jam_log.cpp. Here's
what I get:

sun.compile.c++ ../../../bin.v2/tools/regression/build/sun-5.7/
release/link-static/process_jam_log.o
>> Signal 11:
     while processing ../process_jam_log.cpp at line 378.

     "/opt/SUNWspro/bin/CC" -xtarget=ultra4 -xarch=v9b -xcode=pic32 -
fast -DBOOST_ALL_NO_LIB=1 -DNDEBUG -I"../../.." -c -o "../../../
bin.v2/tools/regression/build/sun-5.7/release/link-static/
process_jam_log.o" "../process_jam_log.cpp"

While I can build bjam with the Sun compilers okay, I have to use gcc
to build process jam log. You may want to try building your own
process_jam_log executable by hand, even though it's only really
necessary if you plan on running regression tests. Here's what I do:

cd boost/tools/regression/build

"/sierra/Dev/kbelco/boost/boost/tools/jam/src/bin.solaris/bjam" --v2
"-sBOOST_BUILD_PATH=/sierra/Dev/kbelco/boost" "-sBOOST_ROOT=/sierra/
Dev/kbelco/boost/boost" sun

-- Noel

_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


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