#11507: Not build iproute2 for gcc-4.7.0/eglibc-2.14
-----------------------+-----------------------------------
  Reporter:  sav       |      Owner:  developers
      Type:  defect    |     Status:  reopened
  Priority:  normal    |  Milestone:  Barrier Breaker 14.07
 Component:  packages  |    Version:  Trunk
Resolution:            |   Keywords:
-----------------------+-----------------------------------
Changes (by anonymous):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 The problem is still actual with current Barrier Breaker
 and iproute2-3.15.0,  gcc 4.8, eglibc 2.19 .

 For myself I prepared this patch:

 --- a/ip/ipnetns.c      2014-08-12 19:45:03.483899137 +0400
 +++ b/ip/ipnetns.c      2014-08-12 19:45:08.915899348 +0400
 @@ -43,7 +43,7 @@
  #endif

  #ifndef HAVE_SETNS
 -static int setns(int fd, int nstype)
 +int setns(int fd, int nstype)
  {
  #ifdef __NR_setns
         return syscall(__NR_setns, fd, nstype);

 It's quite obvious and quick decision. But I have no time to dig it
 deeper.

--
Ticket URL: <https://dev.openwrt.org/ticket/11507#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to