Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69751 - ICC doesn't like netinet/in.h header from glibc
Summary: ICC doesn't like netinet/in.h header from glibc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Toolchain Maintainers
URL: http://softwareforums.intel.com/ids/b...
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2004-11-01 11:48 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2005-02-20 19:13 UTC (History)
0 users

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


Attachments
netinet_in_h.patch (netinet_in_h.patch,1.34 KB, patch)
2004-11-01 11:48 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff
Patch for ebuild (glibc-2.3.4.20041102-icc.patch,1.53 KB, patch)
2004-12-16 07:34 UTC, Diego Elio Pettenò (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2004-11-01 11:48:02 UTC
As you can see in the topic at url, ICC throws errors when compiling something that includes netinet/in.h header from glibc. A fix for this can be the rename of the __interface parameter into _interface which works just fine (in the header we have the declaration, not the definition, so we could also omit the parameters' name).

The attached can be applied to netinet/in.h to fix it.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-11-01 11:48:18 UTC
Created attachment 43092 [details, diff]
netinet_in_h.patch
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2004-12-16 07:34:00 UTC
Created attachment 46127 [details, diff]
Patch for ebuild

This patch can be applied directly to the source tree from the ebuild, and
fixes the __interface for netinet/in.h file, the only one where __interface is
used.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-02-20 18:28:15 UTC
Any comment about this?
Comment 4 SpanKY gentoo-dev 2005-02-20 18:33:49 UTC
glibc cvs actually calls it __interface_addr now:
/* Get IPv4 source filter.  */
extern int getipv4sourcefilter (int __s, struct in_addr __interface_addr,
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-02-20 18:36:05 UTC
So we can say it's already fixed upstream now?
Comment 6 SpanKY gentoo-dev 2005-02-20 19:13:45 UTC
sys-libs/glibc-2.3.4.20050125 has the fix for sure ...