From: Arnout Vandecappelle <arnout@mind.be>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>, buildroot@buildroot.org
Cc: Jeremy Rosen <jeremy.rosen@openwide.fr>
Subject: Re: [Buildroot] [PATCH 1/1] package/fxload: fix static build
Date: Sun, 19 Jun 2022 17:55:45 +0200 [thread overview]
Message-ID: <3330fcee-9e10-ee5e-181a-65b577f15e3e@mind.be> (raw)
In-Reply-To: <20220613202855.293980-1-fontaine.fabrice@gmail.com>
On 13/06/2022 22:28, Fabrice Fontaine wrote:
> Fix the following static build failure:
>
> /home/buildroot/autobuild/instance-3/output-1/host/bin/sh4-buildroot-linux-musl-gcc -o fxload ezusb.o main.o
> /home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/sh4-buildroot-linux-musl/10.3.0/../../../../sh4-buildroot-linux-musl/bin/ld: /home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/sh4-buildroot-linux-musl/10.3.0/libgcc.a(unwind-dw2.o): in function `size_of_encoded_value':
> /home/buildroot/autobuild/instance-3/output-1/build/host-gcc-final-10.3.0/build/sh4-buildroot-linux-musl/libgcc/../../../libgcc/unwind-pe.h:89: undefined reference to `abort'
>
> Fixes:
> - http://autobuild.buildroot.org/results/bca28d7a6d2b324fb61fe99b8af4b86caa2350ee
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Arnout
> ---
> package/fxload/0001-fix-static-build.patch | 25 ++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
> create mode 100644 package/fxload/0001-fix-static-build.patch
>
> diff --git a/package/fxload/0001-fix-static-build.patch b/package/fxload/0001-fix-static-build.patch
> new file mode 100644
> index 0000000000..9ce49baa6e
> --- /dev/null
> +++ b/package/fxload/0001-fix-static-build.patch
> @@ -0,0 +1,25 @@
> +fix static build
> +
> +Fix the following static build failure:
> +
> +/home/buildroot/autobuild/instance-3/output-1/host/bin/sh4-buildroot-linux-musl-gcc -o fxload ezusb.o main.o
> +/home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/sh4-buildroot-linux-musl/10.3.0/../../../../sh4-buildroot-linux-musl/bin/ld: /home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/sh4-buildroot-linux-musl/10.3.0/libgcc.a(unwind-dw2.o): in function `size_of_encoded_value':
> +/home/buildroot/autobuild/instance-3/output-1/build/host-gcc-final-10.3.0/build/sh4-buildroot-linux-musl/libgcc/../../../libgcc/unwind-pe.h:89: undefined reference to `abort'
> +
> +Fixes:
> + - http://autobuild.buildroot.org/results/bca28d7a6d2b324fb61fe99b8af4b86caa2350ee
> +
> +Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> +
> +diff -Naur fxload-2008_10_13.orig/Makefile fxload-2008_10_13/Makefile
> +--- fxload-2008_10_13.orig/Makefile 2022-06-11 22:11:02.845916977 +0200
> ++++ fxload-2008_10_13/Makefile 2022-06-11 22:12:25.118006070 +0200
> +@@ -39,7 +39,7 @@
> +
> + # object files
> + $(PROG): $(FILES_OBJ)
> +- $(CC) -o $(PROG) $(FILES_OBJ)
> ++ $(CC) $(LDFLAGS) -o $(PROG) $(FILES_OBJ)
> +
> + %.o: %.c
> + $(CC) -c $(CFLAGS) $< -o $@
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2022-06-19 15:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-13 20:28 [Buildroot] [PATCH 1/1] package/fxload: fix static build Fabrice Fontaine
2022-06-19 15:55 ` Arnout Vandecappelle [this message]
2022-07-19 17:03 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3330fcee-9e10-ee5e-181a-65b577f15e3e@mind.be \
--to=arnout@mind.be \
--cc=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
--cc=jeremy.rosen@openwide.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.