Package: binutils-arm-linux-gnueabi
Version: 2.27-8
Severity: normal

Dear Maintainer,
My build system uses LD with a linker script to include a binary blob
in an elf file.  arm-linux-gnueabi-ld.bfd segfaults, but
arm-linux-gnueabi-ld.gold works correctly.

To reproduce:
  dd if=/dev/zero of=blob bs=1k count=1

  cat  > linkscript.ld <<EOF
  SECTIONS { ._archive_cpio : ALIGN(4)
           { _cpio_archive = . ;
             *(.*) ;
             _cpio_archive_end = . ; }
  }
  EOF

  arm-linux-gnueabi-ld.bfd  -T linkscript.ld -m armelf_linux_eabi \
                            --format binary --oformat elf32-littlearm  \
                            -r blob -o foo.o

Peter C



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, armel, arm64

Kernel: Linux 4.8.0+ (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages binutils-arm-linux-gnueabi depends on:
ii  binutils  2.27-8
ii  libc6     2.24-3
ii  zlib1g    1:1.2.8.dfsg-2+b1

binutils-arm-linux-gnueabi recommends no packages.

Versions of packages binutils-arm-linux-gnueabi suggests:
pn  binutils-doc  <none>

-- no debconf information

Reply via email to