SO_SNDTIMEO_OLD and SO_RCVTIMEO_OLD are new in 5.1, due to some
shuffling to support y2038-safe socket timeout options. They should be
defined in headers installed by linux-libc-dev, as follows:

usr/include/asm-generic/socket.h:
  #define SO_RCVTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? 
SO_RCVTIMEO_OLD : SO_RCVTIMEO_NEW)
  #define SO_SNDTIMEO (sizeof(time_t) == sizeof(__kernel_long_t) ? 
SO_SNDTIMEO_OLD : SO_SNDTIMEO_NEW)

usr/include/powerpc64le-linux-gnu/asm/socket.h:
  #define SO_RCVTIMEO_OLD        18
  #define SO_SNDTIMEO_OLD        19

So it seems likely that the would be coming from the
SO_RCVTIMEO/SO_SNDTIMEO definitions, which should get pulled in from the
ppc asm header pulling in the asm-generic header. But I can't see how it
would end up with those definitions but not the definitions for the
corresponding *_OLD symbols.

Looking at kernel changes since 5.0, as far as I can tell nothing has
changed wrt NAME_MAX and ENOENT. The other symbols don't appear to be
from the kernel.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1836045

Title:
  ftbfs: gnat cross targeting powerpc

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-8-cross/+bug/1836045/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to