Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Bernd Kuhls <bernd@kuhls.net>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/2] package/alsa-lib: bump version to 1.2.10
Date: Sun, 24 Sep 2023 12:36:14 +0200	[thread overview]
Message-ID: <20230924103614.GM1469982@scaer> (raw)
In-Reply-To: <20230923114713.1466381-1-bernd@kuhls.net>

Bernd, All,

On 2023-09-23 13:47 +0200, Bernd Kuhls spake thusly:
> Removed patch which is included in this release:
> https://github.com/alsa-project/alsa-lib/commit/c72bbed82513074fb5f0d474c7e88e2b4b945905
> 
> Changelog:
> https://www.alsa-project.org/wiki/Changes_v1.2.9_v1.2.10#alsa-lib
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Both applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  ...ver-build-error-on-non-ELF-platforms.patch | 84 -------------------
>  package/alsa-lib/alsa-lib.hash                |  2 +-
>  package/alsa-lib/alsa-lib.mk                  |  2 +-
>  3 files changed, 2 insertions(+), 86 deletions(-)
>  delete mode 100644 package/alsa-lib/0002-Fix-symver-build-error-on-non-ELF-platforms.patch
> 
> diff --git a/package/alsa-lib/0002-Fix-symver-build-error-on-non-ELF-platforms.patch b/package/alsa-lib/0002-Fix-symver-build-error-on-non-ELF-platforms.patch
> deleted file mode 100644
> index 499bbb2ae4..0000000000
> --- a/package/alsa-lib/0002-Fix-symver-build-error-on-non-ELF-platforms.patch
> +++ /dev/null
> @@ -1,84 +0,0 @@
> -From 317aafb133ed797c4cd62599565a77ecc595daea Mon Sep 17 00:00:00 2001
> -From: Bernd Kuhls <bernd@kuhls.net>
> -Date: Thu, 29 Jun 2023 07:57:21 +0200
> -Subject: [PATCH] Fix symver build error on non-ELF platforms
> -
> -The following error is observed on Microblaze [1] build:
> -
> -    error: symver is only supported on ELF platforms
> -
> -due to using __attribute__((symver)) on non-ELF platform.
> -
> -[1] http://autobuild.buildroot.net/results/1e9/1e965d83d75615f35308440c5db044314a349357/build-end.log
> -
> -ac_check_attribute_symver.m4 was downloaded from
> -https://github.com/smuellerDD/libkcapi/blob/master/m4/ac_check_attribute_symver.m4
> -
> -Upstream: https://github.com/alsa-project/alsa-lib/pull/334
> -
> -Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ----
> - configure.ac                    |  1 +
> - include/alsa-symbols.h          |  2 +-
> - m4/ac_check_attribute_symver.m4 | 24 ++++++++++++++++++++++++
> - 3 files changed, 26 insertions(+), 1 deletion(-)
> - create mode 100644 m4/ac_check_attribute_symver.m4
> -
> -diff --git a/configure.ac b/configure.ac
> -index 0588eec3..71ec0b15 100644
> ---- a/configure.ac
> -+++ b/configure.ac
> -@@ -46,6 +46,7 @@ dnl Checks for typedefs, structures, and compiler characteristics.
> - AC_C_CONST
> - AC_C_INLINE
> - AC_HEADER_TIME
> -+AC_CHECK_ATTRIBUTE_SYMVER
> - 
> - dnl Checks for library functions.
> - AC_PROG_GCC_TRADITIONAL
> -diff --git a/include/alsa-symbols.h b/include/alsa-symbols.h
> -index f8c49103..521e5956 100644
> ---- a/include/alsa-symbols.h
> -+++ b/include/alsa-symbols.h
> -@@ -29,7 +29,7 @@
> - #define INTERNAL_CONCAT2_2(Pre, Post) Pre##Post
> - #define INTERNAL(Name) INTERNAL_CONCAT2_2(__, Name)
> - 
> --#if __GNUC__ > 10
> -+#if HAVE_ATTRIBUTE_SYMVER && __GNUC__ > 10
> - #define symbol_version(real, name, version) \
> - 	extern __typeof (real) real __attribute__((symver (#name "@" #version)))
> - #define default_symbol_version(real, name, version) \
> -diff --git a/m4/ac_check_attribute_symver.m4 b/m4/ac_check_attribute_symver.m4
> -new file mode 100644
> -index 00000000..b484c5eb
> ---- /dev/null
> -+++ b/m4/ac_check_attribute_symver.m4
> -@@ -0,0 +1,24 @@
> -+dnl Check compiler support for symver function attribute
> -+AC_DEFUN([AC_CHECK_ATTRIBUTE_SYMVER], [
> -+	saved_CFLAGS=$CFLAGS
> -+	CFLAGS="-O0 -Werror"
> -+	AC_COMPILE_IFELSE(
> -+		[AC_LANG_PROGRAM(
> -+			[[
> -+				void _test_attribute_symver(void);
> -+				__attribute__((__symver__("sym@VER_1.2.3"))) void _test_attribute_symver(void) {}
> -+			]],
> -+			[[ 
> -+				_test_attribute_symver()
> -+			]]
> -+		)],
> -+		[
> -+			AC_DEFINE([HAVE_ATTRIBUTE_SYMVER], 1, [Define to 1 if __attribute__((symver)) is supported])
> -+		],
> -+		[
> -+			AC_DEFINE([HAVE_ATTRIBUTE_SYMVER], 0, [Define to 0 if __attribute__((symver)) is not supported])
> -+		]
> -+	)
> -+	CFLAGS=$saved_CFLAGS
> -+])
> -+
> --- 
> -2.39.2
> -
> diff --git a/package/alsa-lib/alsa-lib.hash b/package/alsa-lib/alsa-lib.hash
> index f6735cd540..a6d9c7dbdc 100644
> --- a/package/alsa-lib/alsa-lib.hash
> +++ b/package/alsa-lib/alsa-lib.hash
> @@ -1,4 +1,4 @@
>  # Locally calculated
> -sha256  dc9c643fdc4ccfd0572cc685858dd41e08afb583f30460b317e4188275f615b2  alsa-lib-1.2.9.tar.bz2
> +sha256  c86a45a846331b1b0aa6e6be100be2a7aef92efd405cf6bac7eef8174baa920e  alsa-lib-1.2.10.tar.bz2
>  sha256  32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b  COPYING
>  sha256  bfe16cf823bcff261fc6a062c07ee96660e3c39678f42f39a788a68dbc234ced  aserver/COPYING
> diff --git a/package/alsa-lib/alsa-lib.mk b/package/alsa-lib/alsa-lib.mk
> index 70f4c969d5..5dfcd1e861 100644
> --- a/package/alsa-lib/alsa-lib.mk
> +++ b/package/alsa-lib/alsa-lib.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -ALSA_LIB_VERSION = 1.2.9
> +ALSA_LIB_VERSION = 1.2.10
>  ALSA_LIB_SOURCE = alsa-lib-$(ALSA_LIB_VERSION).tar.bz2
>  ALSA_LIB_SITE = https://www.alsa-project.org/files/pub/lib
>  ALSA_LIB_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (aserver)
> -- 
> 2.39.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      parent reply	other threads:[~2023-09-24 10:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-23 11:47 [Buildroot] [PATCH 1/2] package/alsa-lib: bump version to 1.2.10 Bernd Kuhls
2023-09-23 11:47 ` [Buildroot] [PATCH 2/2] package/alsa-utils: " Bernd Kuhls
2023-09-30 12:49   ` Thomas Petazzoni via buildroot
     [not found]   ` <20230930144927.57fe951f__30987.6495086186$1696078194$gmane$org@windsurf>
2023-09-30 13:01     ` Bernd Kuhls
2023-10-13 19:48       ` Bernd Kuhls
2023-09-24 10:36 ` Yann E. MORIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230924103614.GM1469982@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=bernd@kuhls.net \
    --cc=buildroot@buildroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox