Opened 6 years ago

Closed 6 years ago

#12490 closed Bugs (fixed)

remove building regex library statically with toolset sun in libs/regex/build/Jamfile.v2

Reported by: Aparna Kumta <aparna.kumta@…> Owned by: John Maddock
Milestone: Boost 1.64.0 Component: regex
Version: Boost Development Trunk Severity: Problem
Keywords: Cc: sergey.sprogis@…

Description

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

Change History (2)

comment:1 by Aparna Kumta <aparna.kumta@…>, 6 years ago

comment:2 by John Maddock, 6 years ago

Milestone: To Be DeterminedBoost 1.64.0
Resolution: fixed
Status: newclosed

Fixed in develop.

Note: See TracTickets for help on using tickets.