public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Binutils <binutils@sourceware.org>
Subject: Re: PATCH: Add --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] to ld
Date: Tue, 28 Apr 2015 19:15:00 -0000	[thread overview]
Message-ID: <CAMe9rOr+D39eJ1bbPR_u73Ls2zoHdktJJ2-qUMzwga58jARPOw@mail.gmail.com> (raw)
In-Reply-To: <87wq0w2i8k.fsf@igel.home>

On Tue, Apr 28, 2015 at 11:57 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> "H.J. Lu" <hjl.tools@gmail.com> writes:
>
>>  ld/testsuite/ld-elf/compress.exp  | 167 +++++++++++++++++++++++++++++++++++++-
>
> gcc  -B/daten/src/binutils/test/ld/tmpdir/ld/ -I/home/andreas/src/binutils/binutils/ld/testsuite/ld-elf -O2 -g   -c -O2 -g -fPIC -g -Wa,--compress-debug-sections=zlib-gabi -c

There is  -B/daten/src/binutils/test/ld/tmpdir/ld.  Why isn't gcc
picking up the new assembler in /daten/src/binutils/test/ld/tmpdir/ld?

/home/andreas/src/binutils/binutils/ld/testsuite/ld-elf/foo.c -o tmpdir/foo.o
> Executing on host: sh -c {gcc  -B/daten/src/binutils/test/ld/tmpdir/ld/ -I/home/andreas/src/binutils/binutils/ld/testsuite/ld-elf -O2 -g   -c -O2 -g -fPIC -g -Wa,--compress-debug-sections=zlib-gabi -c /home/andreas/src/binutils/binutils/ld/testsuite/ld-elf/foo.c -o tmpdir/foo.o 2>&1}  /dev/null ld.tmp (timeout = 300)
> spawn [open ...].
> /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/as: option '--compress-debug-sections' doesn't allow an argument
> /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/as: option '--compress-debug-sections' doesn't allow an argument
>
> ERROR: /home/andreas/src/binutils/binutils/ld/testsuite/ld-elf/foo.c: compilation failed
> gcc -B/daten/src/binutils/test/ld/tmpdir/ld/   -L/usr/x86_64-linux/lib64 -L/usr/lib64 -L/usr/local/lib64 -L/lib64 -L/usr/x86_64-linux/lib -L/usr/local/lib -L/lib -L/usr/lib  -o tmpdir/libfoozlib.so  -L/home/andreas/src/binutils/binutils/ld/testsuite/ld-elf -shared tmpdir/foo.o
> Executing on host: sh -c {gcc -B/daten/src/binutils/test/ld/tmpdir/ld/   -L/usr/x86_64-linux/lib64 -L/usr/lib64 -L/usr/local/lib64 -L/lib64 -L/usr/x86_64-linux/lib -L/usr/local/lib -L/lib -L/usr/lib  -o tmpdir/libfoozlib.so  -L/home/andreas/src/binutils/binutils/ld/testsuite/ld-elf -shared tmpdir/foo.o 2>&1}  /dev/null ld.tmp (timeout = 300)
> spawn [open ...].
> gcc: error: tmpdir/foo.o: No such file or directory
> gcc: fatal error: no input files
> compilation terminated.
> gcc: error: tmpdir/foo.o: No such file or directory
> gcc: fatal error: no input files
> compilation terminated.
> FAIL: Build libfoozlib.so with compressed debug sections with zlib-gabi
> FAIL: Build libfoozlib.so with compressed debug sections with zlib-gabi
>
> Andreas.
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."



-- 
H.J.

  reply	other threads:[~2015-04-28 19:15 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-13 12:38 H.J. Lu
2015-04-15  0:55 ` Alan Modra
2015-04-15  2:44   ` H.J. Lu
2015-04-15  3:58     ` Alan Modra
2015-04-15  5:07       ` H.J. Lu
2015-04-28 18:57         ` Andreas Schwab
2015-04-28 19:15           ` H.J. Lu [this message]
2015-04-28 19:22             ` Andreas Schwab
2015-04-28 19:25               ` H.J. Lu
2015-04-28 19:46                 ` Andreas Schwab
2015-04-28 19:26         ` Andreas Schwab
2015-04-28 19:29           ` H.J. Lu
2015-04-28 19:46             ` Andreas Schwab
2015-04-28 20:00               ` H.J. Lu
2015-04-28 20:21                 ` Andreas Schwab
2015-04-28 20:34                   ` H.J. Lu
2015-04-28 20:44                     ` Andreas Schwab
2015-04-28 20:45                       ` H.J. Lu
2015-04-28 20:49                         ` Andreas Schwab
2015-04-28 21:02                           ` H.J. Lu
2015-04-29  7:35             ` Andreas Schwab
2015-04-28 19:36         ` Andreas Schwab
2015-04-28 19:43           ` H.J. Lu

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=CAMe9rOr+D39eJ1bbPR_u73Ls2zoHdktJJ2-qUMzwga58jARPOw@mail.gmail.com \
    --to=hjl.tools@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=schwab@linux-m68k.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).