Re: dl06 fails to build for RISC-V (griscv bsp)

2020-09-08 Thread Hesham Almatary
On Mon, 7 Sep 2020 at 09:01, Jiri Gaisler wrote: > > > On 9/7/20 10:44 AM, Hesham Almatary wrote: > > I have only made sure rap builds when I added libdl support for > > RISC-V. But I haven't tested it on run-time, only ELF objects. It's > > likely to have been failing in run-time all along. Also,

Re: dl06 fails to build for RISC-V (griscv bsp)

2020-09-07 Thread Chris Johns
On 7/9/20 6:01 pm, Jiri Gaisler wrote: > > On 9/7/20 10:44 AM, Hesham Almatary wrote: >> I have only made sure rap builds when I added libdl support for >> RISC-V. But I haven't tested it on run-time, only ELF objects. It's >> likely to have been failing in run-time all along. Also, there are a >>

Re: dl06 fails to build for RISC-V (griscv bsp)

2020-09-07 Thread Jiri Gaisler
On 9/7/20 10:44 AM, Hesham Almatary wrote: > I have only made sure rap builds when I added libdl support for > RISC-V. But I haven't tested it on run-time, only ELF objects. It's > likely to have been failing in run-time all along. Also, there are a > few relocations still to be implemented for E

Re: dl06 fails to build for RISC-V (griscv bsp)

2020-09-07 Thread Hesham Almatary
I have only made sure rap builds when I added libdl support for RISC-V. But I haven't tested it on run-time, only ELF objects. It's likely to have been failing in run-time all along. Also, there are a few relocations still to be implemented for ELF like PCREL_LO12_X and RELAX. I got around that by

Re: dl06 fails to build for RISC-V (griscv bsp)

2020-09-06 Thread Jiri Gaisler
I re-applied your patch and dl06 builds again, but the dl06.exe program fails. I have updated the ticket: https://devel.rtems.org/ticket/4069#no2 On 9/6/20 10:12 AM, Hesham Almatary wrote: > That's the same as [1]. I've seen that error before and (thought I) > fixed it [2], but not sure what ha

Re: dl06 fails to build for RISC-V (griscv bsp)

2020-09-06 Thread Eshan Dhawan
The issue here is due to some changes in Newlib. Which caused error in both riscv and arm. The error in ARM is fixed. But I don’t know about Riscv. > On 06-Sep-2020, at 2:43 PM, Hesham Almatary > wrote: > > That's the same as [1]. I've seen that error before and (thought I) > fixed it [2], but

Re: dl06 fails to build for RISC-V (griscv bsp)

2020-09-06 Thread Hesham Almatary
Actually my commit is the latest, so please ignore the last reply. On Sun, 6 Sep 2020 at 09:18, Hesham Almatary wrote: > > I did a git blame, looks like that commit broke it [1]; my fix used to > "continue" if a sym belongs to section 0, but now it returns "false". > > [1] > https://github.com/R

Re: dl06 fails to build for RISC-V (griscv bsp)

2020-09-06 Thread Hesham Almatary
I did a git blame, looks like that commit broke it [1]; my fix used to "continue" if a sym belongs to section 0, but now it returns "false". [1] https://github.com/RTEMS/rtems-tools/commit/ec419a05ee52869a7d5b8712ea8e7a7d74fde096 On Sun, 6 Sep 2020 at 09:12, Hesham Almatary wrote: > > That's th

Re: dl06 fails to build for RISC-V (griscv bsp)

2020-09-06 Thread Hesham Almatary
That's the same as [1]. I've seen that error before and (thought I) fixed it [2], but not sure what has changed since then. [1] https://lists.rtems.org/pipermail/devel/2020-August/061717.html [2] https://github.com/RTEMS/rtems-tools/commit/e6e610d262940b7651157597b6b1406aa806b4d1 On Sun, 6 Sep 2

Re: dl06 fails to build for RISC-V (griscv bsp)

2020-09-06 Thread Chris Johns
On 6/9/20 6:32 am, Jiri Gaisler wrote: > I have updated both RTEMS and RSB to git head, and dl06 now fails to build: > > riscv-rtems6-g++ -march=rv32imafd -mabi=ilp32d -O2 -g -ffunction-sections > -fdata-sections -Wall  -Wl,--gc-sections  -march=rv32imafd -mabi=ilp32d  > -B./../../lib/libbsp

Re: dl06

2019-11-19 Thread Jonathan Brandmeyer
On Tue, Nov 19, 2019 at 5:13 PM Chris Johns wrote: > On 19/11/19 5:36 pm, Sebastian Huber wrote: > > On 19/11/2019 01:59, Chris Johns wrote: > >> On 18/11/19 7:12 pm, Sebastian Huber wrote: > > >> I am fine with tar being used if configure magic is used to select it. > This may > >> expose RTEMS

Re: dl06

2019-11-19 Thread Chris Johns
On 19/11/19 5:36 pm, Sebastian Huber wrote: > On 19/11/2019 01:59, Chris Johns wrote: >> On 18/11/19 7:12 pm, Sebastian Huber wrote: >>> On 18/11/2019 08:59, Chris Johns wrote: > On 18 Nov 2019, at 6:14 pm, Sebastian Huber > wrote: > > Hallo, > > on which platform pas

Re: dl06

2019-11-18 Thread Sebastian Huber
On 19/11/2019 01:59, Chris Johns wrote: On 18/11/19 7:12 pm, Sebastian Huber wrote: On 18/11/2019 08:59, Chris Johns wrote: On 18 Nov 2019, at 6:14 pm, Sebastian Huber wrote: Hallo, on which platform passes the dl06 test? I tried arm/realview_pbx_a9_qemu and got: It is a bug that has co

Re: dl06

2019-11-18 Thread Sebastian Huber
On 19/11/2019 02:04, Chris Johns wrote: On 19/11/19 4:33 am, Jonathan Brandmeyer wrote: On Mon, Nov 18, 2019 at 1:12 AM Sebastian Huber mailto:sebastian.hu...@embedded-brains.de>> wrote: On 18/11/2019 08:59, Chris Johns wrote: > > > Converting to C is a broken path IMO. it

Re: dl06

2019-11-18 Thread Chris Johns
On 19/11/19 4:33 am, Jonathan Brandmeyer wrote: > On Mon, Nov 18, 2019 at 1:12 AM Sebastian Huber > > > wrote: > > On 18/11/2019 08:59, Chris Johns wrote: > > > > > > > Converting to C is a broken path IMO. it does not scale. > > I

Re: dl06

2019-11-18 Thread Chris Johns
On 18/11/19 10:12 pm, Jiri Gaisler wrote: > > 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 wrote: Hallo, on which platform passes the dl06 test? I tried arm/realview_pbx_a

Re: dl06

2019-11-18 Thread Chris Johns
On 18/11/19 7:12 pm, Sebastian Huber wrote: > On 18/11/2019 08:59, Chris Johns wrote: >> >>> On 18 Nov 2019, at 6:14 pm, Sebastian Huber >>> 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

Re: dl06

2019-11-18 Thread Jonathan Brandmeyer
On Mon, Nov 18, 2019 at 1:12 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 18/11/2019 08:59, Chris Johns wrote: > > > > > > > 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_li

Re: dl06

2019-11-18 Thread Jiri Gaisler
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 >>> 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

Re: dl06

2019-11-18 Thread Sebastian Huber
On 18/11/2019 08:59, Chris Johns wrote: On 18 Nov 2019, at 6:14 pm, Sebastian Huber 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 on

Re: dl06

2019-11-18 Thread Chris Johns
> On 18 Nov 2019, at 6:14 pm, Sebastian Huber > 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. > *** BEGIN OF TEST libdl (RTL) 6 *** > *** TEST VERSION: 5.0.0.9438165d2cfb9a6

Re: dl06 - tms570 variant failures

2018-07-31 Thread Chris Johns
On 01/08/2018 15:26, Sebastian Huber wrote: > On 31/07/18 21:17, Joel Sherrill wrote: >> Hi >> >> The build of all BSPs looks a lot better thanks to the patch >> Sebastian pushed. Only the tms570 variants fail to build. >> They end with this: >> >> error: mv -f spqreslib/.deps/spqreslib-init.Tpo >

Re: dl06 - tms570 variant failures

2018-07-31 Thread Sebastian Huber
On 31/07/18 21:17, Joel Sherrill wrote: Hi The build of all BSPs looks a lot better thanks to the patch Sebastian pushed. Only the tms570 variants fail to build. They end with this: error: mv -f spqreslib/.deps/spqreslib-init.Tpo spqreslib/.deps/spqreslib-init.Po elf:check_file: /data/home/jo