From: Julien Olivain via buildroot <buildroot@buildroot.org>
To: Bernd Kuhls <bernd@kuhls.net>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/2] package/samba4: fix build on m68k
Date: Fri, 10 Jul 2026 22:48:45 +0200 [thread overview]
Message-ID: <3da4a52ba48013a59f9dc82e3f8b9d63@free.fr> (raw)
In-Reply-To: <20260704085239.2901837-1-bernd@kuhls.net>
On 04/07/2026 10:52, Bernd Kuhls wrote:
> samba4 uses very big switch statements, which causes the build to fail
> on m68k, because the offsets there are only 16-bit.
>
> We fix that by using -mlong-jump-table-offsets on m68k to use 32-bit
> offsets for switch statements, but this is only available starting with
> gcc 7 [0] [1].
>
> Only one package selects samba4, mpd, but it already depends on gcc
>> = 12. As such, we do not need to propagate that new dependency.
>
> Fixes:
> https://autobuild.buildroot.net/results/b60/b606da691bb462879d4f9769928b5a40b9170837/
>
> [0] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57583#c15
> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57583#c16
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Series applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-07-10 20:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-04 8:52 [Buildroot] [PATCH 1/2] package/samba4: fix build on m68k Bernd Kuhls
2026-07-04 8:52 ` [Buildroot] [PATCH 2/2] package/samba4: bump version to 4.24.4 Bernd Kuhls
2026-08-07 11:16 ` Titouan Christophe via buildroot
2026-07-10 20:48 ` Julien Olivain via buildroot [this message]
2026-07-17 15:47 ` [Buildroot] [PATCH 1/2] package/samba4: fix build on m68k Thomas Perale via buildroot
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=3da4a52ba48013a59f9dc82e3f8b9d63@free.fr \
--to=buildroot@buildroot.org \
--cc=bernd@kuhls.net \
--cc=ju.o@free.fr \
/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