From: Alan Modra <amodra@gmail.com>
To: Matthias Klose <doko@ubuntu.com>
Cc: binutils <binutils@sourceware.org>
Subject: Re: archive test rebuild using binutils trunk
Date: Wed, 10 Jan 2018 23:15:00 -0000 [thread overview]
Message-ID: <20180110231455.GB20622@bubble.grove.modra.org> (raw)
In-Reply-To: <157d62aa-ac62-656a-db42-8edd365c2905@ubuntu.com>
On Wed, Jan 10, 2018 at 09:07:35PM +0100, Matthias Klose wrote:
> A test rebuild of the Ubuntu archive using binutils trunk 20171219 was finished
> early this week. I have put the build logs for packages failing to build with
> binutils trunk compared to 2.29 at
>
> http://people.canonical.com/~doko/tmp/binutils-2.30-regr/
The binutils-z80 build error looks like it might be due to some local
patch of yours.
readelf.c: In function âprocess_notes_at.part.62â:
readelf.c:17046:10: error: âsig_limitâ may be used uninitialized in this function [-Werror=maybe-uninitialized]
status = infinity_get_string (&rtypes, &ptr, sig_limit,
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
str_start, str_limit);
~~~~~~~~~~~~~~~~~~~~~
readelf.c:16983:18: note: âsig_limitâ was declared here
unsigned char *sig_limit, *str_limit;
^~~~~~~~~
The following fixes the binutils-arm-none-eabi build error.
commit b7cb0575754de2dc7a3098462eb6dcbfa5c00a96
Author: Alan Modra <amodra@gmail.com>
Date: Thu Jan 11 09:34:58 2018 +1030
gas tc-arm.c warning fix
* config/tc-arm.c (aeabi_set_public_attributes): Avoid false
positive "âprofileâ may be used uninitialized".
diff --git a/gas/ChangeLog b/gas/ChangeLog
index cacaeea..125d54a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-11 Alan Modra <amodra@gmail.com>
+
+ * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
+ positive "âprofileâ may be used uninitialized".
+
2018-01-10 Jan Beulich <jbeulich@suse.com>
* testsuite/gas/i386/avx512_4fmaps.s,
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 0b81c19..0e16688 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -27104,7 +27104,7 @@ found:
static void
aeabi_set_public_attributes (void)
{
- char profile;
+ char profile = '\0';
int arch = -1;
int virt_sec = 0;
int fp16_optional = 0;
--
Alan Modra
Australia Development Lab, IBM
prev parent reply other threads:[~2018-01-10 23:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-10 20:07 Matthias Klose
2018-01-10 20:08 ` Matthias Klose
2018-01-10 23:15 ` Alan Modra [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=20180110231455.GB20622@bubble.grove.modra.org \
--to=amodra@gmail.com \
--cc=binutils@sourceware.org \
--cc=doko@ubuntu.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).