[Bug binutils/19405] nios2 binutils assertion fail at elf32-nios2.c:1038

2016-01-19 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19405

Nick Clifton  changed:

   What|Removed |Added

 Status|NEW |UNCONFIRMED
 CC||nickc at redhat dot com
 Ever confirmed|1   |0

--- Comment #1 from Nick Clifton  ---
Hi Thomas,

  I just tried to reproduce the problem, following the steps that you
suggested, and nothing went wrong  Please could you check that the bug
still exists for you.

  I was running the build on an x86_64 machine running Fedora 23, perhaps that
makes a difference ?

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/19405] nios2 binutils assertion fail at elf32-nios2.c:1038

2016-01-19 Thread thomas.petazz...@free-electrons.com
https://sourceware.org/bugzilla/show_bug.cgi?id=19405

--- Comment #2 from Thomas Petazzoni  ---
(In reply to Nick Clifton from comment #1)
> Hi Thomas,
> 
>   I just tried to reproduce the problem, following the steps that you
> suggested, and nothing went wrong  Please could you check that the bug
> still exists for you.
> 
>   I was running the build on an x86_64 machine running Fedora 23, perhaps
> that makes a difference ?
> 
> Cheers
>   Nick

Thanks Nick for testing! After reporting this bug, we have marked the gtkmm3
package as not available on nios2, as a temporary workaround. So in fact, your
build is not building gtkmm3.

Could you instead do:

$ git clone git://git.busybox.net/buildroot
$ cd buildroot
$ git checkout 09649f2a305e0b9d52555c35c24178255aa298df
$ cat > .config 

[Bug ld/18591] Invalid R_X86_64_GOTPCREL -> R_X86_64_PC32 conversions

2016-01-19 Thread rafael.espindola at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18591

Rafael Ávila de Espíndola  changed:

   What|Removed |Added

 CC||ccoutant at gmail dot com,
   ||rafael.espindola at gmail dot 
com

--- Comment #2 from Rafael Ávila de Espíndola  ---
This bug is still present in gold

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/18591] Invalid R_X86_64_GOTPCREL -> R_X86_64_PC32 conversions

2016-01-19 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18591

H.J. Lu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |2.26

--- Comment #3 from H.J. Lu  ---
(In reply to Rafael Ávila de Espíndola from comment #2)
> This bug is still present in gold

See PR 18609 and PR 18695.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/19405] nios2 binutils assertion fail at elf32-nios2.c:1038

2016-01-19 Thread thomas.petazz...@free-electrons.com
https://sourceware.org/bugzilla/show_bug.cgi?id=19405

--- Comment #4 from Thomas Petazzoni  ---
(In reply to Nick Clifton from comment #3)
> Created attachment 8912 [details]
> Fix assertion, reduce number of messages about FDE encoding
> 
> Hi Thomas,
> 
>   Thanks - I can now reproduce the problem.
> 
>   The assertion failures were due to a thinko - the test was not allowing
> for negative values.  The FDE encoding warnings are correct, but there
> really are too many of them.
> 
>   So please try out this patch.  It should fix the assertion and reduce the
> number of warnings about FDE encoding to 10.  If this works for you then I
> will commit it to the mainline sources.
> 
> Cheers
>   Nick

Thanks for the patch! Note that I am not able to do a runtime test as I don't
have any NIOS2 platform, so all I can do is a build time test.

Regarding the FDE encoding warnings, what do they mean exactly?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/19405] nios2 binutils assertion fail at elf32-nios2.c:1038

2016-01-19 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19405

Nick Clifton  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2016-01-19
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/19405] nios2 binutils assertion fail at elf32-nios2.c:1038

2016-01-19 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19405

--- Comment #3 from Nick Clifton  ---
Created attachment 8912
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8912&action=edit
Fix assertion, reduce number of messages about FDE encoding

Hi Thomas,

  Thanks - I can now reproduce the problem.

  The assertion failures were due to a thinko - the test was not allowing for
negative values.  The FDE encoding warnings are correct, but there really are
too many of them.

  So please try out this patch.  It should fix the assertion and reduce the
number of warnings about FDE encoding to 10.  If this works for you then I will
commit it to the mainline sources.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/19405] nios2 binutils assertion fail at elf32-nios2.c:1038

2016-01-19 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19405

--- Comment #5 from Nick Clifton  ---
Hi Thomas,

(In reply to Thomas Petazzoni from comment #4)
> Regarding the FDE encoding warnings, what do they mean exactly?

They mean that the binary search table that is part of the .eh_frame_hdr
section cannot be created.  This happens because the (compiler generated) debug
information for the entries in the .eh_frame section use absolute addresses not
PC-relative addresses.  That means that at run time those addresses will have
to be relocated (to wherever the library is being loaded).  Hence it is not
safe to create a binary search table in the .eh_frame_hdr section as the
addresses are not fixed.

  In practice the warning is not serious.  It just means that exception
handling might be slower than it could be, but it should still work.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/19405] nios2 binutils assertion fail at elf32-nios2.c:1038

2016-01-19 Thread thomas.petazz...@free-electrons.com
https://sourceware.org/bugzilla/show_bug.cgi?id=19405

--- Comment #6 from Thomas Petazzoni  ---
(In reply to Nick Clifton from comment #5)

> (In reply to Thomas Petazzoni from comment #4)
> > Regarding the FDE encoding warnings, what do they mean exactly?
> 
> They mean that the binary search table that is part of the .eh_frame_hdr
> section cannot be created.  This happens because the (compiler generated)
> debug information for the entries in the .eh_frame section use absolute
> addresses not PC-relative addresses.  That means that at run time those
> addresses will have to be relocated (to wherever the library is being
> loaded).  Hence it is not safe to create a binary search table in the
> .eh_frame_hdr section as the addresses are not fixed.
> 
>   In practice the warning is not serious.  It just means that exception
> handling might be slower than it could be, but it should still work.

Great, thanks a lot for the explanation! I will try your patch soon and report
back.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/18695] [x86-64] Missing relocation overflow check

2016-01-19 Thread rafael.espindola at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18695

Rafael Ávila de Espíndola  changed:

   What|Removed |Added

 CC||rafael.espindola at gmail dot 
com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/18609] Invalid R_X86_64_GOTPCREL -> R_X86_64_PC32 conversions

2016-01-19 Thread rafael.espindola at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18609

Rafael Ávila de Espíndola  changed:

   What|Removed |Added

 CC||rafael.espindola at gmail dot 
com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils