Summary: | Multiple packages fail on gcc-4.3.1 due to gmp.h | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dberkholz, sci-mathematics |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 | ||
Attachments: | gmp-4.2.2-cstdio-stdfile.patch |
Description
Juergen Rose
2008-06-22 15:46:16 UTC
Hi Juergen, Thanks much for your bug report and this is indeed a gcc-4.3 issue. However, the root cause is a using std::FILE statement without accompanying cstdio in /usr/include/gmp.h which belongs to dev-libs/gmp. Hence, the issues should likely be fixed within gmp rather than drgeo. I've cc'd the toolchain herd to see what they advise. Thanks, Markus without having gone through the gmp source extensively, i think your analysis is correct ... I agree that this looks like a gcc bug, based on http://osdir.com/ml/lib.gmp.bugs/2007-12/msg00023.html. It's now affecting another package, sci-chemistry/coot. Reassigning per comment #2. Great, that post even points to a Debian patch. Perhaps you want to commit it to gmp? Created attachment 159839 [details, diff] gmp-4.2.2-cstdio-stdfile.patch fedora has a different approach but i don't like it as much http://cvs.fedoraproject.org/viewcvs/devel/gmp/gmp-4.2.2-cstdio.patch?rev=1.1&view=markup + 12 Jul 2008; Peter Alfredsen <loki_val@gentoo.org> + +files/gmp-4.2.2-cstdio-stdfile.patch, gmp-4.2.2-r1.ebuild: + Fix include files for gcc-4.3 compat wrt bug #228915 + Peter: document patches you add http://sources.gentoo.org/dev-libs/gmp/files/gmp-4.2.2-cstdio-stdfile.patch?r1=1.1&r2=1.2 |