Boost updated to 1.58.0 in rawhide and f23
jwakely at redhat.com
Thu Jul 23 18:06:10 UTC 2015
On 23/07/15 18:50 +0100, Jonathan Wakely wrote:
>On 23/07/15 14:27 +0200, David Tardon wrote:
>>On Sat, Jul 18, 2015 at 12:46:51PM +0100, Jonathan Wakely wrote:
>>>Any problems rebuilding either open a bug or feel free to email me or
>>>ping me on IRC (my freenode nick is 'redi') and I'll be happy to help.
>>This is a work-in-progress list of FTBFS packages:
>>* Build failures:
>>- F23 + Rawhide
>This seems to be a bug caused by the new std::string in GCC-5, the
>error I get is:
>initial.cxx:2590:34: error: redefinition of 'const char X_7ffd70a41bb0 '
>static const char X_7ffd70a41bb0 = "max-eval-depth";
>initial.cxx:104:19: note: 'const char X_7ffd70a41bb0 ' previously defined here
>static const char X_7ffd70a41bb0 = "fn-%background";
>which is due to this:
> const char *name = str("S_%F", string);
> if (strlen(name) > MAXVARNAME)
> name = str("X_%zulx", (long long) string);
> print("static const char %s = ", name);
>This assumes that every const char* being printed has a unique
>address, which is not a valid assumption, but probably worked with the
>Copy-on-Write strings before GCC-5. Or maybe it's a change in
>Boost.Foreach that causes it. Either way, the code makes invalid
>I'm testing this patch.
The attached patch fixes the xs build for rawhide.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1844 bytes
Desc: not available
More information about the devel