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 SHF_COMPRESSED support to gas and objcopy


> From: "H.J. Lu" <hongjiu.lu@intel.com>
> Date: Mon, 6 Apr 2015 21:32:08 +0200

> Any comments, suggestions or objections?

> binutils/testsuite/
> 
>         * compress.exp: Add tests for
>         --compress-debug-sections=3D{none|zlib|zlib-gnu|zlib-gabi}.
>         * binutils-all/dw2-3.rS: New file.
>         * binutils-all/dw2-3.rt: Likewise.
>         * binutils-all/libdw2-compressedgabi.out: Likewise.

The new tests fail for cris-elf, cris-linux:

Running /tmp/hpautotest-binutils/bsrc/src/binutils/testsuite/binutils-all/compress.exp ...
FAIL: objcopy (objcopy compress debug sections with zlib-gabi)

In binutils.log:

Executing on host: /tmp/hpautotest-binutils/cris-axis-elf/binutils/objcopy --compress-debug-sections=zlib-gabi tmpdir/dw
2-1.o tmpdir/debug_str.copygabi.o   (timeout = 300)
spawn /tmp/hpautotest-binutils/cris-axis-elf/binutils/objcopy --compress-debug-sections=zlib-gabi tmpdir/dw2-1.o tmpdir/debug_str.copygabi.o
/tmp/hpautotest-binutils/cris-axis-elf/binutils/objcopy: --compress-debug-sections=[zlib|zlib-gnu|zlib-gabi] is unsupported for `a.out-cris'
/tmp/hpautotest-binutils/cris-axis-elf/binutils/objcopy: --compress-debug-sections=[zlib|zlib-gnu|zlib-gabi] is unsupported for `a.out-cris'

FAIL: objcopy (objcopy compress debug sections with zlib-gabi)

There's not a.out-cris object involved; the object format is
misinterpreted supposedly in the presence of the compressed
debug.  (I checked the files.)

brgds, H-P


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