Bug 882137
| Summary: | <rpc/svc.h> is broken in the latest Rawhide | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Richard W.M. Jones <rjones> |
| Component: | glibc | Assignee: | Jeff Law <law> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | fweimer, jakub, law, pfrankli, schwab, spoyarek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-11-30 21:02:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I mean this patch: http://sourceware.org/ml/libc-alpha/2012-11/txt00010.txt Thanks for isolating this. I've posted a trivial patch to fix it: http://sourceware.org/ml/libc-alpha/2012-11/msg00880.html so it'll trickle down to rawhide once it gets approved and pushed upstream. Patch committed upstream and fedora glibc resync'd with upstream. Builds in progress. |
Description of problem: Try compiling the following minimal program: #include <stdio.h> #include <rpc/svc.h> int main () { exit (0); } It gives the following errors: In file included from test.c:2:0: /usr/include/rpc/svc.h: In function ‘__svc_accept_failed’: /usr/include/rpc/svc.h:336:40: error: expected declaration specifiers before ‘attribute_hidden’ test.c:4:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token test.c:4:13: error: expected ‘{’ at end of input This seems to be caused by the following glibc patch: http://sourceware.org/ml/libc-alpha/2012-11/msg00599.html and specifically the following line in <rpc/svc.h>: extern void __svc_accept_failed (void) attribute_hidden; Note also that any program which uses 'rpcgen' will make a header file which includes <rpc/svc.h>, which is where I found the original bug. Version-Release number of selected component (if applicable): glibc-2.16.90-32.fc19.i686 How reproducible: 100% Steps to Reproduce: 1. See above.