This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Add --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] to ld
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Tue, 28 Apr 2015 13:34:49 -0700
- Subject: Re: PATCH: Add --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] to ld
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOr2tu2v033H0HjfXTCaKbHCtMbXqXsqfoafCimUR_fZ9A at mail dot gmail dot com> <20150415005524 dot GB31531 at bubble dot grove dot modra dot org> <CAMe9rOrDsmL-NfuiuFewEvmO=LLCmafxaVqCo+VMW2aaztaEww at mail dot gmail dot com> <20150415035850 dot GA30136 at bubble dot grove dot modra dot org> <CAMe9rOoWJQf-_101GEHHz_xW0K62r3Y0OYRCEnOPsBPfMfM1Ew at mail dot gmail dot com> <87lhhc2gwk dot fsf at igel dot home> <CAMe9rOpoHjGBnGe63VWMsA9zShu7HSFyW0dbVQo6q99wDqC15Q at mail dot gmail dot com> <87a8xs2fz8 dot fsf at igel dot home> <CAMe9rOpNKGwftT_LZd+XLCTBELf3RC7DWPDPP+vmamGR4gy41g at mail dot gmail dot com> <87tww00zsr dot fsf at igel dot home>
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.