From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 865 invoked by alias); 15 Nov 2018 08:48:47 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 791 invoked by uid 48); 15 Nov 2018 08:48:41 -0000 From: "mliska at suse dot cz" To: elfutils-devel@sourceware.org Subject: =?UTF-8?B?W0J1ZyBsaWJlbGYvMjM4ODRdIE5ldzogZXJyb3I6IOKAmF9fZWxmMzJfbXNp?= =?UTF-8?B?emXigJkgc3BlY2lmaWVzIGxlc3MgcmVzdHJpY3RpdmUgYXR0cmlidXRlIHRo?= =?UTF-8?B?YW4gaXRzIHRhcmdldCDigJhlbGYzMl9mc2l6ZeKAmTog4oCYY29uc3TigJkg?= =?UTF-8?B?Wy1XZXJyb3I9bWlzc2luZy1hdHRyaWJ1dGVzXQ==?= Date: Thu, 15 Nov 2018 08:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: libelf X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mliska at suse dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-q4/txt/msg00132.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D23884 Bug ID: 23884 Summary: error: =E2=80=98__elf32_msize=E2=80=99 specifies less r= estrictive attribute than its target =E2=80=98elf32_fsize=E2=80=99= : =E2=80=98const=E2=80=99 [-Werror=3Dmissing-attributes] Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: libelf Assignee: unassigned at sourceware dot org Reporter: mliska at suse dot cz CC: elfutils-devel at sourceware dot org Target Milestone: --- It's a new warning that comes with recent GCC 9: $ make V=3D1 make --no-print-directory all-recursive Making all in config make[2]: Nothing to be done for 'all'. Making all in m4 make[2]: Nothing to be done for 'all'. Making all in lib make[2]: Nothing to be done for 'all'. Making all in libelf gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR=3D'"/usr/local/share/locale"'= -I. -I.. -I. -I. -I../lib -I.. -std=3Dgnu99 -Wall -Wshadow -Wformat=3D2 -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=3D5 -Werror -Wunused -Wextra -Wstack-usage=3D262144 -D_FORTIFY_SOURCE=3D2 -g -O2 -MT elf32_fsize.o -M= D -MP -MF .deps/elf32_fsize.Tpo -c -o elf32_fsize.o elf32_fsize.c In file included from ../config.h:134, from elf32_fsize.c:31: libelfP.h:47:30: error: =E2=80=98__elf32_msize=E2=80=99 specifies less rest= rictive attribute than its target =E2=80=98elf32_fsize=E2=80=99: =E2=80=98const=E2=80=99 [-We= rror=3Dmissing-attributes] 47 | #define __elfw2_(Bits, Name) __elf##Bits##_##Name | ^~~~~ ../lib/eu-config.h:60:26: note: in definition of macro =E2=80=98strong_alia= s=E2=80=99 60 | extern __typeof (name) aliasname __attribute__ ((alias (#name))); | ^~~~~~~~~ elf32_fsize.c:68:1: note: in expansion of macro =E2=80=98local_strong_alias= =E2=80=99 68 | local_strong_alias (elfw2(LIBELFBITS, fsize), __elfw2(LIBELFBITS, msize)) | ^~~~~~~~~~~~~~~~~~ libelfP.h:52:29: note: in expansion of macro =E2=80=98__elfw2_=E2=80=99 52 | #define __elfw2(Bits, Name) __elfw2_(Bits, Name) | ^~~~~~~~ elf32_fsize.c:68:47: note: in expansion of macro =E2=80=98__elfw2=E2=80=99 68 | local_strong_alias (elfw2(LIBELFBITS, fsize), __elfw2(LIBELFBITS, msize)) | ^~~~~~~ In file included from elf32_fsize.c:35: libelfP.h:48:28: note: =E2=80=98__elf32_msize=E2=80=99 target declared here 48 | #define elfw2_(Bits, Name) elf##Bits##_##Name | ^~~ libelfP.h:53:27: note: in expansion of macro =E2=80=98elfw2_=E2=80=99 53 | #define elfw2(Bits, Name) elfw2_(Bits, Name) | ^~~~~~ elf32_fsize.c:43:1: note: in expansion of macro =E2=80=98elfw2=E2=80=99 43 | elfw2(LIBELFBITS, fsize) (Elf_Type type, size_t count, unsigned int version) | ^~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:786: elf32_fsize.o] Error 1 make[1]: *** [Makefile:485: all-recursive] Error 1 make: *** [Makefile:401: all] Error 2 --=20 You are receiving this mail because: You are on the CC list for the bug.