RTEMS | psxenosys calls lio_listio() even if it's implemented. (#5125)

Sebastian Huber (@sebhub) gitlab at rtems.org
Fri Sep 6 00:21:10 UTC 2024




Sebastian Huber commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5125#note_111829


When you build acd2a24d641bedcf26b9c7a911e59d0df8bc44a4 with this config.ini:

```ini
[arm/xilinx_zynq_zc702]
BUILD_TESTS = True
```

I am pretty sure that you can reproduce the linker error.

The lio_listio() function needs to be modified so that it returns the -1 and sets errno to ENOSYS if RTEMS_POSIX_API is not defined.

The `testsuites/psxtests/psxenosys/init.c` needs to be modified to check for ENOSYS only if RTEMS_POSIX_API is not defined for the related functions.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5125#note_111829
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240906/5a8c0baa/attachment.htm>


More information about the bugs mailing list