[Boost-bugs] [Boost C++ Libraries] #12490: remove building regex library statically with toolset sun in libs/regex/build/Jamfile.v2

Subject: [Boost-bugs] [Boost C++ Libraries] #12490: remove building regex library statically with toolset sun in libs/regex/build/Jamfile.v2
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-09-28 16:25:46


#12490: remove building regex library statically with toolset sun in
libs/regex/build/Jamfile.v2
-------------------------------------------+-------------------------
 Reporter: Aparna Kumta <aparna.kumta@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------------+-------------------------
 Compiling log library with Oracle Developer Studio compiler in 64 bit
 mode, we see the following failure:

 CC ... -m64 -KPIC -o libboost_log_setup.so.1.62.0 ...
 settings_parser.o.... libboost_regex.a ...

 ld: fatal: relocation error: R_SPARC_H44: file
 libboost_regex.a(cpp_regex_traits.o): symbol .data (section): invalid
 shared object relocation type: ABS44 code model unsupported

 ...

 In libs/regex/build/Jamfile.v2, removing the following line, resolves the
 issue.
 <toolset>sun:<link>static

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12490>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC