Hi,

I'm sure in a loongarch64 glibc  don't  has these functions . We can find the libc.abilist file in the glibc  source code .

I found no __fxstat in loongarch

eg:```

➜  glibc git:(master) cat ./sysdeps/unix/sysv/linux/x86_64/64/libc.abilist |grep __fx
GLIBC_2.2.5 __fxstat F
GLIBC_2.2.5 __fxstat64 F
GLIBC_2.4 __fxstatat F
GLIBC_2.4 __fxstatat64 F
➜  glibc git:(master) cat ./sysdeps/unix/sysv/linux/loongarch/lp64/libc.abilist|grep __fx
```

在 2023/5/30 20:23, Richard Purdie 写道:
On Tue, 2023-05-30 at 19:33 +0800, [email protected] wrote:
From: JiaLing Zhang <[email protected]>

Fixes [YOCTO #15110]

Some functions used in the project have been removed from glibc. After the 
removal of these functions,
the architecture in glibc will not include the removed functions.
This patch resolves the usage and compilation issues on the loongarch64 
architecture
Whilst this might make things compile, I'm not convinced this is right.
I suspect that with this patch applied, you'd miss intercepting some
function calls that need intercepting.

As far as I can tell, the __fxstat64() function and friends should
exist even on a new architecture like loongarch64. Are you sure these
don't exist in a loongarch64 glibc?

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#181991): 
https://lists.openembedded.org/g/openembedded-core/message/181991
Mute This Topic: https://lists.openembedded.org/mt/99217464/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to