Skip to content

Mbed test linker Errors - IAR8 #5387

@deepikabhavnani

Description

@deepikabhavnani

Mbed test build fails on IAR8 feature branch with below error, refer PR #5329 for more information:


        Link: heap_and_stack
        [DEBUG] Link: /usr/local/iccarm-8.20.1.57/bin/ilinkarm -f /builds/ws/mbed-os-build-matrix/341/KL25Z_IAR8/sources/mbed-os/BUILD/tests/KL25Z/IAR/./TESTS/mbedmicro-rtos-mbed/heap_and_stack/.link_files.txt
        [DEBUG] Return: 2
        [DEBUG] Output: 
        [DEBUG] Output:    IAR ELF Linker V8.20.1.57/LNX for ARM
        [DEBUG] Output:    Copyright 2007-2017 IAR Systems AB.
        [DEBUG] Output: 
        [DEBUG] Output:   32 576 bytes of readonly  code memory
        [DEBUG] Output:    1 880 bytes of readonly  data memory
        [DEBUG] Output:   16 243 bytes of readwrite data memory
        [DEBUG] Output: 
        [DEBUG] Output: Errors: 1
        [DEBUG] Output: Warnings: none
        [DEBUG] Output: 
        [DEBUG] Output: Link time:   0.17 (CPU)   1.00 (elapsed)
        [DEBUG] Errors: Error[Lp011]: section placement failed
        [DEBUG] Errors:             unable to place sections/blocks with a total estimated minimum size
        [DEBUG] Errors:                       of 0xf4 bytes (the smallest of which is Section
        [DEBUG] Errors:                       .bss.os.msgqueue.cb (rtx_lib.o #11) (min size 0x34, align
        [DEBUG] Errors:                       0x4) in: <[0x000000c0-0x000003ff],
        [DEBUG] Errors:                       [0x00008920-0x0001ffff], [0x1ffff31c-0x1ffff31f],
        [DEBUG] Errors:                       [0x200029c0-0x20002fff]>

Description

  • Type: Bug
  • Priority: Blocker

Target
KL25Z and KL46Z

Toolchain:
IAR8.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions