Skip to contentSkip to conversation

get_default_envs.sh broken in master

DISCUSSION Jan Kiszka 2 participants 2 messages Jun 20, 2021 – Jun 21, 2021

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

Hi all,

commit 958f2e57 ("build: use thin archives instead of incremental linking") broke scripts/get_default_envs.sh:

aarch64-linux-gnu-objcopy:copy_built-in.o: sorry: copying thin archives is not currently supported: invalid operation

I know (by now) that there is a u-boot-initial-env target which is apparently equivalent and not affected by this. But that raises the question if the script should be removed or if if should become a wrapper for that target (for the sake of existing callers)?

Jan

#1 lore raw
Quoted 5 lines · Jan Kiszka

Hi all,

commit 958f2e57 ("build: use thin archives instead of incremental linking") broke scripts/get_default_envs.sh:

Quoted 7 lines

aarch64-linux-gnu-objcopy:copy_built-in.o: sorry: copying thin archives is not currently supported: invalid operation

I know (by now) that there is a u-boot-initial-env target which is apparently equivalent and not affected by this. But that raises the question if the script should be removed or if if should become a wrapper for that target (for the sake of existing callers)?

So, a little bit of rework to the script gets us the same behavior as before I believe, I'll post a patch, thanks!

Signature · 1 line
Tom