Skip to content

Build fails if gmtime_s() or gmtime_r() are not available #1907

@RonEld

Description

@RonEld

Description

  • Type: Bug
  • Priority: Major

Bug

OS
Mbed OS
mbed TLS build:
Version: 2.12.0
Compiler and options (if you used a pre-built binary, please indicate how you obtained it): ARM Compiler
Additional environment information:

Expected behavior
build to succeed
Actual behavior
build failure:

"/tmp/H7cWpV", line 124 (column 3): Warning: L6312W: Empty Execution region description for region RW_IRAM1
Error: L6218E: Undefined symbol gmtime_r (referred from BUILD/K64F/ARM/mbed-os/features/mbedtls/src/x509.o).
Finished: 0 information, 1 warning and 1 error messages.
[ERROR] "/tmp/H7cWpV", line 124 (column 3): Warning: L6312W: Empty Execution region description for region RW_IRAM1
Error: L6218E: Undefined symbol gmtime_r (referred from BUILD/K64F/ARM/mbed-os/features/mbedtls/src/x509.o).

Steps to reproduce
build an mbed OS application, with Mbed TLS 2.12.0, using mbed-cli

This is from change introduced in 512b4ee

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