Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417545 - sys-devel/clang-3.1-r1 fails to compile sys-devel/binutils-2.20.1-r1 [PATCH included]
Summary: sys-devel/clang-3.1-r1 fails to compile sys-devel/binutils-2.20.1-r1 [PATCH i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: Bug, PATCH
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2012-05-26 02:30 UTC by Richard Yao (RETIRED)
Modified: 2012-05-26 07:41 UTC (History)
1 user (show)

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


Attachments
sys-devel/binutils-2.20.1-r1 (build.log,197.86 KB, text/plain)
2012-05-26 02:30 UTC, Richard Yao (RETIRED)
Details
Patch to fix sys-devel/binutils-2.20.1-r1 build failure (clang-3.1-increase-parser-recursion-limit.patch,454 bytes, patch)
2012-05-26 03:27 UTC, Richard Yao (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.