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

Bug 417545

Summary: sys-devel/clang-3.1-r1 fails to compile sys-devel/binutils-2.20.1-r1 [PATCH included]
Product: Gentoo Linux Reporter: Richard Yao (RETIRED) <ryao>
Component: [OLD] DevelopmentAssignee: Bernard Cafarelli <voyageur>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: Normal Keywords: Bug, PATCH
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 408963    
Attachments: sys-devel/binutils-2.20.1-r1
Patch to fix sys-devel/binutils-2.20.1-r1 build failure

Description Richard Yao (RETIRED) gentoo-dev 2012-05-26 02:30:16 UTC
Created attachment 313073 [details]
sys-devel/binutils-2.20.1-r1

Compiling binutils with Clang triggers an internal recursion limit in Clang. This was observed on Gentoo FreeBSD, but it is an artificial limit in the parser, so it should affect all platforms and architectures.
Comment 1 Richard Yao (RETIRED) gentoo-dev 2012-05-26 03:27:19 UTC
Created attachment 313077 [details, diff]
Patch to fix sys-devel/binutils-2.20.1-r1 build failure

Let me know if this is okay to commit.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-05-26 07:41:51 UTC
Fixed in 3.1-r2.