Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304917 - sys-apps/diffutils-2.9 version bump
Summary: sys-apps/diffutils-2.9 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://lists.gnu.org/archive/html/bug...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.5
  Show dependency tree
 
Reported: 2010-02-13 18:19 UTC by Rob
Modified: 2010-02-14 00:36 UTC (History)
1 user (show)

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


Attachments
diffutils-2.8.7-gcc45.patch (diffutils-2.8.7-gcc45.patch,7.56 KB, patch)
2010-02-13 18:20 UTC, Rob
Details | Diff
diffutils-2.8.7-r2-build.log (diffutils-2.8.7-r2-build.log,5.08 KB, text/plain)
2010-02-13 18:20 UTC, Rob
Details
diffutils-2.8.7-gcc45-autoconf.patch (diffutils-2.8.7-gcc45-autoconf.patch,4.09 KB, patch)
2010-02-13 20:33 UTC, Rob
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rob 2010-02-13 18:19:19 UTC
The configure script looks for a working C stack overflow detection, which currently fails on amd64.

Reproducible: Always




I saw that there was a bug report filed upstream on this issue a few months ago, but it still has not been corrected yet, and in order to get a fully working system using gcc-4.5 we need to get around this issue. I would expect this issue to be resolved by gcc-4.5 final, but here is the workaround nonetheless.
Comment 1 Rob 2010-02-13 18:20:20 UTC
Created attachment 219479 [details, diff]
diffutils-2.8.7-gcc45.patch

workaround for this (temporary?) bug
Comment 2 Rob 2010-02-13 18:20:59 UTC
Created attachment 219481 [details]
diffutils-2.8.7-r2-build.log
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-02-13 18:23:15 UTC
Patch should be for configure.ac or configure.in, since configure is only autoconf generated file.
Comment 4 Rob 2010-02-13 20:33:23 UTC
Created attachment 219515 [details, diff]
diffutils-2.8.7-gcc45-autoconf.patch

If the ebuild were to use autoconf, which it currently doesn't, this would be a workaround.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2010-02-13 21:03:43 UTC
Actually this is fixed in 2.9 which was just released yesterday.
Comment 6 SpanKY gentoo-dev 2010-02-13 23:31:22 UTC
Comment on attachment 219479 [details, diff]
diffutils-2.8.7-gcc45.patch

this is just silly.  there's no point in patching a lot of crap out when the code provides perfectly usable cache variables like ac_cv_sys_xsi_stack_overflow_heuristic.  simply export it with a value of 'yes' (or 'no' as the situation requires).
Comment 7 SpanKY gentoo-dev 2010-02-14 00:36:11 UTC
diffutils-2.9 now in the tree