Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198830 - [gcc43] dev-libs/gmp-4.2.1-r1 include / inline patch
Summary: [gcc43] dev-libs/gmp-4.2.1-r1 include / inline patch
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Blocks: gcc-4.3
  Show dependency tree
Reported: 2007-11-11 16:40 UTC by Ryan Hill (RETIRED)
Modified: 2007-11-12 08:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

gmp-4.2.1_gcc43.patch (gmp-4.2.1_gcc43.patch,1.32 KB, patch)
2007-11-11 23:15 UTC, Ryan Hill (RETIRED)
Details | Diff
gmp-4.2.1_gcc43.patch (gmp-4.2.1_gcc43.patch,1.68 KB, patch)
2007-11-12 07:52 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2007-11-11 16:40:57 UTC
the attached patch adds some missing includes and fixes a C99-style extern inline error in the gmp testsuite.


gmp-4.2.2 may already contain this patch.

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -O2 -g -march=native -fomit-frame-pointer -pipe -c -o t-cast.o
In file included from
../../gmp.h:515: error: 'std::FILE' has not been declared
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2007-11-11 17:24:15 UTC
i'm going to hold off on this one.  it's causing some weirdness in other areas.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2007-11-11 23:15:24 UTC
Created attachment 135778 [details, diff]

meh, had a stupid typo.  upstream has the second hunk of the patch but not the first in 4.2.2.  i'm not sure why they dropped the first hunk since most of the cxx testsuite fails without it.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2007-11-11 23:16:03 UTC
Comment 4 SpanKY gentoo-dev 2007-11-12 06:09:25 UTC
are you going to ask them to get it integrated ?
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2007-11-12 07:52:25 UTC
Created attachment 135805 [details, diff]

looks like i missed an earlier change that makes that hunk unnecessary.  this matches what went into 4.2.2.
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2007-11-12 08:18:26 UTC
4.2.2 is now in the tree.