This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: archive test rebuild using binutils trunk
- From: Alan Modra <amodra at gmail dot com>
- To: Matthias Klose <doko at ubuntu dot com>
- Cc: binutils <binutils at sourceware dot org>
- Date: Thu, 11 Jan 2018 09:44:55 +1030
- Subject: Re: archive test rebuild using binutils trunk
- Authentication-results: sourceware.org; auth=none
- References: <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