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

Bug 80969

Summary: iputils-021109-r3 fails to compile with gcc 3.4.3 & -finline-limit=
Product: Gentoo Linux Reporter: Dave Stahl <cybertech>
Component: [OLD] GCC PortingAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to tracepath.c
Patch to tracepath6.c

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 !