Summary: | dev-lang/maude-2.3.0 fails to build with gcc 4.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Evil Compile Person <bugs> |
Component: | New packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, flameeyes, rhill |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 250655 | ||
Bug Blocks: | 198121 | ||
Attachments: |
Patch for compilation with gcc-4.3
maude-2.3.0-gcc43.patch |
Description
Evil Compile Person
2008-06-16 17:35:59 UTC
Thanks much for you report and this is a gcc-4.3 issue. Unfortunately, in addition to the standard header issues maude-2.3.0 breaks non-trivially in some of its usage of ropes. This is something that needs to be fixed upstream. I'll file a bug with them. Best, Markus Created attachment 159951 [details]
Patch for compilation with gcc-4.3
This patch also fixes the ropes issue, though I'm not really if, the code still does what it's intended to do.
This patch should only be applied for a new version of g++, as the code states that Rope::c_str() is broken in libstdc++-v3
(In reply to comment #2) > Created an attachment (id=159951) [edit] > Patch for compilation with gcc-4.3 > > This patch also fixes the ropes issue, though I'm not really if, the code still > does what it's intended to do. > This patch should only be applied for a new version of g++, as the code states > that Rope::c_str() is broken in libstdc++-v3 > Hi Bert, Thank you very much for the patch! Since I don't know the rope stuff well I think we should pipe this patch through upstream to make sure it is ok. Would you mind forwarding it on to them? Thanks much, Markus (In reply to comment #3) > (In reply to comment #2) > > Created an attachment (id=159951) [edit] > > Patch for compilation with gcc-4.3 > > > > This patch also fixes the ropes issue, though I'm not really if, the code still > > does what it's intended to do. > > This patch should only be applied for a new version of g++, as the code states > > that Rope::c_str() is broken in libstdc++-v3 > > > > Hi Bert, > > Thank you very much for the patch! Since I don't know the rope > stuff well I think we should pipe this patch through upstream > to make sure it is ok. Would you mind forwarding it on to them? > > Thanks much, > Markus > That's fine with me. But I don't know if it's a good patch as I dont't know much about ropes, either. (In reply to comment #4) > > That's fine with me. But I don't know if it's a good patch as I dont't know > much about ropes, either. > The important point will be to make them aware of the problem and point them into the proper direction via your patch. Thanks in advance for your help. Best, Markus did anyone manage to send this upstream? @markusle maude-2.4 is out and seems to have added a fix for this, though the #include <cstring> may still be needed. It looks like they have done #include <string> there :-). *** Bug 255823 has been marked as a duplicate of this bug. *** Created attachment 181507 [details, diff]
maude-2.3.0-gcc43.patch
i backported this from 2.4. it's a little different than the patch above, but essentially does the same thing.
|