FreeBSD Bugzilla – Attachment 205449 Details for
Bug 238538
devel/elfutils: fails to build with GCC 9+: libelfP.h:47:30: error: '__elf32_msize' specifies less restrictive attribute
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
elfutils.diff
elfutils.diff (text/plain), 1.97 KB, created by
Tobias Kortkamp
on 2019-07-01 08:26:27 UTC
(
hide
)
Description:
elfutils.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2019-07-01 08:26:27 UTC
Size:
1.97 KB
patch
obsolete
>Index: devel/elfutils/files/patch-git_be8080bdd746 >=================================================================== >--- devel/elfutils/files/patch-git_be8080bdd746 (nonexistent) >+++ devel/elfutils/files/patch-git_be8080bdd746 (working copy) >@@ -0,0 +1,32 @@ >+diff --git libelf/elf32_fsize.c libelf/elf32_fsize.c >+index fddae91e..16919daa 100644 >+--- libelf/elf32_fsize.c >++++ libelf/elf32_fsize.c >+@@ -64,5 +64,3 @@ elfw2(LIBELFBITS, fsize) (Elf_Type type, size_t count, unsigned int version) >+ * __libelf_type_sizes[0][ELFW(ELFCLASS,LIBELFBITS) - 1][type]); >+ #endif >+ } >+-#define local_strong_alias(n1, n2) strong_alias (n1, n2) >+-local_strong_alias (elfw2(LIBELFBITS, fsize), __elfw2(LIBELFBITS, msize)) >+diff --git libelf/libelfP.h libelf/libelfP.h >+index ed216c8c..c6bb992d 100644 >+--- libelf/libelfP.h >++++ libelf/libelfP.h >+@@ -454,17 +454,6 @@ extern const uint_fast8_t __libelf_type_aligns[EV_NUM - 1][ELFCLASSNUM - 1][ELF_ >+ be ELF_T_BYTE. */ >+ extern Elf_Type __libelf_data_type (Elf *elf, int sh_type) internal_function; >+ >+-/* The libelf API does not have such a function but it is still useful. >+- Get the memory size for the given type. >+- >+- These functions cannot be marked internal since they are aliases >+- of the export elfXX_fsize functions.*/ >+-extern size_t __elf32_msize (Elf_Type __type, size_t __count, >+- unsigned int __version); >+-extern size_t __elf64_msize (Elf_Type __type, size_t __count, >+- unsigned int __version); >+- >+- >+ /* Create Elf descriptor from memory image. */ >+ extern Elf *__libelf_read_mmaped_file (int fildes, void *map_address, >+ off_t offset, size_t maxsize, > >Property changes on: devel/elfutils/files/patch-git_be8080bdd746 >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
tobik
:
maintainer-approval?
(
cem
)
Actions:
View
|
Diff
Attachments on
bug 238538
: 205449