Bug 29404

Summary: Check failed on elf/tst-audit files while building for MIPS64
Product: glibc Reporter: 刘鑫 <xin.liu>
Component: buildAssignee: Not yet assigned to anyone <unassigned>
Status: UNCONFIRMED ---    
Severity: normal CC: adhemerval.zanella, carlos
Priority: P2    
Version: 2.36   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description 刘鑫 2022-07-25 09:33:49 UTC
Hi, I have encountered a problem while running make check on built binaries

...
FAIL: elf/tst-audit24a
FAIL: elf/tst-audit24b
FAIL: elf/tst-audit24c
FAIL: elf/tst-audit24d
FAIL: elf/tst-audit25a
FAIL: elf/tst-audit25b
...

These files were committed by this commit hash
32612615c58b394c3eb09f020f31310797ad3854
elf: Issue la_symbind for bind-now (BZ #23734)

Can you check these files for me, the binaries were built under a MIPS based system without any additional arguments.
Comment 1 Adhemerval Zanella 2022-07-25 15:27:53 UTC
I think the issue is generic code only handles jump slot dynamic relocations, while MIPS usually use packed-relocations.  I think we will need to add an arch-specific code to handle the MIPS case.
Comment 2 Sourceware Commits 2024-07-12 16:50:04 UTC
The master branch has been updated by Andreas K. Huttel <dilfridge@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ef7005628f24afaf66cfcdeaac47a57b41177467

commit ef7005628f24afaf66cfcdeaac47a57b41177467
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Fri Jul 12 18:36:44 2024 +0200

    tests: XFAIL audit tests failing on all mips configurations, bug 29404
    
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>