[Bug binutils/3298] -mrelax broken for sh-elf

2006-10-05 Thread amylaar at gcc dot gnu dot org

--- Additional Comments From amylaar at gcc dot gnu dot org  2006-10-05 
12:56 ---
(In reply to comment #0)
 with a small patch to enable -mrelax when optimizing, the tests are not 
 finished
 after 17.5 hours, but 2098 failures have been detected so far.

Still not finished after 64.9 hours, 4074 failures so far.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=3298

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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


[Bug ld/3307] New: bad relocation section name `'

2006-10-05 Thread jmbnyc at gmail dot com
I have been encountering the following problem for several weeks. I compile and
create few c++ shared libraries (can happen with just one, so it has nothing to
do with the number). I then attempt to link a program and I get the following
type of  segv during the link step:

collect2: ld terminated with signal 11 [Segmentation fault]
/usr/bin/ld: build/x86-64.linux/gcc64/cc-g/subscribeClient.o: bad relocation
section name `'

It happens with both -O2 and -g compiled code (although it is a bit more
frequent with -g code). In addition, usually if it happens with -O2 code then it
will work fine when I compiled with -g (or vice-versa). 

I have produced a test case, but I don't see a way to attach it here (first time
reporting a bug here - sorry if I am missing the obvious, but I did read the
'reporting guidelines' and did not see anything there either). I'm happy to
attach the test case in an email so that someone can see the problem first hand.

-- 
   Summary: bad relocation section name `'
   Product: binutils
   Version: 2.16
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: jmbnyc at gmail dot com
CC: bug-binutils at gnu dot org,jmbnyc at gmail dot com
 GCC build triplet: GNU ld version 2.16.91.0.6 20060212
  GCC host triplet: Redhat FC5: 2.6.17-1.2187_FC5
GCC target triplet: x86_64 GNU/Linux


http://sourceware.org/bugzilla/show_bug.cgi?id=3307

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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


[Bug ld/3307] bad relocation section name `'

2006-10-05 Thread jmbnyc at gmail dot com

--- Additional Comments From jmbnyc at gmail dot com  2006-10-05 13:39 
---
Created an attachment (id=1347)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=1347action=view)
gzip'd tar file with README that shows how to reproduce


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=3307

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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


[Bug ld/3307] bad relocation section name `'

2006-10-05 Thread jmbnyc at gmail dot com

--- Additional Comments From jmbnyc at gmail dot com  2006-10-06 04:36 
---
I ran eu-readelf on the SPTest.o file and noticed that some of the symbols are
being truncated. This appears to be the problem that cause the linker to segv.
That makes me think asm has some sort of memory corruption which is truncating
the  symbols names. I also  upgraded to the binutils-2.17.50.0.3-6 and it
produced the same results. Here is some eu-readelf output:

[1086] .text._ZN3btk16fast_list_detail9list_nodeISsEC1ERKSs PROGBITS
 0003a084 002c  0 AXG0   0  2
[1087] .rela.text._ZN3btk16fast_list_detail9list_nodeISsEC1ERKSs RELA
 000a2878 0030 24   1157 1086  8
[1088] .text._ZN3btk16fast_list_detail17free_list_managerISsE10createNo PROGBITS
 0003a0b0 00bb  0 AXG0   0  2
[1089] .rela.text._ZN3btk16fast_list_detail17free_list_managerISsE10createNo
RELA  000a28a8 00d8 24   1157 1088  8

1088 and 1089 are clearly truncated.
/JMB

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=3307

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


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