Package: gcc-arm-none-eabi
Version: 4.8.2-12+5
Severity: wishlist

Dear Maintainer,

In mchck.org which is a cortex-m4 board we use fake-linker script, which
does some magic, and than calls normal linker.
However, gcc-arm-non-eabi, comes precompiled with option --with-ld
which means that gcc looks for linker first in the provided by that option
path, than in environment path etc.. Therefore, its impossible to
substitute linker temporaly, as we do.

Is there a reason, or specific need for this option in the package ?

To reproduce the problem please follow
git clone git://github.com/mchck/mchck.git
cd mchck/bootloader/usb-dfu/
make

you will get error (ignore other errors, like error: 'IRQ_ADC0' undeclared)
arm-none-eabi-objcopy: 'dfu.elf': No such file

This is because script is failing
../../toolchain/scripts/real-ld:  when /^-output-linker-script=(.*)$/

Would it be possible to get rid of "--with-ld" option from gcc compiler,
unless it does not create other problems ?

Thanks,
Mateusz

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-rt-amd64 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=pl_PL.utf8, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcc-arm-none-eabi depends on:
ii  binutils-arm-none-eabi  2.24-2+4
ii  libc6                   2.17-97
ii  libgmp10                2:5.1.3+dfsg-1
ii  libmpc3                 1.0.1-1
ii  libmpfr4                3.1.2-1
ii  zlib1g                  1:1.2.8.dfsg-1

Versions of packages gcc-arm-none-eabi recommends:
ii  libnewlib-arm-none-eabi  2.1.0-1

gcc-arm-none-eabi suggests no packages.

-- no debconf information

Reply via email to