Package: binutils-arm-none-eabi
Version: 2.27-9+9
Severity: important

Dear Maintainer,

My project links OK if I downgrade to

binutils-arm-none-eabi:amd64 2.26-4+8

but linking fails when running

binutils-arm-none-eabi:amd64 2.27-9+9

with

/usr/lib/gcc/arm-none-eabi/5.4.1/../../../arm-none-eabi/bin/ld: section 
.bootdata VMA [0000000040024ff0,0000000040024fff] overlaps section .bkpsram VMA 
[0000000040024000,0000000040024fff]

Changing my link command to

arm-none-eabi-g++ -Wl,--no-check-sections

resolves the problem.

Now, my linker script may well be incorrect but it's unfortunate that the 
default
for --check-sections changed without any documentation in Changelog or NEWS 
afaics.

my previously working commandline was:

arm-none-eabi-g++ -Wl,-Map=proj.map -Tproj.ld -Wl,--gc-sections,-u,-IVT 
-nostdlib -Wl,--no-wchar-size-warning -o proj_tmp.elf $(OBJS) $(LIBS)

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

Kernel: Linux 4.7.0 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages binutils-arm-none-eabi depends on:
ii  libc6   2.24-5
ii  zlib1g  1:1.2.8.dfsg-2+b3

binutils-arm-none-eabi recommends no packages.

binutils-arm-none-eabi suggests no packages.

-- no debconf information

Reply via email to