on ubuntu 14.04 and debian jessie arm-none-eabi-g++ produces different binary
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
New
|
Undecided
|
Unassigned |
Bug Description
I have installed 5-2015-q4-major on both ubuntu 14.04 and debian jessie.
Both systems are 64 bit with i386 support.
On ubuntu I can compile c++ file which uses std::list into binary that runs on stm32f103c8t6 as expected.
If I compile exactly the same project on debian jessie, the binary hangs in WWDG_IRQHandler just inside std::list object initialization.
#0 0x08001898 in WWDG_IRQHandler ()
#1 <signal handler called>
#2 std::__
at /opt/gcc-
#3 std::__
at /opt/gcc-
#4 std::__
at /opt/gcc-
#5 lk::led::led (pin_num=13, port=<optimized out>, this=0x20000a1c <led0>) at ./src/led.hh:31
#6 __static_
#7 _GLOBAL_
#8 0x08002d2a in __libc_init_array ()
#9 0x08000266 in _start ()
I compile with Makefile.
I figured out that binaries have the same size but different content.
If I compile another project in pure C, the binaries are identical.
Difference begin in function findslot if this helps