From: "Maciej W. Rozycki" <macro@mips.com>
To: <binutils@sourceware.org>
Cc: <gdb-patches@sourceware.org>, <gcc-patches@gcc.gnu.org>,
Pip Cet <pipcet@gmail.com>
Subject: [PATCH] WebAssembly: Disable subdirectory configuration for unsupported LD
Date: Sat, 03 Feb 2018 18:52:00 -0000 [thread overview]
Message-ID: <alpine.DEB.2.00.1802030457060.3553@tp.orcam.me.uk> (raw)
Remove an LD subdirectory configuration error:
*** ld does not support target wasm32-unknown-none
*** see ld/configure.tgt for supported targets
make[1]: *** [configure-ld] Error 1
which prevents binutils for the WebAssembly target from being built
unless an explicit `--disable-ld' configuration option has been given.
Users must not have to disable features selected by default to get a
working configuration.
/
* configure.ac <wasm32-*-*> (noconfigdirs): Add `ld'.
* configure: Regenerate.
---
Hi,
It should be obvious. Also this causes troubles with cross-target
testing. OK to apply?
Maciej
---
configure | 3 +++
configure.ac | 3 +++
2 files changed, 6 insertions(+)
binutils-wasm32-no-ld.diff
Index: binutils/configure
===================================================================
--- binutils.orig/configure 2018-01-28 00:48:43.000000000 +0000
+++ binutils/configure 2018-02-02 05:48:19.239569799 +0000
@@ -3860,6 +3860,9 @@ case "${target}" in
vax-*-*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
+ wasm32-*-*)
+ noconfigdirs="$noconfigdirs ld"
+ ;;
esac
# If we aren't building newlib, then don't build libgloss, since libgloss
Index: binutils/configure.ac
===================================================================
--- binutils.orig/configure.ac 2018-01-28 00:48:43.000000000 +0000
+++ binutils/configure.ac 2018-02-02 05:48:09.444938712 +0000
@@ -1191,6 +1191,9 @@ case "${target}" in
vax-*-*)
noconfigdirs="$noconfigdirs target-newlib target-libgloss"
;;
+ wasm32-*-*)
+ noconfigdirs="$noconfigdirs ld"
+ ;;
esac
# If we aren't building newlib, then don't build libgloss, since libgloss
next reply other threads:[~2018-02-03 18:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-03 18:52 Maciej W. Rozycki [this message]
2018-02-04 14:53 ` Pip Cet
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=alpine.DEB.2.00.1802030457060.3553@tp.orcam.me.uk \
--to=macro@mips.com \
--cc=binutils@sourceware.org \
--cc=gcc-patches@gcc.gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=pipcet@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox