[Bug 1160875] libtirpc fails with -fno-common
http://bugzilla.suse.com/show_bug.cgi?id=1160875
http://bugzilla.suse.com/show_bug.cgi?id=1160875#c2
Thomas Blume
May I please ping this issue?
Unfortunately, declaring the problematic variables as extern doesn't work here, maybe because they are supposed to be internal. Therefore I've added the patch below, which makes the package compile: --> diff --git a/src/rpc_com.h b/src/rpc_com.h index 10bec79..ec21f8d 100644 --- a/src/rpc_com.h +++ b/src/rpc_com.h @@ -61,8 +61,8 @@ void __xprt_unregister_unlocked(SVCXPRT *); void __xprt_set_raddr(SVCXPRT *, const struct sockaddr_storage *); -SVCXPRT **__svc_xports; -int __svc_maxrec; +SVCXPRT **__svc_xports __attribute__ ((common)); +int __svc_maxrec __attribute__ ((common)); #ifdef __cplusplus } -- 2.16.4 --< Would that be ok? I have testpackages at: https://build.opensuse.org/package/show/home:tsaupe:branches:Base:System:lib... -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com