From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] gstreamer1: drop unused configure time unaligned access handling logic
Date: Sat, 18 Feb 2017 12:06:16 +0100 [thread overview]
Message-ID: <20170218110616.GC3632@free.fr> (raw)
In-Reply-To: <87a89ju5r1.fsf@dell.be.48ers.dk>
Peter, All,
On 2017-02-18 11:56 +0100, Peter Korsgaard spake thusly:
> >>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
>
> > Peter, All,
> > On 2017-02-18 10:25 +0100, Peter Korsgaard spake thusly:
> >> gstreamer has moved to build time unaligned access support detection using
> >> ifdefs in gstconfig.h since 1.9.2:
> >>
> >> commit 6ef601367e0f5adb7a8b02cec94dec04fccf701a
> >> Author: Nirbheek Chauhan <nirbheek@centricular.com>
> >> Date: Tue Jun 21 18:59:49 2016 +0530
> >>
> >> gstconfig.h: Detect unaligned access support at compile-time
> >>
> >> This makes gstconfig.h completely arch-independent. Should cover all
> >> compilers that gstreamer is known to build on, and all architectures
> >> that I could find information on. People are encouraged to file bugs if
> >> their platform/arch is missing.
> >>
> >> So ac_cv_unaligned_access is no longer used and our logic can be removed.
>
> > In the previous patch, you add the or1k conditions to the if-block, but
> > it is unused and you remove it here.
>
> > So I think this patch should come before you fix or1k, i.e. swap patches
> > 2 and 3, no?
>
> No, I think you are mixing up gstreamer and gstreamer1.
No, I don't think so...
> Patch 1 fixes gstreamer by adding or1k to the configure handling
> Patch 2 fixes gstreamer1 by adding a patch fixing gst/gstconfig.h
Here you patch package/gstreamer1/gstreamer1/gstreamer1.mk to also
apply the as_cv_unaligned_access=no in the or1k case, but...
> Patch 3 cleans up gstreamer1 by removing the unused configure handling
... you remove it right here, in patch 3, since that passing
as_cv_unaligned_access=no no longer works anyway.
So I question the fact that patch 2 is wrong (at least partly useless)
in passing as_cv_unaligned_access=no when it is not used.
So, I would argue that we should do:
Patch 1 fixes gstreamer by adding or1k to the configure handling
Patch 3 cleans up gstreamer1 by removing the unused configure handling
Patch 2 fixes gstreamer1 by adding a patch fixing gst/gstconfig.h
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2017-02-18 11:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-18 9:25 [Buildroot] [PATCH 1/3] gstreamer: fix unaligned detection for or1k Peter Korsgaard
2017-02-18 9:25 ` [Buildroot] [PATCH 2/3] gstreamer1: " Peter Korsgaard
2017-02-18 9:25 ` [Buildroot] [PATCH 3/3] gstreamer1: drop unused configure time unaligned access handling logic Peter Korsgaard
2017-02-18 9:42 ` Yann E. MORIN
2017-02-18 10:56 ` Peter Korsgaard
2017-02-18 11:06 ` Yann E. MORIN [this message]
2017-02-18 12:35 ` Peter Korsgaard
2017-02-18 14:47 ` [Buildroot] [PATCH 1/3] gstreamer: fix unaligned detection for or1k Peter Korsgaard
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=20170218110616.GC3632@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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.