[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/26585] New: gold: call to deprecated mallinfo raises -Werror=d
From: |
msc at linux dot ibm.com |
Subject: |
[Bug gold/26585] New: gold: call to deprecated mallinfo raises -Werror=deprecated-declarations with latest glibc |
Date: |
Tue, 08 Sep 2020 13:43:22 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26585
Bug ID: 26585
Summary: gold: call to deprecated mallinfo raises
-Werror=deprecated-declarations with latest glibc
Product: binutils
Version: 2.36 (HEAD)
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: msc at linux dot ibm.com
CC: ian at airs dot com
Target Milestone: ---
glibc recently deprecated mallinfo and introduced mallinfo2 instead:
https://sourceware.org/git/?p=glibc.git;a=commit;h=e3960d1c57e57f33e0e846d615788f4ede73b945
https://sourceware.org/git/?p=glibc.git;a=commit;h=30e5069c7d4b51288d3e6f75f53a6ad2f5e71b0f
Building binutils with latest glibc causes issues while compiling gold:
/home/tcbot/bot-slave/at/src/at14.0-0.redhat-8_ppc64le_ppc64le/sources/binutils/gold/main.cc:
In function ‘int main(int, char**)’:
/home/tcbot/bot-slave/at/src/at14.0-0.redhat-8_ppc64le_ppc64le/sources/binutils/gold/main.cc:294:36:
error: ‘mallinfo mallinfo()’ is deprecated [-Werror=deprecated-declarations]
294 | struct mallinfo m = mallinfo();
| ^
In file included from
/home/tcbot/bot-slave/at/src/at14.0-0.redhat-8_ppc64le_ppc64le/sources/binutils/gold/main.cc:29:
/home/tcbot/bot-slave/at_opt/at14.0/include/malloc.h:118:24: note: declared
here
118 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
| ^~~~~~~~
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gold/26585] New: gold: call to deprecated mallinfo raises -Werror=deprecated-declarations with latest glibc,
msc at linux dot ibm.com <=