mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-27 13:36:31 +01:00
Fix tcc crash when building lwext4 in chroot/bwrap
Fixes https://github.com/fosslinux/live-bootstrap/issues/281. This is adding a null pointer check to `fill_local_got_entries` in tcc 0.9.27. This is rather a workaround because I am not sure if it is legit for that pointer to be null.
This commit is contained in:
parent
b0a2747ada
commit
86c0be5b67
4 changed files with 14 additions and 1 deletions
|
|
@ -26,6 +26,9 @@ untar --file ../src/${pkg}.tar
|
|||
/sysa/tcc-0.9.27/simple-patches/addback-fileopen.before /sysa/tcc-0.9.27/simple-patches/addback-fileopen.after
|
||||
/x86/bin/simple-patch /sysa/tcc-0.9.27/build/tcc-0.9.27/tccelf.c \
|
||||
/sysa/tcc-0.9.27/simple-patches/fiwix-paddr.before /sysa/tcc-0.9.27/simple-patches/fiwix-paddr.after
|
||||
# Fix SIGSEGV while building lwext4
|
||||
/x86/bin/simple-patch /sysa/tcc-0.9.27/build/tcc-0.9.27/tccelf.c \
|
||||
/sysa/tcc-0.9.27/simple-patches/check-reloc-null.before /sysa/tcc-0.9.27/simple-patches/check-reloc-null.after
|
||||
untar --non-strict --file ../src/${MES_PKG}.tar
|
||||
cd ${pkg}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue