RTEMS | testsuites/psxtests: Added API header OK tests for posix 8 functions to be implemented in GSoC25 (!497)
mazen Adel (@mez3n)
gitlab at rtems.org
Wed Jun 11 21:25:54 UTC 2025
mazen Adel commented on a discussion on testsuites/psxtests/psxhdrs/dlfcn/dladdr.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/497#note_124389
> + * documentation and/or other materials provided with the distribution.
> + *
> + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
> + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
> + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
> + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
> + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
> + * POSSIBILITY OF SUCH DAMAGE.
> + */
> +
> +#define _NETBSD_SOURCE
I tried using `#define _POSIX_C_SOURCE 202405`. it didn't work because in file `rtems/cpukit/include/dlfcn.h` `_NETBSD_SOURCE` was used as a guard for dladdr. We can easily update this because it's define in RTEMS.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/497#note_124389
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/20250611/711c3f7d/attachment-0001.htm>
More information about the bugs
mailing list