* [Buildroot] [PATCH] package/musl: Add upstream patch to fix building strace on m68k
@ 2025-03-11 10:11 Daniel Palmer
2025-03-11 10:22 ` Baruch Siach via buildroot
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Palmer @ 2025-03-11 10:11 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Petazzoni, Daniel Palmer
Currently it's not possible to build strace on m68k when using
musl because the version of musl in buildroot doesn't have the
m68k specific definitions of POLLWRNORM and POLLWRBAND.
This is already fixed upstream so manually apply the patch
until the next release.
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
---
package/musl/0006-m68k-fix-poll.patch | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 package/musl/0006-m68k-fix-poll.patch
diff --git a/package/musl/0006-m68k-fix-poll.patch b/package/musl/0006-m68k-fix-poll.patch
new file mode 100644
index 000000000000..45d5dcede459
--- /dev/null
+++ b/package/musl/0006-m68k-fix-poll.patch
@@ -0,0 +1,25 @@
+From b09e3174a695d1db60b2abc442d29ed3f87f0358 Mon Sep 17 00:00:00 2001
+From: Baruch Siach <baruch@tkos.co.il>
+Date: Wed, 7 Aug 2024 08:51:03 +0300
+Subject: m68k: fix POLLWRNORM and POLLWRBAND
+
+As noted in commit f5011c62c3 ("fix POLLWRNORM and POLLWRBAND on mips")
+m68k uses a different definition.
+---
+ arch/m68k/bits/poll.h | 2 ++
+ 1 file changed, 2 insertions(+)
+ create mode 100644 arch/m68k/bits/poll.h
+
+(limited to 'arch/m68k/bits/poll.h')
+
+diff --git a/arch/m68k/bits/poll.h b/arch/m68k/bits/poll.h
+new file mode 100644
+index 00000000..00063f41
+--- /dev/null
++++ b/arch/m68k/bits/poll.h
+@@ -0,0 +1,2 @@
++#define POLLWRNORM POLLOUT
++#define POLLWRBAND 256
+--
+cgit v1.2.1
+
--
2.47.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] package/musl: Add upstream patch to fix building strace on m68k
2025-03-11 10:11 [Buildroot] [PATCH] package/musl: Add upstream patch to fix building strace on m68k Daniel Palmer
@ 2025-03-11 10:22 ` Baruch Siach via buildroot
2025-03-11 11:01 ` Daniel Palmer
0 siblings, 1 reply; 6+ messages in thread
From: Baruch Siach via buildroot @ 2025-03-11 10:22 UTC (permalink / raw)
To: Daniel Palmer; +Cc: buildroot, Thomas Petazzoni
Hi Daniel,
On Tue, Mar 11 2025, Daniel Palmer wrote:
> Currently it's not possible to build strace on m68k when using
> musl because the version of musl in buildroot doesn't have the
> m68k specific definitions of POLLWRNORM and POLLWRBAND.
>
> This is already fixed upstream so manually apply the patch
> until the next release.
A link to autobuilder failure is missing:
http://autobuild.buildroot.net/results/ec3de790a66373f270f731519e2ef51c293ba683/
> Signed-off-by: Daniel Palmer <daniel@0x0f.com>
> ---
> package/musl/0006-m68k-fix-poll.patch | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
> create mode 100644 package/musl/0006-m68k-fix-poll.patch
>
> diff --git a/package/musl/0006-m68k-fix-poll.patch b/package/musl/0006-m68k-fix-poll.patch
> new file mode 100644
> index 000000000000..45d5dcede459
> --- /dev/null
> +++ b/package/musl/0006-m68k-fix-poll.patch
> @@ -0,0 +1,25 @@
> +From b09e3174a695d1db60b2abc442d29ed3f87f0358 Mon Sep 17 00:00:00 2001
> +From: Baruch Siach <baruch@tkos.co.il>
> +Date: Wed, 7 Aug 2024 08:51:03 +0300
> +Subject: m68k: fix POLLWRNORM and POLLWRBAND
> +
> +As noted in commit f5011c62c3 ("fix POLLWRNORM and POLLWRBAND on mips")
> +m68k uses a different definition.
You should add your sign-off and an upstream tags here.
See the manual:
https://buildroot.org/downloads/manual/manual.html#_format_and_licensing_of_the_package_patches
> +---
> + arch/m68k/bits/poll.h | 2 ++
> + 1 file changed, 2 insertions(+)
> + create mode 100644 arch/m68k/bits/poll.h
> +
> +(limited to 'arch/m68k/bits/poll.h')
What is this comment meant to say?
baruch
> +
> +diff --git a/arch/m68k/bits/poll.h b/arch/m68k/bits/poll.h
> +new file mode 100644
> +index 00000000..00063f41
> +--- /dev/null
> ++++ b/arch/m68k/bits/poll.h
> +@@ -0,0 +1,2 @@
> ++#define POLLWRNORM POLLOUT
> ++#define POLLWRBAND 256
> +--
> +cgit v1.2.1
> +
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] package/musl: Add upstream patch to fix building strace on m68k
2025-03-11 10:22 ` Baruch Siach via buildroot
@ 2025-03-11 11:01 ` Daniel Palmer
2025-03-12 18:14 ` Peter Korsgaard
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Palmer @ 2025-03-11 11:01 UTC (permalink / raw)
To: Baruch Siach; +Cc: buildroot, Thomas Petazzoni
Hi Baruch,
On Tue, 11 Mar 2025 at 19:22, Baruch Siach <baruch@tkos.co.il> wrote:
>
> Hi Daniel,
>
> On Tue, Mar 11 2025, Daniel Palmer wrote:
> > Currently it's not possible to build strace on m68k when using
> > musl because the version of musl in buildroot doesn't have the
> > m68k specific definitions of POLLWRNORM and POLLWRBAND.
> >
> > This is already fixed upstream so manually apply the patch
> > until the next release.
>
> A link to autobuilder failure is missing:
>
> http://autobuild.buildroot.net/results/ec3de790a66373f270f731519e2ef51c293ba683/
Interesting. I didn't know this had been spotted by the autobuilder. I
just noticed it while building strace to debug another package.
> > Signed-off-by: Daniel Palmer <daniel@0x0f.com>
> > ---
> > package/musl/0006-m68k-fix-poll.patch | 25 +++++++++++++++++++++++++
> > 1 file changed, 25 insertions(+)
> > create mode 100644 package/musl/0006-m68k-fix-poll.patch
> >
> > diff --git a/package/musl/0006-m68k-fix-poll.patch b/package/musl/0006-m68k-fix-poll.patch
> > new file mode 100644
> > index 000000000000..45d5dcede459
> > --- /dev/null
> > +++ b/package/musl/0006-m68k-fix-poll.patch
> > @@ -0,0 +1,25 @@
> > +From b09e3174a695d1db60b2abc442d29ed3f87f0358 Mon Sep 17 00:00:00 2001
> > +From: Baruch Siach <baruch@tkos.co.il>
> > +Date: Wed, 7 Aug 2024 08:51:03 +0300
> > +Subject: m68k: fix POLLWRNORM and POLLWRBAND
> > +
> > +As noted in commit f5011c62c3 ("fix POLLWRNORM and POLLWRBAND on mips")
> > +m68k uses a different definition.
>
> You should add your sign-off and an upstream tags here.
>
> See the manual:
>
> https://buildroot.org/downloads/manual/manual.html#_format_and_licensing_of_the_package_patches
Ok, I'll look into that and resend.
Thanks,
Daniel
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] package/musl: Add upstream patch to fix building strace on m68k
2025-03-11 11:01 ` Daniel Palmer
@ 2025-03-12 18:14 ` Peter Korsgaard
2025-03-12 21:24 ` Daniel Palmer
2025-03-21 15:59 ` Peter Korsgaard
0 siblings, 2 replies; 6+ messages in thread
From: Peter Korsgaard @ 2025-03-12 18:14 UTC (permalink / raw)
To: Daniel Palmer; +Cc: Thomas Petazzoni, buildroot
>>>>> "Daniel" == Daniel Palmer <daniel@0x0f.com> writes:
Hi,
>> You should add your sign-off and an upstream tags here.
>>
>> See the manual:
>>
>> https://buildroot.org/downloads/manual/manual.html#_format_and_licensing_of_the_package_patches
> Ok, I'll look into that and resend.
I took the liberty to fix these things up myself (including your s-o-b)
and applied as I would like to release -rc2 today.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] package/musl: Add upstream patch to fix building strace on m68k
2025-03-12 18:14 ` Peter Korsgaard
@ 2025-03-12 21:24 ` Daniel Palmer
2025-03-21 15:59 ` Peter Korsgaard
1 sibling, 0 replies; 6+ messages in thread
From: Daniel Palmer @ 2025-03-12 21:24 UTC (permalink / raw)
To: Peter Korsgaard; +Cc: Thomas Petazzoni, buildroot
Hi Peter,
On Thu, 13 Mar 2025 at 03:15, Peter Korsgaard <peter@korsgaard.com> wrote:
> I took the liberty to fix these things up myself (including your s-o-b)
> and applied as I would like to release -rc2 today.
Thanks!
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Buildroot] [PATCH] package/musl: Add upstream patch to fix building strace on m68k
2025-03-12 18:14 ` Peter Korsgaard
2025-03-12 21:24 ` Daniel Palmer
@ 2025-03-21 15:59 ` Peter Korsgaard
1 sibling, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2025-03-21 15:59 UTC (permalink / raw)
To: Daniel Palmer; +Cc: Thomas Petazzoni, buildroot
>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:
>>>>> "Daniel" == Daniel Palmer <daniel@0x0f.com> writes:
> Hi,
>>> You should add your sign-off and an upstream tags here.
>>>
>>> See the manual:
>>>
>>> https://buildroot.org/downloads/manual/manual.html#_format_and_licensing_of_the_package_patches
>> Ok, I'll look into that and resend.
> I took the liberty to fix these things up myself (including your s-o-b)
> and applied as I would like to release -rc2 today.
Committed to 2024.02.x and 2024.11.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-03-21 15:59 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-11 10:11 [Buildroot] [PATCH] package/musl: Add upstream patch to fix building strace on m68k Daniel Palmer
2025-03-11 10:22 ` Baruch Siach via buildroot
2025-03-11 11:01 ` Daniel Palmer
2025-03-12 18:14 ` Peter Korsgaard
2025-03-12 21:24 ` Daniel Palmer
2025-03-21 15:59 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox