On 03/05/2021 13:25, somesh deshmukh wrote:


I tried this patch with the master branch and the build is failing after applying the patch.

The error message includes:

/home/somesh/Documents/rtems-temp/rtems/6/lib/gcc/riscv-rtems6/10.2.1/../../../../riscv-rtems6/bin/ld: /home/somesh/work/rtems-master/rtems/build/riscv/rv64imafdc_medany/testsuites/samples/hello.exe section `.unexpected_sections' will not fit in region `UNEXPECTED_SECTIONS' /home/somesh/Documents/rtems-temp/rtems/6/lib/gcc/riscv-rtems6/10.2.1/../../../../riscv-rtems6/bin/ld: region `UNEXPECTED_SECTIONS' overflowed by 65537 bytes
collect2: error: ld returned 1 exit status

The overflowed size is equal to the size allocated for bsp_fdt_blob in the bss section.  From example .lst file ' .bss 0000000000010000 bsp_fdt_blob'

I found this in the riscv linkcmds.base.in <http://linkcmds.base.in> file:
You probably have to run ./waf configure again to regenerate the linker command file.

--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to