[Bug gas/21700] powerpc-ibm-aix6.1.0.0 fails with unresolved symbols

2018-03-21 Thread james.reynolds at cristie dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21700

--- Comment #9 from James Reynolds  ---
(In reply to James Reynolds from comment #8)
> (In reply to James Reynolds from comment #7)
> > (In reply to Rizwan Macknojia from comment #6)
> > > Any update on this issue. I am creating a AIX cross-compiler on linux and
> > > hitting the similar issue.
> > > 
> > > Using 
> > > binutils 2.29
> > > gcc 7.2
> > > target powerpc-ibm-aix7.2.0.0
> > 
> > None I'm afraid. I've been dragged away to other projects (and have a new
> > baby, so no personal time either!) but we are looking at much more AIX
> > development in 2018. I've had 2 personal emails about this too - so there is
> > definite interest.
> > 
> > After this though there are a few linker issues too and I still need to get
> > the exception mechanism working. I'll update in January, and possibly make
> > an AIX fork to be merged back when this is operational.
> 
> I've now fixed the RBR_26 problem - so the relocations now match IBM's
> relocations exactly. This is in a fork here:
> https://github.com/JamesReynolds/binutils-gdb
> 
> Unfortunately this was not the cause of exceptions not being caught. I think
> something is mis-calculated in .gcc_except_table. However, I think this bug
> could be closed if this change could be merged. I'll start the procedure for
> that today.

Further to this I've now cured the exception problem, the subtraction
calculation was wrong so the FDE fields were not correctly populated. Fixed in
fork. Using a g++ compiled with native tools the following now succeeds:

$ powerpc-ibm-aix6.1-as -mpwr4 exception.s -o exceptions.o
$ g++ exceptions.o -o exceptions
$ ./exceptions
> "Caught"

-- 
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/22989] New: Crash on mingw-w64 build caused by commit fd4fad48def1fae4ae4d7906e

2018-03-21 Thread boklm at torproject dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22989

Bug ID: 22989
   Summary: Crash on mingw-w64 build caused by commit
fd4fad48def1fae4ae4d7906e
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: boklm at torproject dot org
  Target Milestone: ---

We are building Tor Browser for Windows using mingw-w64, gcc 5.4.0 and
binutils.

A build done using binutils commit 4c2da80c2bdff7761eb5b3d9c03ffa0c9958b6b9 is
working fine.
A build done using binutils commit ca6f2be7f6bc638fd4fad48def1fae4ae4d7906e is
crashing when we try to start the browser.

In a debugger we can see a lot of messages like:
  warning: 0f64:0944 @ 01846240 - LdrpSnapThunk - WARNING: Hint index 0x119 for
procedure "NtEnumerateKey" in DLL "ntdll.dll" is invalid

  warning: 0f64:0944 @ 01846256 - LdrpSnapThunk - WARNING: Hint index 0x3bb for
procedure "RtlIntegerToUnicodeString" in DLL "ntdll.dll" is invalid

  warning: 0f64:0944 @ 01846287 - LdrpSnapThunk - WARNING: Hint index 0x26e for
procedure "RtlAppendUnicodeStringToString" in DLL "ntdll.dll" is invalid

  warning: 0f64:0944 @ 01846303 - LdrpSnapThunk - WARNING: Hint index 0x4a7 for
procedure "RtlStringFromGUID" in DLL "ntdll.dll" is invalid

Here is a build with commit 4c2da80c2bdff7761eb5b3d9c03ffa0c9958b6b9:
https://people.torproject.org/~boklm/builds/testbuild.4c2da80c2bdff7761eb5b3d9c03ffa0c9958b6b9/torbrowser-install-8.0a2_en-US.exe
f34b0776b28772ce285ff789ae493f6b1bfa086bdc79ff079996ab5ac1ad5344 
testbuild.4c2da80c2bdff7761eb5b3d9c03ffa0c9958b6b9/torbrowser-install-8.0a2_en-US.exe

Here is a build with commit ca6f2be7f6bc638fd4fad48def1fae4ae4d7906e:
https://people.torproject.org/~boklm/builds/testbuild.ca6f2be7f6bc638fd4fad48def1fae4ae4d7906e/torbrowser-install-8.0a2_en-US.exe
221e70cc10a2f1d701966043ae3017d7c31e0623b023154f8029989601aac92a 
testbuild.ca6f2be7f6bc638fd4fad48def1fae4ae4d7906e/torbrowser-install-8.0a2_en-US.exe

We are using 2 binutils patches:
https://gitweb.torproject.org/builders/tor-browser-build.git/tree/projects/binutils

-- 
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/22989] Crash on mingw-w64 build caused by commit 4c2da80c2bdff7761e

2018-03-21 Thread boklm at torproject dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22989

Nicolas Vigier  changed:

   What|Removed |Added

Summary|Crash on mingw-w64 build|Crash on mingw-w64 build
   |caused by commit|caused by commit
   |fd4fad48def1fae4ae4d7906e   |4c2da80c2bdff7761e

-- 
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/22989] Crash on mingw-w64 build caused by commit fd4fad48def1fae4ae4d7906e

2018-03-21 Thread boklm at torproject dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22989

Nicolas Vigier  changed:

   What|Removed |Added

URL||https://trac.torproject.org
   ||/projects/tor/ticket/16472
Version|unspecified |2.30

-- 
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/22989] Crash on mingw-w64 build caused by commit 4c2da80c2bdff7761e

2018-03-21 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22989

Nick Clifton  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2018-03-21
 CC||nickc at redhat dot com
   Assignee|unassigned at sourceware dot org   |nickc at redhat dot com
 Ever confirmed|0   |1

--- Comment #1 from Nick Clifton  ---
Created attachment 10905
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10905&action=edit
Proposed patch

Hi Nicolas,

  It looks like this PR might be a duplicate of PR 22762.

  Unfortunately the patch to fix that PR just missed the 2.30 release.
  (It is in the latest 2.30 branch sources, but not in the 2.30 release
  tarball).

  Would you mind trying out the patch from that PR (attached here for
  your convenience) and letting me know if it solves the problem ?

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 ld/22762] missing static variable constructor calls

2018-03-21 Thread boklm at torproject dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22762

Nicolas Vigier  changed:

   What|Removed |Added

 CC||boklm at torproject dot org

--- Comment #14 from Nicolas Vigier  ---
*** Bug 22989 has been marked as a duplicate of this bug. ***

-- 
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/22989] Crash on mingw-w64 build caused by commit 4c2da80c2bdff7761e

2018-03-21 Thread boklm at torproject dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=22989

Nicolas Vigier  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #2 from Nicolas Vigier  ---
Thanks! I tried a build using master, and I can confirm that the issue is
fixed.

*** This bug has been marked as a duplicate of bug 22762 ***

-- 
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 gas/22988] aarch64 sve invalid addressing mode

2018-03-21 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22988

Nick Clifton  changed:

   What|Removed |Added

 CC||nickc at redhat dot com

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

  Can you point me at the section of the ARM ARM where this id documented ?
  I cannot find it at the moment. :-(

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 gas/22988] aarch64 sve invalid addressing mode

2018-03-21 Thread rth at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22988

--- Comment #2 from Richard Henderson  ---
Note that SVE is not itegrated into the main ARM ARM yet.  See

https://developer.arm.com/docs/ddi0584/latest/arm-architecture-reference-manual-supplement-the-scalable-vector-extension-sve-for-armv8-a

from which you can get a zip file, which contains html.
Then, within DDI0584A_d_SVE/SVE_xml/xhtml/ldff1b_z_p_br.html,
is the quote

Is the optional 64-bit name of the general-purpose offset
register, defaulting to XZR, encoded in the "Rm" field.

-- 
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