Skip to content

RTEMS example toolchain file incompatible with current PSP #573

@jphickey

Description

@jphickey

Describe the bug
The example toolchain-i686-rtems4.11.cmake file is no longer compatible with the RTEMS module within the PSP.

CMake fails to configure, I get output as follows:

CMake Error at /usr/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message):
  The C compiler

    "/home/joe/rtems-4.11/bin/i386-rtems4.11-gcc"

  is not able to compile a simple test program.

To Reproduce
Build using example toolchain file from sample_defs with unmodified PSP, adjusting only for local installation paths (RTEMS_BSP_TOP).

Expected behavior
Build should succeed.

System observed on:
Ubuntu 18.04 LTS 64-bit (build host) building for i686-rtems4.11

Additional context
Failures is related to the "specs" options on the compiler. The toolchain file and RTEMS module in the PSP got out of sync somewhere along the development path.

Reporter Info
Joseph Hickey, Vantage Systems, Inc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions