Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80969 - iputils-021109-r3 fails to compile with gcc 3.4.3 & -finline-limit=
Summary: iputils-021109-r3 fails to compile with gcc 3.4.3 & -finline-limit=
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-06 04:27 UTC by Dave Stahl
Modified: 2005-05-02 15:03 UTC (History)
0 users

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


Attachments
Patch to tracepath.c (021109-gcc34_additional.patch,573 bytes, patch)
2005-02-06 04:30 UTC, Dave Stahl
Details | Diff
Patch to tracepath6.c (021109-gcc34_additional2.patch,1.44 KB, patch)
2005-02-06 04:31 UTC, Dave Stahl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Stahl 2005-02-06 04:27:23 UTC
When specifying -finline-limit=2000, the error originally reported in bug 49241 reoccurs.  The following two short patches fix the issue.

quote from the original bug:
"The source breaks function inlining limits, as we invalidly jump into a binding contour. The attached patch fixes this. (NB: This is probably due for a complete rewrite upstream as it's horrible!)"


Reproducible: Always
Steps to Reproduce:
1. Set CFLAGS to include -finline-functions -finline-limit=2000 or -O3 -finline-limit=2000
2. emerge iputils


Actual Results:  
Build failed
Comment 1 Dave Stahl 2005-02-06 04:30:29 UTC
Created attachment 50522 [details, diff]
Patch to tracepath.c

For the sake of brevity, I did not perform whitespace realignment.
Comment 2 Dave Stahl 2005-02-06 04:31:01 UTC
Created attachment 50523 [details, diff]
Patch to tracepath6.c

For the sake of brevity, I did not perform whitespace realignment.
Comment 3 SpanKY gentoo-dev 2005-05-02 15:03:21 UTC
sorry for the delay, ive incorporated your fixes into our current iputils-021109-r3 ebuild

thanks !