https://sourceware.org/bugzilla/show_bug.cgi?id=29059
Bug ID: 29059 Summary: LoongArch:binutils 2.38 are not compatible with the upcoming gcc release 12 Product: binutils Version: 2.38 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: liuzhensong at loongson dot cn Target Milestone: --- LoongArch:binutils 2.38 are not compatible with the upcoming gcc release 12 Gas used to use parameter -mabi=lp64 (version 2.38), but after commit(2dbf4f28b85d07e9913105e0a93abbec8a376daa) it uses parameter -mabi=lp64d. In gcc12, the parameter -mabi=lp64d will be passed to gas. So can binutils 2.38 patched this commit? > commit 2dbf4f28b85d07e9913105e0a93abbec8a376daa > Author: liuzhensong <liuzhens...@loongson.cn> > Date: Mon Feb 21 14:28:29 2022 +0800 > > LoongArch: Update ABI eflag in elf header. > > Update LoongArch ABI eflag in elf header. > ilp32s 0x5 > ilp32f 0x6 > ilp32d 0x7 > lp64s 0x1 > lp64f 0x2 > lp64d 0x3 > > bfd/ > * elfnn-loongarch.c Check object flags while ld. > > gas/ > * tc-loongarch.c Write eflag to elf header. > > include/elf > * loongarch.h Define ABI number. -- You are receiving this mail because: You are on the CC list for the bug.