Assertion failure in 2.18

2007-12-19 Thread Yang
I'm getting the following error: as: BFD (GNU Binutils for Ubuntu) 2.18 assertion fail ../../bfd/elf.c:6239 as: BFD (GNU Binutils for Ubuntu) 2.18 internal error, aborting at ../../bfd/elfcode.h line 221 in bfd_elf64_swap_symbol_out This only happens when I build with no -O3; once I specify -O

[PATCH 1/2] gas/as.c: print input and output details when error

2018-08-08 Thread Robert Yang
Print input and output details (filename, inode number) when error, this makes the debug easier. Signed-off-by: Robert Yang --- gas/as.c | 4 +++- gas/as.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gas/as.c b/gas/as.c index 02c7d29..6afe9a5 100644 --- a/gas/as.c +++ b

[PATCH 2/2] gas/as.c: compare device id

2018-08-09 Thread Robert Yang
is is very likely to happen when there are many gcc's runs. Compare device id will fix the problem. Signed-off-by: Robert Yang --- gas/as.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas/as.c b/gas/as.c index 6afe9a5..becc7d2 100644 --- a/gas/as.c +++ b/gas/as.c @@

Gobjdump on Mac

2005-06-21 Thread Yang, Mitch (AGRE)
Hi: I am running binutils 2.15 on OS X 10.4. I compiled code with -g option and ran gobjdump with -S option. The output of gobjdump only lists the assembly code without source code intermixed. I run same tool on Linux machine (Redhat), the assembly code is intermixed with source code. Thanks Mi

2.6.19-rc2 has ld error for ppc64

2006-10-17 Thread Yi CDL Yang
On building 2.6.19-rc2 on ppc64, ld always reports such an error: ".text exceeds stub group size" ... this patch can make ld happy without any complain. --- binutils-2.17/bfd/elf64-ppc.c.orig 2006-10-16 23:58:53.0 -0400 +++ binutils-2.17/bfd/elf64-ppc.c 2006-10-16 18:43:57.0 -0

Re: 2.6.19-rc2 has ld error for ppc64

2006-10-17 Thread Yi CDL Yang
Alan Modra 写道: On Tue, Oct 17, 2006 at 07:11:51PM +0800, Yi CDL Yang wrote: On building 2.6.19-rc2 on ppc64, ld always reports such an error: ".text exceeds stub group size" This is not an error. It is just a warning that might help explain a later error. If the linker doesn&

[Bug binutils/5494] New: No source debugging information with relative path by objdump

2007-12-17 Thread moonlight dot yang at gmail dot com
dot redhat dot com ReportedBy: moonlight dot yang at gmail dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=5494 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching some

[Bug binutils/5494] No source debugging information with relative path by objdump

2007-12-31 Thread moonlight dot yang at gmail dot com
--- Additional Comments From moonlight dot yang at gmail dot com 2007-12-31 15:02 --- Tried on Fedora 8 with objdump 2.17.50.0.18-1 20070731 and it worked It didn't work on Fedora Core 6 (Sorry. I don't remember the version of objdump. Come with the distribution CD). I thin