[Bug 1767223] Re: multilib selects wrong start files

2018-06-21 Thread Jochen Hoenicke
There is more broken, thumb/libc.a contains strcmp for the wrong architecture. So unless you don't need strcmp, there is no workaround. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1767223 Title:

[Bug 1767223] Re: multilib selects wrong start files

2018-06-21 Thread Jochen Hoenicke
I'm also affected by this (Cortex M3). My workaround: cd /usr/lib/arm-none-eabi/lib/thumb/v7-m sudo ln -s ../* . (for cortex m4, you need to go to v7e-m). The real fix would be to fix the default library paths for arm-none-eabi-gcc, to also include the thumb directory. I have no idea