Browse Source
"-fshort-enums" changes the ABI. It's not enabled for gcc, so it's not clear why it's enabled for clang (only ARM) and armclang, other than it looks like some users of these toolchains may be linking against code that is compiled with "-fshort-enums". As an example, when compiling with clang, CONFIG_LTO, and a toolchain built without "-fshort-enums", the linker warns: ld.lld: error: linking module flags 'min_enum_size': IDs have conflicting values in '/usr/armv7m-cros-eabi/usr/lib/libc++_static.a(string.cpp.o at 784090)' and 'ld-temp.o' Signed-off-by: Tom Hughes <tomhughes@chromium.org>pull/85392/head
2 changed files with 0 additions and 11 deletions
Loading…
Reference in new issue