[RTEMS Project] #2747: dlerror non-conformance

RTEMS trac trac at rtems.org
Sun Jun 26 17:35:42 UTC 2016

#2747: dlerror non-conformance
 Reporter:  pggauvin  |      Owner:  chrisj
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  libdl     |    Version:  4.11
 Severity:  normal    |   Keywords:
 Expected behavior of dlerror:
 - The error is cleared after each invocation
 - `NULL` is returned when no error is set
 - Return value is `char *`, not `const char *`

 I've attached patches that address these issues, please critique them and
 I will submit to the development mailing list. They should also apply to
 master, but they were generated against 4.11.

 Development Environment:
 - '''RTEMS Version:''' 4.11 (Branch "4.11", commit
 - '''System Type:''' ARM Cortex-A9, xilinx_zynq_a9_qemu BSP
 - '''GCC Version:'''

   arm-rtems4.11-gcc (GCC) 4.9.3 20150626 (RTEMS 4.11, RSB
 1675a733536d1aec2020011e5e522497a442561a (HEAD, origin/4.11, 4.11), Newlib
 - '''RTEMS Configure Options:'''

   ../rtems/configure --target=arm-rtems4.11 --enable-
 rtemsbsp="xilinx_zynq_a9_qemu xilinx_zynq_zedboard xilinx_zynq_csp_cots
 xilinx_zynq_csp_hybrid" --enable-tests=samples --enable-posix
 --prefix=$HOME/development/rtems/4.11 --disable-networking

Ticket URL: <http://devel.rtems.org/ticket/2747>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list