Hi,

I can also run the tests successfully on native and the stm32f4discovery board.

My Stock GCC:
gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13)

My ARM GCC, I use the launchpad one and export its location as described for the Codebench version[1]: gcc version 4.9.3 20150303 (release) [ARM/embedded-4_9-branch revision 221220] (GNU Tools for ARM Embedded Processors)

For my local ARM GCC its:
`export PATH=$PATH:/home/<myusername>/Downloads/gcc-arm-none-eabi-4_9-2015q1/bin`

@Philipp could you test if exporting a local version of the ARM compiler still prevents compiling for the stm board?

Best regards,
Martin

[1] https://github.com/RIOT-OS/RIOT/wiki/Family%3A-ARM#codebench-for-linux

Am 29.06.2015 um 20:29 schrieb Philipp Rosenkranz:
Hi Paul,

thanks but the problem seems to be specific to ubuntu 14.04.
I also observed this issue in a fresh ubuntu 14.04 docker container.

For now I decided to switch to a more current release of ubuntu in order
to solve this problem. On 15.04 this issue doesn't seem to exist.

Best,
Philipp

2015-06-29 14:23 GMT+02:00 Pauli, Andreas <[email protected] <mailto:[email protected]>>:

    Hi Philipp,

    Am Montag, den 29.06.2015, 13:53 +0200 schrieb Philipp Rosenkranz:

    > I am currently trying to run the cpp tests (e.g. tests/cpp11_*) for
    > stm32f4discovery on ubuntu 14.04 unfortunately all tests I ran
    failed
    > (see error log at the bottom of this mail). I highly suspect
    that this
    > is a toolchain issue (btw: happens only with stm32f4discovery).
    >
    > Did I miss something obvious like a missing package (see package
    list
    > below)?

    I did a quick check here. Although not exactly Ubuntu? :-)

    tests/cpp11_thread$ lsb_release -a
    No LSB modules are available.
    Distributor ID: Debian
    Description:    Debian GNU/Linux 8.1 (jessie)
    Release:        8.1
    Codename:       jessie

    tests/cpp11_thread$ dpkg -l|grep arm-none
    ii  binutils-arm-none-eabi                2.25-5+5 +b1
    ii  gcc-arm-none-eabi                     4.8.4-1+11-1
    ii  libnewlib-arm-none-eabi  2.1.0+git20140818.1a8323b-2
    ii  libstdc++-arm-none-eabi-newlib        4.8.3-9+4

    $ tests/cpp11_thread$ make all
    Building application "cpp11_thread" for "stm32f4discovery" with MCU
    "stm32f4".

    "make" -C /home/aar680/git/RIOT/boards/stm32f4discovery
    "make" -C /home/aar680/git/RIOT/core
    "make" -C /home/aar680/git/RIOT/cpu/stm32f4
    "make" -C /home/aar680/git/RIOT/cpu/cortexm_common
    "make" -C /home/aar680/git/RIOT/cpu/stm32f4/periph
    "make" -C /home/aar680/git/RIOT/drivers
    "make" -C /home/aar680/git/RIOT/sys
    "make" -C /home/aar680/git/RIOT/sys/auto_init
    "make" -C /home/aar680/git/RIOT/sys/compat/hwtimer
    "make" -C /home/aar680/git/RIOT/sys/cpp11-compat
    "make" -C /home/aar680/git/RIOT/sys/newlib
    "make" -C /home/aar680/git/RIOT/sys/timex
    "make" -C /home/aar680/git/RIOT/sys/vtimer
       text    data     bss     dec     hex filename
      63844     128    5360   69332
    10ed4
    
/home/aar680/git/RIOT/tests/cpp11_thread/bin/stm32f4discovery/cpp11_thread.elf


    Everything builds fine. Hope this helped a bit.

    greetings
    Paul

    _______________________________________________
    devel mailing list
    [email protected] <mailto:[email protected]>
    https://lists.riot-os.org/mailman/listinfo/devel




_______________________________________________
devel mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel

_______________________________________________
devel mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to