mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
Fix conform linknamespace tests due to gnu_dev_makedev
If building on s390 / i686 with -Os, various conformance tests are failing with e.g. conform/ISO/assert.h/linknamespace.out: [initial] __assert_fail -> [libc.a(assert.o)] __dcgettext -> [libc.a(dcgettext.o)] __dcigettext -> [libc.a(dcigettext.o)] __getcwd -> [libc.a(getcwd.o)] __fstatat64 -> [libc.a(fstatat64.o)] gnu_dev_makedev The usage of gnu_dev_makedev was recently introduced by usage of the makedev makro in commit:5b980d4809
linux: Use statx for MIPSn64 This patch is now linking against __gnu_dev_makedev as also done in commit:8b4a118222
Fix -Os gnu_dev_* linknamespace, localplt issues (bug 15105, bug 19463).
This commit is contained in:
parent
4d8d70d301
commit
18f0afa848
@ -53,8 +53,8 @@ fstatat64_time64_statx (int fd, const char *file, struct __stat64_t64 *buf,
|
||||
return r;
|
||||
|
||||
*buf = (struct __stat64_t64) {
|
||||
.st_dev = makedev (tmp.stx_dev_major, tmp.stx_dev_minor),
|
||||
.st_rdev = makedev (tmp.stx_rdev_major, tmp.stx_rdev_minor),
|
||||
.st_dev = __gnu_dev_makedev (tmp.stx_dev_major, tmp.stx_dev_minor),
|
||||
.st_rdev = __gnu_dev_makedev (tmp.stx_rdev_major, tmp.stx_rdev_minor),
|
||||
.st_ino = tmp.stx_ino,
|
||||
.st_mode = tmp.stx_mode,
|
||||
.st_nlink = tmp.stx_nlink,
|
||||
|
Loading…
Reference in New Issue
Block a user