berryboot icon indicating copy to clipboard operation
berryboot copied to clipboard

package/squashfs: fix host compile multiple definitions

Open HinTak opened this issue 4 years ago • 1 comments

Add upstream patch to fix squashfs-tools build failures because of missing external declaration for fwriter_buffer and bwriter_buffer.

Fixes:

  • http://autobuild.buildroot.net/results/6789b668898245926e0a3a3e7caf823dff515d71

/usr/bin/ld: read_fs.o:(.bss+0x0): multiple definition of fwriter_buffer'; mksquashfs.o:(.bss+0x400c90): first defined here /usr/bin/ld: read_fs.o:(.bss+0x8): multiple definition of bwriter_buffer'; mksquashfs.o:(.bss+0x400c98): first defined here

Signed-off-by: Peter Seiderer [email protected] Signed-off-by: Yann E. MORIN [email protected]

HinTak avatar Jun 24 '21 04:06 HinTak

Taken verbatim from upstream buildroot: https://git.busybox.net/buildroot/commit/?id=8d7b714027b451df6b202cee5d85ff6bbf3fe624

Sorry about the weird authorship - I just did 'git am ..' after adjusting the upstream patch.

HinTak avatar Jun 24 '21 04:06 HinTak