Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267453 - dev-lang/ruby-1.9.1-r1 fails to build with gcc-4.4
Summary: dev-lang/ruby-1.9.1-r1 fails to build with gcc-4.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.4
  Show dependency tree
 
Reported: 2009-04-25 18:53 UTC by John Keeping
Modified: 2009-05-15 08:00 UTC (History)
1 user (show)

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


Attachments
Patch to allow ruby-1.9.1 to build with gcc-4.4 (ruby-1.9.1-gcc-4.4.patch,1.07 KB, patch)
2009-04-25 18:54 UTC, John Keeping
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Keeping 2009-04-25 18:53:23 UTC
GCC 4.4 fails on #elif without a conditional clause. The attached patch fixes this in Ruby 1.9.1
Comment 1 John Keeping 2009-04-25 18:54:55 UTC
Created attachment 189410 [details, diff]
Patch to allow ruby-1.9.1 to build with gcc-4.4
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-09 16:41:36 UTC
Patch looks perfectly cool.
Comment 3 Senuma Takahiko 2009-05-10 04:40:31 UTC
The patch works on dev-lang/ruby-1.9.1-r99 as well.
Comment 4 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-05-15 08:00:35 UTC
Added ruby-1.9.1_p129 to the tree, upstream already made that GCC-4.4 compliant.