[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <511d385675ea7a846ff791974c6ae7feeeec2589.camel@xry111.site>
Date: Wed, 15 Feb 2023 13:35:56 +0800
From: Xi Ruoyao <xry111@...111.site>
To: Youling Tang <tangyouling@...ngson.cn>
Cc: loongarch@...ts.linux.dev, Huacai Chen <chenhuacai@...nel.org>,
WANG Xuerui <kernel@...0n.name>, linux-kernel@...r.kernel.org
Subject: Re: "kernel ade access" oops on LoongArch
On Wed, 2023-02-15 at 12:52 +0800, Youling Tang wrote:
> ../stdlib/stdlib.h:141:8: error: ‘_Float32’ does not name a type
> 141 | extern _Float32 strtof32 (const char *__restrict __nptr,
> | ^~~~~~~~
This is because Glibc expects GCC 13 to support _Float32, but early GCC
13 snapshots did not.
> /usr/bin/ld: /home/loongson/build_glibc/libc.a(dl-reloc-static-pie.o):
> in function `_dl_relocate_static_pie':
> /home/loongson/glibc/elf/dl-reloc-static-pie.c:44: undefined reference
> to `_DYNAMIC'
Oh, this one is my fault. The check for compiler static PIE support was
not written correctly. I'll fix it for Glibc later, but now you can
update GCC to the latest git master to proceed.
--
Xi Ruoyao <xry111@...111.site>
School of Aerospace Science and Technology, Xidian University
Powered by blists - more mailing lists