Re: [PATCH] Typo in 'ar' help

2015-01-10 Thread Andreas Schwab
Ben Boeckel maths...@gmail.com writes:

 Attached is a patch for the 'ar' help of the '-M' option text
 '[mri-script]' which adds the closing angle bracket.

That's not a typo.  The script is expected on stdin.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
And now for something completely different.

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/17826] New: ld dies with corrupted double-linked list when trying to link objects both -pie and -static

2015-01-10 Thread blueness at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=17826

Bug ID: 17826
   Summary: ld dies with corrupted double-linked list when
trying to link objects both -pie and -static
   Product: binutils
   Version: 2.26 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: blueness at gentoo dot org

When trying to link ELF objects both -pie and -static on x86 arch, ld dies with
the following:

# gcc -static -pie -o conftest conftest.c
*** Error in
`/usr/lib/gcc/i686-pc-linux-gnu/4.8.3/../../../../i686-pc-linux-gnu/bin/ld':
corrupted double-linked list: 0x0874fe30 ***

There are two issues here:

1) First, as far as I know, -static and -pie are not supported, and so ld
should warn with an appropriate error message.  I believe gold does this.

2) Second, the corrupted double-linked list issue should be corrected.  The bug
was introduced in commit 9f7c3e5e99a620b68f6b2d0f3b17329e40b8d781 which looks
like some code was added to free a hash table.  Previous to that commit, ld die
with the following

/usr/local/bin/ld: BFD (GNU Binutils) 2.23.51.20130211 assertion fail
elflink.c:13080
/usr/local/bin/ld: BFD (GNU Binutils) 2.23.51.20130211 assertion fail
elflink.c:13080
/usr/local/bin/ld: BFD (GNU Binutils) 2.23.51.20130211 assertion fail
elflink.c:13080
/usr/local/bin/ld: BFD (GNU Binutils) 2.23.51.20130211 assertion fail
elflink.c:13080
/usr/local/bin/ld: BFD (GNU Binutils) 2.23.51.20130211 assertion fail
elflink.c:13080
collect2: error: ld returned 1 exit status


See the downstream bug at https://bugs.gentoo.org/show_bug.cgi?id=533862. 
Comments 15 and following are relevant.

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


Re: [PATCH] Typo in 'ar' help

2015-01-10 Thread Ben Boeckel
On Sat, Jan 10, 2015 at 10:16:57 +0100, Andreas Schwab wrote:
 That's not a typo.  The script is expected on stdin.

Ah. Then es.po's translation for it has a one already that should be
removed. Would using [ mri-script] instead to make it more clear be
better?

Thanks,

--Ben

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/17219] ld/mips: can no longer build libstdc++ (gcc 4.8/4.9)

2015-01-10 Thread aaro.koskinen at iki dot fi
https://sourceware.org/bugzilla/show_bug.cgi?id=17219

Aaro Koskinen aaro.koskinen at iki dot fi changed:

   What|Removed |Added

 CC||aaro.koskinen at iki dot fi,
   ||matthew.fortune at imgtec dot 
com

--- Comment #3 from Aaro Koskinen aaro.koskinen at iki dot fi ---
I get similar errors with release 2.25 binutils. Trying to cross-build MIPS GCC
configured with --with-float=soft fails miserably. With hard float there is no
issues (or binutils 2.24 with soft float). Apparently 2.25 binutils require
some additional flags which GCC 4.9 fails to pass?

Is there any simple workaround for this?

-- 
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/17826] ld dies with corrupted double-linked list when trying to link ELF objects both -pie and -static

2015-01-10 Thread blueness at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=17826

Anthony G. Basile blueness at gentoo dot org changed:

   What|Removed |Added

Summary|ld dies with corrupted |ld dies with corrupted
   |double-linked list when|double-linked list when
   |trying to link objects both |trying to link ELF objects
   |-pie and -static|both -pie and -static

-- 
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/17826] ld dies with corrupted double-linked list when trying to link ELF objects both -pie and -static

2015-01-10 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17826

Alan Modra amodra at gmail dot com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||hjl.tools at gmail dot com
 Resolution|--- |WORKSFORME

--- Comment #1 from Alan Modra amodra at gmail dot com ---
-static says use no shared libraries   -pie says build a position
independent executable.  The two are not incompatible at least from a linker
perspective.  I think gold is wrong.

No, the bug was not introduced with git commit 9f7c3e5e.  That commit merely
freed the block of memory that had been corrupted, triggering the warning from
ld.so.

Finally, the bug appears to be fixed with 2.25.  HJ may know which commit fixed
the problem.

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


unable to build in OS X 10.7

2015-01-10 Thread Roger Pack
Hello.
As a note, I seem to get this as well (ref:
http://lists.gnu.org/archive/html/bug-binutils/2014-12/msg00189.html
sorry i wasn't subscribed to the list at the time so can't easily
respond in its thread).
Cheers!

libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wshadow -g -O2 -o as-new app.o as.o atof-generic.o compress-debug.o
cond.o depend.o dwarf2dbg.o dw2gencfi.o ecoff.o ehopt.o expr.o
flonum-copy.o flonum-konst.o flonum-mult.o frags.o hash.o input-file.o
input-scrub.o listing.o literal.o macro.o messages.o output-file.o
read.o remap.o sb.o stabs.o subsegs.o symbols.o write.o tc-i386.o
obj-coff.o atof-ieee.o  ../opcodes/.libs/libopcodes.a
../bfd/.libs/libbfd.a -ldl ../libiberty/libiberty.a -lz
Undefined symbols:
  _wcsncasecmp, referenced from:
  _rsrc_sort_entries in libbfd.a(peigen.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils