Skip to content

clang/clang++ multi-lib selection: prefer no rtti, no exceptions variant for clang #449

@JoshuaYonathan

Description

@JoshuaYonathan

Hello,

When I run the following command:
clang -print-multi-directory --target=arm-none-eabi -march=armv7e-m -mfloat-abi=hard -mfpu=fpv5-d16

I expect the output:
arm-none-eabi/armv7em_hard_fpv5_d16

However, I get the output:
arm-none-eabi/armv7em_hard_fpv5_d16_exn_rtti

Adding the -fno-rtti -fno-exceptions flags gets me the output I expect, but wouldn't it be the correct behavior to select the non-exn_rtti libs when invoking clang and not clang++?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions