[RTEMS Project] #3740: Libld does not load incrementially linked object file

RTEMS trac trac at rtems.org
Wed Sep 25 18:51:23 UTC 2019


#3740: Libld does not load incrementially linked object file
-------------------------+--------------------------
 Reporter:  Chris Johns  |       Owner:  Chris Johns
     Type:  defect       |      Status:  assigned
 Priority:  normal       |   Milestone:  5.1
Component:  lib/dl       |     Version:  5
 Severity:  normal       |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+--------------------------

Comment (by Joel Sherrill):

 Unless someone can point to a failure I am missing, I think this should be
 closed. I would appreciate Chris or Peter closing this if my testing below
 demonstrates this is no longer an issue.

 Since Chris says this test case has been added to dl01. dl01 passes on
 xilinx_zynq_a9_qemu  with results posted at
 https://lists.rtems.org/pipermail/build/2019-September/003639.html


 For reference, this is the Zynq output which I think is correct:

 {{{
 *** BEGIN OF TEST libdl (RTL) 1 ***
 *** TEST VERSION: 5.0.0.8798372261ed1df999bc9f4f3f0be0a230480041
 *** TEST STATE: EXPECTED-PASS
 *** TEST BUILD: RTEMS_POSIX_API
 *** TEST TOOLS: 7.4.1 20190514 (RTEMS 5, RSB
 83e0c3ddb8b3474806c9dad4efe4ad6afb0bb937, Newlib 6661a67)
 load: /dl01-o1.o
 handle: 0x1124b8 loaded
 Loaded module: argc:2
 [../../../../../../rtems/c/src/../../testsuites/libtests/dl01/dl-o1.c]
   0: Line 1
   1: Line 2
 Loaded module: argc:3
 [../../../../../../rtems/c/src/../../testsuites/libtests/dl01/dl-o1.c]
   0: Call 2, line 1
   1: Call 2, line 2
   2: Call 2, line 3
 handle: 0x1124b8 closed

 *** END OF TEST libdl (RTL) 1 ***


 *** FATAL ***
 fatal source: 5 (RTEMS_FATAL_SOURCE_EXIT)
 fatal code: 0 (0x00000000)
 RTEMS version: 5.0.0.8798372261ed1df999bc9f4f3f0be0a230480041
 RTEMS tools: 7.4.1 20190514 (RTEMS 5, RSB
 83e0c3ddb8b3474806c9dad4efe4ad6afb0bb937, Newlib 6661a67)
 executing thread ID: 0x08a010001
 executing thread name: UI1
 }}}

 Can this be closed?

--
Ticket URL: <http://devel.rtems.org/ticket/3740#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list