archive test rebuild using binutils trunk

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

archive test rebuild using binutils trunk

Matthias Klose-6
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.19 at

  http://people.canonical.com/~doko/tmp/binutils-2.30-regr/

The build logs are taken from
http://qa.ubuntuwire.org/ftbfs/rebuilds/test-rebuild-20171220-binutils-bionic.html

I will retry the builds with a binutils build from today once this is finished
and update the logs to elimate some temporary build failures.

Trying to submit bug reports for some builds, my sourceware bugzilla account
just got disabled ("Account auto-locked due to spam").  And I'll be afk for
about two weeks starting with this weekend...

I'll try to follow-up with a more detailed analysis, if I'll find the time.

Matthias

Reply | Threaded
Open this post in threaded view
|

Re: archive test rebuild using binutils trunk

Matthias Klose-6
On 10.01.2018 21:07, Matthias Klose wrote:
> binutils trunk compared to 2.19 at

2.29 branch of course.
Reply | Threaded
Open this post in threaded view
|

Re: archive test rebuild using binutils trunk

Alan Modra-3
In reply to this post by Matthias Klose-6
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 <[hidden email]>
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  <[hidden email]>
+
+ * config/tc-arm.c (aeabi_set_public_attributes): Avoid false
+ positive "‘profile’ may be used uninitialized".
+
 2018-01-10  Jan Beulich  <[hidden email]>
 
  * 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