Skip to content

__libc_init_array() crash (newlib) #9248

@dylad

Description

@dylad

Description

I'm encountering a weird issue with the __libc_init_array(); called in cpu/cortexm_common/vectors_cortexm.c
I tried on saml21-xpro, nrf52dk and with tests/leds app. My LEDs are not blinking :(
I'm using Ubuntu 18.04

I guess I did something wrong when I setup my ubuntu ?...

Steps to reproduce the issue

Use lastest ubuntu 18.04 iso
install all dependencies for build, etc.

Expected results

LEDs blink

Actual results

MCU hangs

Versions

Ubuntu 18.04 on VM

./dist/tools/ci/print_toolchain_versions.sh 
Installed compiler toolchains 
-----------------------------
             native gcc: gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0
      arm-none-eabi-gcc: arm-none-eabi-gcc (15:6.3.1+svn253039-1build1) 6.3.1 20170620
                avr-gcc: missing
       mips-mti-elf-gcc: missing
             msp430-gcc: missing
   riscv-none-embed-gcc: missing
                  clang: missing

Installed compiler libs
-----------------------
   arm-none-eabi-newlib: "2.4.0"
    mips-mti-elf-newlib: missing
riscv-none-embed-newlib: missing
               avr-libc: missing (missing)

Installed development tools
---------------------------
                  cmake: cmake version 3.10.2
               cppcheck: missing
                doxygen: missing
                 flake8: missing
                    git: git version 2.17.0
             coccinelle: missing

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions