--- Additional Comments From ian at airs dot com 2008-04-16 06:02 ---
The number of object files is very large, but the number of object files with
more than 65,279 sections is very small.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6412
--- You are receiving this mail bec
--- Additional Comments From shap at eros-os dot com 2008-04-16 02:53
---
This seems like a poor solution, since the number of object files out there is
very large.
If you *do* adopt this approach, are the "fixed" object files still compatible
with *older* versions of binutils? It would
--- Additional Comments From amodra at bigpond dot net dot au 2008-04-16
01:06 ---
I reckon the best way to support old object files is to write a utility to fix
them. Otherwise you need hacks in three places, bfd, readelf, and gold.
--
http://sourceware.org/bugzilla/show_bug.cgi?id
Fix for PR 5900 makes binutils incompatible with old object files:
# readelf -Sg foo.o
readelf: Error: section [96278] in group section [4] > maximum section
[96023]
readelf: Error: section [96277] in group section [5] > maximum section
[96023]
readelf: Error: section [96276] in group s
--- Additional Comments From andrejoh at gmail dot com 2008-04-15 20:12
---
Created an attachment (id=2697)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2697&action=view)
Leak fixing for bfd_find_nearest_line in DWARF2
--
http://sourceware.org/bugzilla/show_bug.cgi?id=868
--
What|Removed |Added
Attachment #2696|application/octet-stream|text/plain
mime type||
Attachment #2696 is|0 |1
--
What|Removed |Added
Attachment #2695|application/octet-stream|text/plain
mime type||
Attachment #2695 is|0 |1
--- Additional Comments From cryptooctoploid at gmail dot com 2008-04-15
15:05 ---
Created an attachment (id=2696)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2696&action=view)
dumpelf -vv setup.elf >dump_gold
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6407
--
--- Additional Comments From cryptooctoploid at gmail dot com 2008-04-15
15:04 ---
Created an attachment (id=2695)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2695&action=view)
dumpelf -vv setup.elf > dump_ld
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6407
---
--- Additional Comments From cryptooctoploid at gmail dot com 2008-04-15
14:41 ---
I narrowed it down to one linker script, namely arch/x86/boot/setup.ld .
On my machine (amd64) running:
ld -m elf_x86_64 -T arch/x86/boot/setup.ld arch/x86/boot/a20.o
arch/x86/boot/cmdline.o arch/x86/b
--- Additional Comments From nickc at redhat dot com 2008-04-15 14:18
---
Hi Daniel,
Does the uploaded patch work for you ?
Cheers
Nick
--
What|Removed |Added
--- Additional Comments From nickc at redhat dot com 2008-04-15 14:17
---
Created an attachment (id=2694)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=2694&action=view)
Add checks for a NULL section pointer
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6058
--- Yo
--- Additional Comments From nickc at redhat dot com 2008-04-15 14:05
---
Subject: Re: bfd leaks memory in several places
Hi Andre,
> Nick, I'm not sure reverting the cleanup is correct. At least in binutils
> 2.18, the function concat_filename uses bfd_malloc, which again uses mall
Hi Andre,
Nick, I'm not sure reverting the cleanup is correct. At least in binutils
2.18, the function concat_filename uses bfd_malloc, which again uses malloc.
Hmm, that is a fair point.
Running with a change similar to the one in comment #14 plus freeing
caller_file removes the leaks I
--- Additional Comments From ian at airs dot com 2008-04-15 13:26 ---
It would be extremely helpful if you can identify what the linker is doing
wrong. (I've known for some time that the kernel fails to boot--it was in the
original gold announcement--but I don't know what needs to be don
Any kernel linked with the latest (or any) version of gold (GNU gold (GNU
Binutils 2.18.50.20080415) 1.5) fails to boot.
Normal kernel:
# file kernel176
kernel176: Linux kernel x86 boot executable RO-rootFS, root_dev 0x801, swap_dev
0x1, Normal VGA
kernel linked with gold:
# file kernel177
kern
16 matches
Mail list logo