Boost logo

Boost :

From: Simon Atanasyan (atanasyan_at_[hidden])
Date: 2007-11-12 08:45:07


This bug seems to be fixed in the patch-01 for the Sun C++ 5.9.
Without the patch the only known workaround is to do not use debug
mode.

Patches for various platform can be found here:
http://sunsolve.sun.com/show.do?target=patchpage

Enter following patch number to the "PatchFinder" and press "Find Patch" button.
124863-01 Solaris/sparc
124864-01 Solaris/intel
124865-01 Linux

On Nov 5, 2007 7:47 PM, John Maddock <john_at_[hidden]> wrote:
> Does anyone know what would cause:
>
> ld: fatal: relocation error: file:
> /scratch2/kbelco/boost/results/boost/bin.v2/libs/regex/build/sun-5.9/debug/link-static/threading-multi/libboost_regex-sw59-mt-d-1_35.a(posix_api.o)
> section: .rela.debug_info symbol: : relocation against a discarded symbol,
> ?symbol is part of discarded section: .text%void
> boost::re_detail::basic_regex_creator<char,boost::regex_traits<char,boost::cpp_regex_traits<char>
> > >::create_startmap(boost::re_detail::re_syntax_base*,unsigned
> char*,unsigned*,unsigned char)
>
> When trying to build (or use) the regex library on Solaris with Sun-5.9?
>
> Annoyingly there are no problems with Sun-5.8, would there be any compiler
> or linker options that would help here?
>
> Many thanks, John.

-- 
Simon Atanasyan

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