This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Add --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] to ld


On Tue, Apr 28, 2015 at 1:21 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> "H.J. Lu" <hjl.tools@gmail.com> writes:
>
>> It won't build for me:
>>
>> configure: error: "unsupported target alpha-suse-linux-gnu"
>> make[3]: *** [configure-gold] Error 1
>
> diff --git a/gold/configure.ac b/gold/configure.ac
> index 94cae31..6d14e2a 100644
> --- a/gold/configure.ac
> +++ b/gold/configure.ac
> @@ -166,7 +166,11 @@ for targ in $target $canon_targets; do
>      . ${srcdir}/configure.tgt
>
>      if test "$targ_obj" = "UNKNOWN"; then
> -      AC_MSG_ERROR("unsupported target $targ")
> +      if test "$targ" = "$target"; then
> +        AC_MSG_ERROR("unsupported target $targ")
> +      else
> +        AC_MSG_WARN("unsupported target $targ")
> +      fi
>      else
>        targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
>        if test "$targ_extra_obj" != ""; then
>

How can I reproduce it on an unmodified master branch?


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]