Bug 29404 - Check failed on elf/tst-audit files while building for MIPS64
Summary: Check failed on elf/tst-audit files while building for MIPS64
Status: UNCONFIRMED
Alias: None
Product: glibc
Classification: Unclassified
Component: build (show other bugs)
Version: 2.36
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-25 09:33 UTC by 刘鑫
Modified: 2024-07-12 16:50 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>