From: Leo Famulari <leo@famulari.name>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: libgd security update / i686 issues
Date: Fri, 29 Jul 2016 11:42:31 -0400 [thread overview]
Message-ID: <20160729154231.GB11435@jasmine> (raw)
In-Reply-To: <87zip0a3qh.fsf@gnu.org>
On Fri, Jul 29, 2016 at 05:00:38PM +0200, Ludovic Courtès wrote:
> Leo Famulari <leo@famulari.name> skribis:
> > Instead of updating to 2.2.3, we could also try cherry-picking the
> > upstream commits that address this bug, as attached.
>
> Are there any good reasons not to update?
>
> I would tend to update, which sounds simpler and will have to be done
> anyway, but maybe I’m overlooking something.
I tried the update, because it's indeed simpler, but that breaks the
libgd build on i686-linux due to a test failure. Upstream suggests to
build with '-msse -mfpmath-sse'. But, as Mark pointed out, this would
mean we drop support for older i686 hardware without SSE, at least for
software that uses libgd.
The patch that Mark has in the current package tree works around this,
and he also updated his patch for the new version of libgd.
Unfortunately, it seems that the upstream developers have turned on
-Werror. So, Mark's approach makes the build fail on, at least, x86_64,
due to warnings about unused variables being treated as errors. I pasted
these error messages elsehwere in this thread.
I don't really like cherry-picking these commits; they are not from the
correct gd-2.2.2 branch.
We could also try deleting the test, disabling -Werror, complaining to
upstream, take another approach at disabling the test conditionally, or
... something else?
prev parent reply other threads:[~2016-07-29 15:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-28 7:23 libgd security update / i686 issues Leo Famulari
2016-07-28 8:34 ` Andreas Enge
2016-07-28 8:40 ` Andreas Enge
2016-07-28 16:30 ` Leo Famulari
2016-07-28 17:22 ` Mark H Weaver
2016-07-28 18:38 ` Leo Famulari
2016-07-28 18:56 ` Leo Famulari
2016-07-28 20:47 ` Leo Famulari
2016-07-29 17:59 ` Mark H Weaver
2016-07-29 18:52 ` Leo Famulari
2016-07-29 20:33 ` Mark H Weaver
2016-07-28 21:26 ` Leo Famulari
2016-07-29 15:00 ` Ludovic Courtès
2016-07-29 15:42 ` Leo Famulari [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=20160729154231.GB11435@jasmine \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
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.