https://sourceware.org/bugzilla/show_bug.cgi?id=30867
Bug ID: 30867 Summary: merge.cc:668:27: error: ‘char16_t’ was not declared in this scope Product: binutils Version: 2.42 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: vvinayag at arm dot com CC: ian at airs dot com Target Milestone: --- When building cross toolchains (for targets: aarch64_none_linux_gnu, arm_none_linux_gnueabi) using gcc 4.8.5, the following errors are seen: /…/src/binutils-gdb/gold/merge.cc:668:27: error: ‘char16_t’ was not declared in this scope class Output_merge_string<char16_t>; ^ /…/src/binutils-gdb/gold/merge.cc:668:35: error: template argument 1 is invalid class Output_merge_string<char16_t>; ^ /…/src/binutils-gdb/gold/merge.cc:671:27: error: ‘char32_t’ was not declared in this scope class Output_merge_string<char32_t>; ^ /…/src/binutils-gdb/gold/merge.cc:671:35: error: template argument 1 is invalid class Output_merge_string<char32_t>; ^ This looks related to the patch "gold: Use char16_t, char32_t instead of uint16_t, uint32_t as character types", so I have mentioned it here too: https://sourceware.org/pipermail/binutils/2023-September/129446.html -- You are receiving this mail because: You are on the CC list for the bug.