Summary: | sci-libs/openfoam-kernel fails to build with gcc-4.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Oliver Borm <oli.borm> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, patrick |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 249226 | ||
Attachments: |
Build log
Patch solving compilation errors with gcc-4.4/glibc-2.10 |
Description
Diego Elio Pettenò (RETIRED)
2009-07-26 12:21:43 UTC
Created attachment 199217 [details]
Build log
Yes, I think that this is a gcc-4.4 problem, as I have compiled openfoam with gcc-4.3.2 without problems. This problem is maybe already resolved in the current git version: http://repo.or.cz/w/OpenFOAM-1.5.x.git or svn version: http://openfoam-extend.svn.sourceforge.net/viewvc/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev/ or it will be resolved if openSUSE-11.2 with gcc-4.4 will be released, as upstream uses openSUSE. Looks like a simple missing <stdint.h>, why hasn't this been fixed? Created attachment 201161 [details, diff]
Patch solving compilation errors with gcc-4.4/glibc-2.10
There was one more issue apart from stdint.h. The attached patch solves both of them :)
+ 14 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> + openfoam-kernel-1.5_p20090311.ebuild, + +files/openfoam-kernel-1.5_p20090311-gcc44.patch: + Fix building with GCC 4.4+ wrt #279160, thanks to Dominik Kapusta for + patch. Oliver wins the ticket to contact upstream. |