Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 494796 (PR58800)

Summary: [4.8] std::nth_element segfaults (dev-cpp/eigen)
Product: Gentoo Linux Reporter: Ryan Hill (RETIRED) <rhill>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: alunduil, dlan, kde, ph03
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://gcc.gnu.org/PR58800
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 491796    
Attachments: patch file

Description Ryan Hill (RETIRED) gentoo-dev 2013-12-20 04:49:44 UTC
+++ This bug was initially created as a clone of Bug #491796 +++
Comment 1 Yixun Lan archtester gentoo-dev 2013-12-20 10:00:13 UTC
Created attachment 365744 [details]
patch file

just report back here, I've tried following patch (which is already in upstream's gcc-4.8 branch). and compile eigen-3.2.0 with USE=doc, just fine.

Thanks for tackling down this.

http://gcc.gnu.org/git/?p=gcc.git;a=commit;h=2504715442db6134015d01fa1f8bf20f194da476

(share the patch here if anyone willing to test, with following commands)
$ mkdir -p /etc/portage/patches/sys-devel/gcc-4.8.2/
$ cp 01-gcc-4.8-stl_algo.patch /etc/portage/patches/sys-devel/gcc-4.8.2/
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2013-12-23 21:36:06 UTC
Fixed in 4.8.2 p1.1.  USE flag changes will trigger a rebuild for everyone.