[Bug gold/11748] New: gold fails to link on solaris2.10

2010-06-23 Thread Daniel dot Davies at xerox dot com
I built gcc-4.5.0 to use gold (FINALLY!!). When I link my image processing regression test, I get: gcc -ansi -march=core2 -m32 -o ../apps/solaris2_x86/debug/ipstest ../testobj/sol aris2_x86/debug/main.o ../testobj/solaris2_x86/debug/ipstest.o ../testobj/solar is2_x86/debug/s_absval.o ../testobj/

[Bug gas/6957] i386 NOPs must be derived from march not mtune

2010-06-23 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-06-23 14:36 --- >From Intel IA32/Intel64 SDM: The multi-byte form of NOP is available on processors with model encoding: • CPUID.01H.EAX[Bytes 11:8] = 0110B or B Intel i686 has 111B. -- http://sourceware.org/bugzi

[Bug binutils/11742] readelf.c: get_archive_member_name(): array subscript is above array bounds

2010-06-23 Thread haubi at gentoo dot org
--- Additional Comments From haubi at gentoo dot org 2010-06-23 12:02 --- Created an attachment (id=4856) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4856&action=view) Proposed patch to avoid reading beyond ar_name Thank you! -- http://sourceware.org/bugzilla/show_bug.cgi

[Bug binutils/11742] New: readelf.c: get_archive_member_name(): array subscript is above array bounds

2010-06-23 Thread haubi at gentoo dot org
Compiling binutils-2.20.1 on hppa-hpux using hp-gcc-4.4.3 with CFLAGS=-O3 tells this warning, which is treated as error: /binutils/readelf.c: In function 'get_archive_member_name': /binutils/readelf.c:11200: error: array subscript is above array bounds The code there in function get_archive_member