diff options
| author | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-06-03 14:32:36 +0000 |
|---|---|---|
| committer | Woodpecker CI <emmett1.2miligrams@protonmail.com> | 2025-06-03 14:32:36 +0000 |
| commit | 93a354611e38a6949add5c2e5ccc93ef79b9755f (patch) | |
| tree | 7fee41752b1047d74c59f8ee046cd62735e7e934 /elfutils | |
| parent | 35912580b66e9439f91ea441938828ad8aa33b0d (diff) | |
| download | alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip | |
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'elfutils')
| -rw-r--r-- | elfutils/.checksum | 2 | ||||
| -rw-r--r-- | elfutils/.files | 86 | ||||
| -rw-r--r-- | elfutils/abuild | 29 | ||||
| -rw-r--r-- | elfutils/musl.patch | 57 |
4 files changed, 174 insertions, 0 deletions
diff --git a/elfutils/.checksum b/elfutils/.checksum new file mode 100644 index 00000000..8d25aea5 --- /dev/null +++ b/elfutils/.checksum @@ -0,0 +1,2 @@ +c540dfc59d05c714b5e1d7893d514fc051f01814d1b01fc5e6fee811f5b7412b elfutils-0.193.tar.bz2 +0ada89a5aa9138f6e425b5270535058df9661d0ed99ac56318460d3720f2ead8 musl.patch diff --git a/elfutils/.files b/elfutils/.files new file mode 100644 index 00000000..fffa83d2 --- /dev/null +++ b/elfutils/.files @@ -0,0 +1,86 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/dwarf.h +drwxr-xr-x root/root usr/include/elfutils/ +-rw-r--r-- root/root usr/include/elfutils/elf-knowledge.h +-rw-r--r-- root/root usr/include/elfutils/known-dwarf.h +-rw-r--r-- root/root usr/include/elfutils/libasm.h +-rw-r--r-- root/root usr/include/elfutils/libdw.h +-rw-r--r-- root/root usr/include/elfutils/libdwelf.h +-rw-r--r-- root/root usr/include/elfutils/libdwfl.h +-rw-r--r-- root/root usr/include/elfutils/libdwfl_stacktrace.h +-rw-r--r-- root/root usr/include/elfutils/version.h +-rw-r--r-- root/root usr/include/gelf.h +-rw-r--r-- root/root usr/include/libelf.h +-rw-r--r-- root/root usr/include/nlist.h +drwxr-xr-x root/root usr/lib/ +-rwxr-xr-x root/root usr/lib/libasm-0.193.so +lrwxrwxrwx root/root usr/lib/libasm.so -> libasm.so.1 +lrwxrwxrwx root/root usr/lib/libasm.so.1 -> libasm-0.193.so +-rwxr-xr-x root/root usr/lib/libdw-0.193.so +lrwxrwxrwx root/root usr/lib/libdw.so -> libdw.so.1 +lrwxrwxrwx root/root usr/lib/libdw.so.1 -> libdw-0.193.so +-rwxr-xr-x root/root usr/lib/libelf-0.193.so +lrwxrwxrwx root/root usr/lib/libelf.so -> libelf.so.1 +lrwxrwxrwx root/root usr/lib/libelf.so.1 -> libelf-0.193.so +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libdw.pc +-rw-r--r-- root/root usr/lib/pkgconfig/libelf.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/debuginfod-find.1.gz +-rw-r--r-- root/root usr/share/man/man1/eu-elfclassify.1.gz +-rw-r--r-- root/root usr/share/man/man1/eu-readelf.1.gz +-rw-r--r-- root/root usr/share/man/man1/eu-srcfiles.1.gz +drwxr-xr-x root/root usr/share/man/man3/ +-rw-r--r-- root/root usr/share/man/man3/debuginfod_add_http_header.3.gz +-rw-r--r-- root/root usr/share/man/man3/debuginfod_begin.3.gz +-rw-r--r-- root/root usr/share/man/man3/debuginfod_end.3.gz +-rw-r--r-- root/root usr/share/man/man3/debuginfod_find_debuginfo.3.gz +-rw-r--r-- root/root usr/share/man/man3/debuginfod_find_executable.3.gz +-rw-r--r-- root/root usr/share/man/man3/debuginfod_find_metadata.3.gz +-rw-r--r-- root/root usr/share/man/man3/debuginfod_find_section.3.gz +-rw-r--r-- root/root usr/share/man/man3/debuginfod_find_source.3.gz +-rw-r--r-- root/root usr/share/man/man3/debuginfod_get_url.3.gz +-rw-r--r-- root/root usr/share/man/man3/debuginfod_get_user_data.3.gz +-rw-r--r-- root/root usr/share/man/man3/debuginfod_set_progressfn.3.gz +-rw-r--r-- root/root usr/share/man/man3/debuginfod_set_user_data.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf32_checksum.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf32_fsize.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf32_getchdr.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf32_getehdr.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf32_getphdr.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf32_getshdr.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf32_newehdr.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf32_newphdr.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf32_offscn.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf32_xlatetof.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf32_xlatetom.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf64_checksum.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf64_fsize.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf64_getchdr.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf64_getehdr.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf64_getphdr.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf64_getshdr.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf64_newehdr.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf64_newphdr.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf64_offscn.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf64_xlatetof.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf64_xlatetom.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf_begin.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf_clone.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf_errmsg.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf_errno.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf_getdata.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf_getscn.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf_ndxscn.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf_update.3.gz +-rw-r--r-- root/root usr/share/man/man3/elf_version.3.gz +-rw-r--r-- root/root usr/share/man/man3/libelf.3.gz +drwxr-xr-x root/root usr/share/man/man7/ +-rw-r--r-- root/root usr/share/man/man7/debuginfod-client-config.7.gz +drwxr-xr-x root/root usr/share/man/man8/ +-rw-r--r-- root/root usr/share/man/man8/debuginfod.8.gz +-rw-r--r-- root/root usr/share/man/man8/debuginfod.service.8.gz diff --git a/elfutils/abuild b/elfutils/abuild new file mode 100644 index 00000000..404e0ac3 --- /dev/null +++ b/elfutils/abuild @@ -0,0 +1,29 @@ +name=elfutils +version=0.193 +release=1 +source="https://sourceware.org/ftp/$name/$version/$name-$version.tar.bz2 + musl.patch" + +build() { + # get from KISS + + LDFLAGS="-Wl,--undefined-version $LDFLAGS" \ + ./configure \ + --prefix=/usr \ + --disable-symbol-versioning \ + --disable-debuginfod \ + --disable-libdebuginfod \ + --without-zstd \ + ac_cv_c99=yes # Override check for Clang. + + # Utility functions that need argp and fts, not strictly necessary + # for the library to function + :>libdwfl/argp-std.c + :>libdwfl/linux-kernel-modules.c + + # Useless stuff + printf '%s\n' "all:" "install:" > src/Makefile + + make + make install +} diff --git a/elfutils/musl.patch b/elfutils/musl.patch new file mode 100644 index 00000000..e416086c --- /dev/null +++ b/elfutils/musl.patch @@ -0,0 +1,57 @@ +diff --git a/configure b/configure +index b8cc5fd..9776163 100755 +--- a/configure ++++ b/configure +@@ -9681,7 +9681,7 @@ LIBS="$saved_LIBS" + case "$ac_cv_search_argp_parse" in + no) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 + printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} +-as_fn_error $? "failed to find argp_parse ++: $? "failed to find argp_parse + See 'config.log' for more details" "$LINENO" 5; } ;; + -l*) argp_LDADD="$ac_cv_search_argp_parse" ;; + *) argp_LDADD= ;; +@@ -9760,7 +9760,7 @@ LIBS="$saved_LIBS" + case "$ac_cv_search_fts_close" in + no) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 + printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} +-as_fn_error $? "failed to find fts_close ++: $? "failed to find fts_close + See 'config.log' for more details" "$LINENO" 5; } ;; + -l*) fts_LIBS="$ac_cv_search_fts_close" ;; + *) fts_LIBS= ;; +@@ -9839,7 +9839,7 @@ LIBS="$saved_LIBS" + case "$ac_cv_search__obstack_free" in + no) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5 + printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;} +-as_fn_error $? "failed to find _obstack_free ++: $? "failed to find _obstack_free + See 'config.log' for more details" "$LINENO" 5; } ;; + -l*) obstack_LIBS="$ac_cv_search__obstack_free" ;; + *) obstack_LIBS= ;; +diff --git a/lib/Makefile.in b/lib/Makefile.in +index d015ff8..72cd8b1 100644 +--- a/lib/Makefile.in ++++ b/lib/Makefile.in +@@ -121,7 +121,7 @@ libeu_a_LIBADD = + am_libeu_a_OBJECTS = xasprintf.$(OBJEXT) xstrdup.$(OBJEXT) \ + xstrndup.$(OBJEXT) xmalloc.$(OBJEXT) next_prime.$(OBJEXT) \ + crc32.$(OBJEXT) crc32_file.$(OBJEXT) eu-search.$(OBJEXT) \ +- color.$(OBJEXT) error.$(OBJEXT) printversion.$(OBJEXT) ++ error.$(OBJEXT) + libeu_a_OBJECTS = $(am_libeu_a_OBJECTS) + AM_V_P = $(am__v_P_@AM_V@) + am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +@@ -427,10 +427,10 @@ textrel_check = if $(READELF) -d $@ | grep -F -q TEXTREL; then $(textrel_found); + noinst_LIBRARIES = libeu.a + libeu_a_SOURCES = xasprintf.c xstrdup.c xstrndup.c xmalloc.c next_prime.c \ + crc32.c crc32_file.c eu-search.c \ +- color.c error.c printversion.c ++ error.c + + noinst_HEADERS = fixedsizehash.h libeu.h system.h dynamicsizehash.h list.h \ +- eu-config.h color.h printversion.h bpf.h \ ++ eu-config.h bpf.h \ + dynamicsizehash_concurrent.h \ + eu-search.h locks.h + |