dl06

Jiri Gaisler jiri at gaisler.se
Mon Nov 18 11:12:00 UTC 2019


On 11/18/19 9:12 AM, Sebastian Huber wrote:
> On 18/11/2019 08:59, Chris Johns wrote:
>>
>>> On 18 Nov 2019, at 6:14 pm, Sebastian Huber
>>> <Sebastian.Huber at embedded-brains.de> wrote:
>>>
>>> Hallo,
>>>
>>> on which platform passes the dl06 test? I tried
>>> arm/realview_pbx_a9_qemu and got:
>>
>> It is a bug that has come in that I have not looked at.
>
> Is this a known issue or something which broke only recently? Do you
> know a version/platform on which it worked?


dl06 and dl09 has failed on all SPARC bsps for some time now ..

>
>>
>>> *** BEGIN OF TEST libdl (RTL) 6 ***
>>> *** TEST VERSION:
>>> 5.0.0.9438165d2cfb9a6a67f01f5ec7ba9156abb66d7d-modified
>>> *** TEST STATE: EXPECTED-PASS
>>> *** TEST BUILD: RTEMS_NETWORKING RTEMS_POSIX_API RTEMS_SMP
>>> *** TEST TOOLS: 7.4.1 20190514 (RTEMS 5, RSB
>>> a50f0c044ad732db728cc942d5fde82a1faf1d12, Newlib d14714c69)
>>>
>>> load: /dl06.rap
>>> handle: 0x210ce0 loaded
>>> Loaded module: argc:4
>>> [/home/EB/sebastian_h/git-rtems-5/c/src/../../testsuites/libtests/dl06/dl06-o1.c]
>>> libm: lcong48
>>> libm: atan2
>>>
>>> *** FATAL ***
>>> fatal source: 9 (RTEMS_FATAL_SOURCE_EXCEPTION)
>>>
>>> R0   = 0x00000000 R8  = 0x00000000
>>> R1   = 0x0000000a R9  = 0x00000000
>>> R2   = 0x00213149 R10 = 0x00000000
>>> R3   = 0x00000000 R11 = 0x00000000
>>> R4   = 0x00206cac R12 = 0x00000000
>>> R5   = 0x00000000 SP  = 0x00206c80
>>> R6   = 0x00000000 LR  = 0x00211e51
>>> R7   = 0x00206c80 PC  = 0x00211e94
>>> CPSR = 0x00070173 VEC = 0x00000001
>>> FPEXC = 0x40000000
>>> FPSCR = 0x00000000
>>> D00 = 0x401c666666666666
>>> D01 = 0x4040800000000000
>>> D02 = 0x3fddac670561bb4f
>>> D03 = 0x3fe921fb54442d18
>>> D04 = 0x3fef730bd281f69b
>>> D05 = 0x3ff921fb54442d18
>>> D06 = 0x3c7a2b7f222f65e2
>>> D07 = 0x3c81a62633145c07
>>> D08 = 0x0000000000000000
>>> D09 = 0x0000000000000000
>>> D10 = 0x0000000000000000
>>> D11 = 0x0000000000000000
>>> D12 = 0x0000000000000000
>>> D13 = 0x0000000000000000
>>> D14 = 0x0000000000000000
>>> D15 = 0x0000000000000000
>>> D16 = 0x0000000000000000
>>> D17 = 0x0000000000000002
>>> D18 = 0x0000000000000000
>>> D19 = 0x0000000000000000
>>> D20 = 0x0000000000000000
>>> D21 = 0x0000000000000000
>>> D22 = 0x0000000000000000
>>> D23 = 0x0000000000000000
>>> D24 = 0x0000000000000000
>>> D25 = 0x0000000000000000
>>> D26 = 0x0000000000000000
>>> D27 = 0x0000000000000000
>>> D28 = 0x0000000000000000
>>> D29 = 0x0000000000000000
>>> D30 = 0x0000000000000000
>>> D31 = 0x0000000000000000
>>> RTEMS version: 5.0.0.9438165d2cfb9a6a67f01f5ec7ba9156abb66d7d-modified
>>> RTEMS tools: 7.4.1 20190514 (RTEMS 5, RSB
>>> a50f0c044ad732db728cc942d5fde82a1faf1d12, Newlib d14714c69)
>>> executing thread ID: 0x08a010001
>>> executing thread name: UI1
>>>
>>> I tried arm/xilinx_zynq_a9_qemu and got:
>>>
>>> *** BEGIN OF TEST libdl (RTL) 6 ***
>>> *** TEST VERSION: 5.0.0.799c4f551806fb1124ea5d9f6633ec5deb91ad8e
>>> *** TEST STATE: EXPECTED-PASS
>>> *** TEST BUILD: RTEMS_DEBUG RTEMS_POSIX_API
>>> *** TEST TOOLS: 7.4.1 20190514 (RTEMS 5, RSB
>>> a50f0c044ad732db728cc942d5fde82a1faf1d12, Newlib d14714c69)
>>>
>>> load: /dl06.rap
>>> dlopen failed: .text: THM_CALL/JUMP24: overflow: no tramp memory
>>>
>>> *** FATAL ***
>>> fatal source: 5 (RTEMS_FATAL_SOURCE_EXIT)
>>> fatal code: 0 (0x00000000)
>>> RTEMS version: 5.0.0.799c4f551806fb1124ea5d9f6633ec5deb91ad8e
>>> RTEMS tools: 7.4.1 20190514 (RTEMS 5, RSB
>>> a50f0c044ad732db728cc942d5fde82a1faf1d12, Newlib d14714c69)
>>> executing thread ID: 0x08a010001
>>> executing thread name: UI1
>>>
>>> I would like to remove the PAX archives to simplify the build and
>>> reduce the host dependencies.
>>
>> Is this because of handled the dependencies in waf?
>
> It is not a waf issue. I just want to get rid of another host
> dependency. pax is not a standard Linux tool.
>
>>
>> Converting to C is a broken path IMO. it does not scale.
>
> I would convert the individual object files with bin2c and load them
> with IMFS_make_linfile().
>
>>
>> I am not sure removing pax solves the need for 2 link passes.
>>
>>> It is not clear to me what the purpose of the dl06_pre_file file is.
>>
>> It tests the RAP format.
>
> How is the file used?
>


More information about the devel mailing list