If I install srecord package on host, and without bitbake environment set, and execute following sequence:
```srec_cat -output spl/u-boot-spl.scif -M 8
spl/u-boot-spl.srec -M 8 -Output_Block_Size 16 -generate 0xe6300400
0xe6300404 -l-e-constant 0x0 4 -generate 0xe630048c 0xe6300490
-l-e-constant 0x0 4 -generate 0xe63005d4 0xe63005d8 -l-e-constant
0xe6338000 4 -generate 0xe63006e4 0xe63006e8 -l-e-constant 0x00006560 4
-generate 0xe6301154 0xe6301158 -l-e-constant 0xe6338000 4 -generate
0xe6301264 0xe6301268 -l-e-constant 0x00006560 4
```
It completes without error. Same sequence in build triggers `Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37: _dl_call_libc_early_init: Assertion `sym != NULL' failed!
`
Seems srec_cat version installed as part of meta-rcar-gen3/recipes-bsp/u-boot/u-boot_2020.01.bb recipe is not compatible with Ubuntu 20.
On Thu, Oct 21, 2021 at 6:56 PM Joel Winarske via lists.automotivelinux.org <joel.winarske=gmail.com@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hitting an error build meta-rcar-gen3/recipes-bsp/u-boot/u-boot_2020.01.bb on Ubuntu 20 container. Is "srec_cat" a proprietary tool?| make -f /__w/meta-flutter/agl-lamprey-m3ulcb/build/tmp/work/m3ulcb-agl-linux/u-boot/1_v2020.01+gitAUTOINC+ede36601a3-r0/git/scripts/Makefile.build obj=arch/arm/mach-rmobile spl/u-boot-spl.scif| aarch64-agl-linux-objcopy -j .text -j .secure_text -j .secure_data -j .rodata -j .data -j .u_boot_list -j .rela.dyn -j .got -j .got.plt -j .binman_sym_table -j .text_rest -j .dtb.init.rodata -j .efi_runtime -j .efi_runtime_rel -O srec spl/u-boot-spl spl/u-boot-spl.srec| srec_cat -output spl/u-boot-spl.scif -M 8 spl/u-boot-spl.srec -M 8 -Output_Block_Size 16 -generate 0xe6300400 0xe6300404 -l-e-constant 0x0 4 -generate 0xe630048c 0xe6300490 -l-e-constant 0x0 4 -generate 0xe63005d4 0xe63005d8 -l-e-constant 0xe6338000 4 -generate 0xe63006e4 0xe63006e8 -l-e-constant 0x00006560 4 -generate 0xe6301154 0xe6301158 -l-e-constant 0xe6338000 4 -generate 0xe6301264 0xe6301268 -l-e-constant 0x00006560 4| Inconsistency detected by ld.so: dl-call-libc-early-init.c: 37: _dl_call_libc_early_init: Assertion `sym != NULL' failed!| make[2]: *** [/__w/meta-flutter/agl-lamprey-m3ulcb/build/tmp/work/m3ulcb-agl-linux/u-boot/1_v2020.01+gitAUTOINC+ede36601a3-r0/git/arch/arm/mach-rmobile/Makefile:87: spl/u-boot-spl.scif] Error 127| make[1]: *** [/__w/meta-flutter/agl-lamprey-m3ulcb/build/tmp/work/m3ulcb-agl-linux/u-boot/1_v2020.01+gitAUTOINC+ede36601a3-r0/git/Makefile:1183: spl/u-boot-spl.scif] Error 2Build logs here: https://github.com/meta-flutter/meta-flutter/runs/3970577135?check_suite_focus=trueThanks,Joel
_._,_._,_
Links:
You receive all messages sent to this group.
View/Reply Online (#9482) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]
_._,_._,_