From: Nathan Chancellor <nathan@kernel.org>
To: "Thomas Weißschuh" <linux@weissschuh.net>
Cc: Christian Heusel <christian@heusel.eu>,
Nicolas Schier <nsc@kernel.org>,
linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] kbuild: pacman-pkg: package unstripped vDSO libraries
Date: Thu, 19 Mar 2026 15:30:00 -0700 [thread overview]
Message-ID: <20260319223000.GA1282459@ax162> (raw)
In-Reply-To: <20260318-kbuild-pacman-vdso-install-v1-1-48ceb31c0e80@weissschuh.net>
On Wed, Mar 18, 2026 at 09:37:20PM +0100, Thomas Weißschuh wrote:
> The unstripped vDSO files are useful for debugging.
> They are provided in the upstream 'linux-headers' package.
>
> Also package them as part of 'make pacman-pkg'.
> Make them part of the '-debug' package, as they fit there best.
> This differs from the upstream package as that has no '-debug' variant.
>
> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Seems reasonable to me.
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
> ---
> In my opinion the same would be useful for debian and rpm packages.
> Maybe we should have install-extmod-debug, similar to
> install-extmod-build, to centralize these.
> ---
> scripts/package/PKGBUILD | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/scripts/package/PKGBUILD b/scripts/package/PKGBUILD
> index 452374d63c24..b1d0c8a9f030 100644
> --- a/scripts/package/PKGBUILD
> +++ b/scripts/package/PKGBUILD
> @@ -121,6 +121,9 @@ _package-debug(){
> install -Dt "${debugdir}" -m644 vmlinux
> mkdir -p "${builddir}"
> ln -sr "${debugdir}/vmlinux" "${builddir}/vmlinux"
> +
> + echo "Installing unstripped vDSO(s)..."
> + ${MAKE} INSTALL_MOD_PATH="${pkgdir}/usr" vdso_install
> }
>
> for _p in "${pkgname[@]}"; do
>
> ---
> base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
> change-id: 20260318-kbuild-pacman-vdso-install-1a81a947b27a
>
> Best regards,
> --
> Thomas Weißschuh <linux@weissschuh.net>
>
next prev parent reply other threads:[~2026-03-19 22:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-18 20:37 [PATCH] kbuild: pacman-pkg: package unstripped vDSO libraries Thomas Weißschuh
2026-03-19 22:30 ` Nathan Chancellor [this message]
2026-03-30 19:30 ` Nicolas Schier
2026-05-12 22:34 ` Viktor Jägersküpper
2026-05-13 15:37 ` Nicolas Schier
2026-05-14 12:47 ` Nathan Chancellor
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=20260319223000.GA1282459@ax162 \
--to=nathan@kernel.org \
--cc=christian@heusel.eu \
--cc=linux-kbuild@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@weissschuh.net \
--cc=nsc@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.