[Bug ld/19985] ld/configure.tgt: LE ppc64 targets do not include BE emulations

2016-04-26 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19985

--- Comment #11 from Alan Modra  ---
It used to be that you were much better off *not* having the big-endian linker
targets available by default, so that makefiles that wrongly passed -melf64ppc
caused powerpc64le-linux-ld to give an obvious error relating to its command
line rather than something more obscure.

I suppose most of those package problems have been fixed nowadays, so perhaps
making the big-endian targets available isn't such a bad thing.

-- 
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/19985] ld/configure.tgt: LE ppc64 targets do not include BE emulations

2016-04-26 Thread vapier at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=19985

--- Comment #12 from Mike Frysinger  ---
(In reply to Alan Modra from comment #11)

i can't speak too much to ppc-specific codebases, but i think the wider
ecosystem has gotten sane now (especially with libtool handling a lot now). 
Leno has been going through much of Gentoo to track down the missing pieces, so
hopefully we should be able to shake those cases out too.

-- 
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/20000] New: src/sim/rx/fpu.c:436: possible typo ?

2016-04-26 Thread dcb314 at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=2

Bug ID: 2
   Summary: src/sim/rx/fpu.c:436: possible typo ?
   Product: binutils
   Version: 2.27 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

[src/sim/rx/fpu.c:436]: (style) Expression is always false because 'else if'
condition matches previous condition at line 434.

Source code is

 if (a->type == FP_SNAN)
*c = a->orig_value | 0x0040;
  else if  (a->type == FP_SNAN)
*c = b->orig_value | 0x0040;
  else
*c = 0x7fc0;

Maybe better code

 if (a->type == FP_SNAN)
*c = a->orig_value | 0x0040;
  else if  (b->type == FP_SNAN)
*c = b->orig_value | 0x0040;
  else
*c = 0x7fc0;

-- 
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/20006] New: Linking gcc and gold with ld.bfd with compressed debug sections fails on final close

2016-04-26 Thread dilyan.palauzov at aegee dot org
libgold.a
../libiberty/libiberty.a   -ldl -lz -ldl 
incremental-dump: final close failed: Invalid operation
collect2: error: ld returned 1 exit status
Makefile:806: recipe for target 'incremental-dump' failed
make[4]: *** [incremental-dump] Error 1
make[4]: Target 'all-am' not remade because of errors.
make[4]: Leaving directory '/home/d/binutils/gold'
Makefile:940: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/d/binutils/gold'
Makefile:691: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/d/binutils/gold'
Makefile:6080: recipe for target 'all-gold' failed
make[1]: *** [all-gold] Error 2
make[2]: Entering directory '/home/d/binutils/gprof'

For all compilations I use gcc 7.0.0 20160426 (a9ad7ef) and
export CFLAGS="-pipe -O3" CXXFLAGS="-pipe -O3" LDFLAGS="-Wl,-z,relro,-O1"

-- 
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/20006] Linking gcc and gold with ld.bfd with compressed debug sections fails on final close

2016-04-26 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20006

H.J. Lu  changed:

   What|Removed |Added

 CC||hjl.tools 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 ld/19985] ld/configure.tgt: LE ppc64 targets do not include BE emulations

2016-04-26 Thread lenohou at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19985

--- Comment #13 from Leno Hou  ---
Hi Alan,

>> makefiles that wrongly passed -melf64ppc caused powerpc64le-linux-ld to give 
>> an >>obvious error relating to its command line rather than something more 
>> obscure.

aclocal -> automake -> libtoolize -> autoconf -> configure -> Makefile

 During this work flow, we've patched libtool.m4 as below which is make sure
generate correct Makefile and passed correct $LD="ld -m elf64lppc' to
powerpc64le-linux-ld


>> I suppose most of those package problems have been fixed nowadays, so 
>> perhaps making the big-endian targets available isn't such a bad thing.

   So I must make sure that all packages with -melf64ppc was updated by
elibtoolize or eautoreconf. Then we'll enable big-endian targets on gentoo
ppc64le.

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