[Buildroot] [PATCH 1/1] package/mupdf: disable objcopy

Raphaël Mélotte raphael.melotte at mind.be
Tue Nov 16 17:20:56 UTC 2021


Hello,

On 11/15/21 6:33 PM, Fabrice Fontaine wrote:
> Drop fourth patch and disable objcopy as suggested by upstream in
> https://bugs.ghostscript.com/show_bug.cgi?id=704442#c2
> 
> This will also fix the following build failure on sparc:
> 
>      OBJCOPY build/release/resources/fonts/urw/Dingbats.cff.o
> /home/buildroot/autobuild/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc64-buildroot-linux-gnu/9.3.0/../../../../sparc64-buildroot-linux-gnu/bin/ld: --relax and -r may not be used together

Nice!

This will also fix the build for xtensa:
      OBJCOPY build/release/resources/fonts/urw/Dingbats.cff.o
      OBJCOPY build/release/resources/fonts/urw/NimbusMonoPS-Bold.cff.o
 
/tmp/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/xtensa-buildroot-linux-uclibc/9.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: 
--relax and -r may not be used together
http://autobuild.buildroot.net/results/0945f305d31530677282f38fa7c99af5295d47bd


I haven't had a chance to runtime-test it, but I can confirm it builds for:
                      bootlin-x86-64-musl [1/6]: OK
                    bootlin-mipsel-uclibc [2/6]: OK
                 bootlin-mipsel32r6-glibc [3/6]: OK
                     bootlin-sparc-uclibc [4/6]: SKIPPED
                    bootlin-sparc64-glibc [5/6]: OK
                    bootlin-xtensa-uclibc [6/6]: OK


Thanks!

Raphaël



More information about the buildroot mailing list