[Bug gold/12771] internal error in value_from_output_section, at ../../gold/reloc.cc:1508 on armel
http://sourceware.org/bugzilla/show_bug.cgi?id=12771 --- Comment #3 from Jonathan Nieder 2011-06-17 07:43:57 UTC --- timo.lindfors at iki dot fi wrote: > Well hmm, I could try to arrange you access to some ARM box. Can you attach > your SSH public key? I replied by private email but now it occurs to me that maybe it would be useful to make it public (in case another hero with an ARM wants to provide ssh access). So here it is again, for reference (sorry for the noise). ssh-rsa B3NzaC1yc2EDAQABAAABAQC2CPcCDuUxAkYrpHDbwZXqBbCCSAPSR08WkBbiXAiw9/1+Cgqej7pHdsknVzZmrasOxyUzBpaXrJJ+/3Bgl8uQDfA570CZah7LKxMQ8sDaKyAfJzrz20egGIz8fdLzoFfgOsX+3HPj7ugujzsMxUr+CPxi6Hly3MeOQUL4Tc7UhIaoX7ircqhUC9PuCzZKMtGPx66AgOFRMILUvnVlF8NvPBn35Ml0Ct/fhNuSH9jAwnzLC9drkzbxeENmszDdG6pe6FGG8rf3AVt5RdtsmrKhzPXGTvEWpVmN3X3a1OZmNuHIE+LsXf4k2fcha31i81Uk7WyQKGR+Nu/xYvVfiaun jrn@elie -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 gold/12893] gold reports duplicated symbols when symbols have version both in script and in source
http://sourceware.org/bugzilla/show_bug.cgi?id=12893 --- Comment #1 from cvs-commit at gcc dot gnu.org 2011-06-17 13:31:35 UTC --- CVSROOT:/cvs/src Module name:src Changes by:i...@sourceware.org2011-06-17 13:31:33 Modified files: gold : ChangeLog resolve.cc Log message: PR gold/12893 * resolve.cc (Symbol_table::resolve): Don't give an error if a symbol is redefined with the exact same object and value. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&r1=1.758&r2=1.759 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/resolve.cc.diff?cvsroot=src&r1=1.59&r2=1.60 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 gold/12880] gold doesn't generate PT_INTERP for .interp section
http://sourceware.org/bugzilla/show_bug.cgi?id=12880 --- Comment #1 from cvs-commit at gcc dot gnu.org 2011-06-17 13:00:08 UTC --- CVSROOT:/cvs/src Module name:src Changes by:i...@sourceware.org2011-06-17 13:00:02 Modified files: gold : ChangeLog layout.h layout.cc script-sections.cc Log message: PR gold/12880 * layout.h (class Layout): Add interp_segment_ field. * layout.cc (Layout::Layout): Initialize interp_segment_ field. (Layout::attach_allocated_section_to_segment): If making shared library, put .interp section in PT_INTERP segment. (Layout::finalize): Also call create_interp if -dynamic-linker option was used. (Layout::create_interp): Assert that there is no PT_INTERP segment. If not using a SECTIONS clause, use make_output_section. (Layout::make_output_segment): Set interp_segment_ if PT_INTERP. * script-sections.cc (Script_sections::create_note_and_tls_segments): If making shared library, put .interp section in PT_INTERP segment. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&r1=1.757&r2=1.758 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/layout.h.diff?cvsroot=src&r1=1.91&r2=1.92 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/layout.cc.diff?cvsroot=src&r1=1.199&r2=1.200 http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/script-sections.cc.diff?cvsroot=src&r1=1.50&r2=1.51 -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 gold/12880] gold doesn't generate PT_INTERP for .interp section
http://sourceware.org/bugzilla/show_bug.cgi?id=12880 Ian Lance Taylor changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #2 from Ian Lance Taylor 2011-06-17 13:04:37 UTC --- I fixed gold so that when creating a shared library. 1) If the --dynamic-linker option is used, gold will put the argument into a .interp section and put that section into a PT_INTERP segment. 2) Otherwise, if there is a .interp section, gold will put that section into a PT_INTERP segment. This is not precisely how GNU ld behaves, as GNU ld behaves oddly when you both use a --dynamic-linker option and you have a .interp section. It appears to keep the contents of the .interp section but to set the length to that of the --dynamic-linker option. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 gold/12893] gold reports duplicated symbols when symbols have version both in script and in source
http://sourceware.org/bugzilla/show_bug.cgi?id=12893 Ian Lance Taylor changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #2 from Ian Lance Taylor 2011-06-17 13:34:08 UTC --- Fixed. Thanks for reporting it. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 gold/12879] gold doesn't like .symver name,name@VERS
http://sourceware.org/bugzilla/show_bug.cgi?id=12879 Ian Lance Taylor changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #1 from Ian Lance Taylor 2011-06-17 14:08:36 UTC --- Same as PR 12893, which is now fixed. *** This bug has been marked as a duplicate of bug 12893 *** -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 gold/12893] gold reports duplicated symbols when symbols have version both in script and in source
http://sourceware.org/bugzilla/show_bug.cgi?id=12893 Ian Lance Taylor changed: What|Removed |Added CC||roland at gnu dot org --- Comment #3 from Ian Lance Taylor 2011-06-17 14:08:36 UTC --- *** Bug 12879 has been marked as a duplicate of this bug. *** -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 gold/12771] internal error in value_from_output_section, at ../../gold/reloc.cc:1508 on armel
http://sourceware.org/bugzilla/show_bug.cgi?id=12771 --- Comment #4 from Ian Lance Taylor 2011-06-17 15:07:45 UTC --- It sounds like you are saying that gold, compiled and running on an ARM system, crashes, whereas gold, compiled and running on an ARM simulator, does not crash. In general gold should do the same thing whether it is run natively or run as a cross-linker. I tried this test case as a cross-linker, and I get a bunch of "undefined reference" errors but no crash. I checked a linker built in both 32-bit and 64-bit mode. While this clearly needs further investigation by somebody who can recreate the problem, it seems moderately unlikely to be a bug in gold. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 gold/12898] gold throws "internal error in segment_precedes" when building kvm
http://sourceware.org/bugzilla/show_bug.cgi?id=12898 Ian Lance Taylor changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #1 from Ian Lance Taylor 2011-06-17 14:52:19 UTC --- Can you attach the input files bios/bios.o bios/e820.o bios/int10.o. Thanks. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 gold/12898] gold throws "internal error in segment_precedes" when building kvm
http://sourceware.org/bugzilla/show_bug.cgi?id=12898 --- Comment #2 from Octoploid 2011-06-17 14:58:02 UTC --- Created attachment 5802 --> http://sourceware.org/bugzilla/attachment.cgi?id=5802 input files -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 gold/12771] internal error in value_from_output_section, at ../../gold/reloc.cc:1508 on armel
http://sourceware.org/bugzilla/show_bug.cgi?id=12771 --- Comment #5 from Jonathan Nieder 2011-06-17 21:10:19 UTC --- Hi Ian, ian at airs dot com wrote: > It sounds like you are saying that gold, compiled and running on an ARM > system, > crashes, whereas gold, compiled and running on an ARM simulator, does not > crash. For completeness, I should mention that gold, compiled on an ARM system and running on an ARM simulator, also does not crash. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 gold/12880] gold doesn't generate PT_INTERP for .interp section
http://sourceware.org/bugzilla/show_bug.cgi?id=12880 Roland McGrath changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Comment #3 from Roland McGrath 2011-06-18 04:42:35 UTC --- > This is not precisely how GNU ld behaves, as GNU ld behaves oddly when you > both > use a --dynamic-linker option and you have a .interp section. It appears to > keep the contents of the .interp section but to set the length to that of the > --dynamic-linker option. The behavior I see from GNU ld is that it inserts a leading .interp input section for the -dynamic-linker value, joins this with the user-supplied explicit .interp section into a single .interp output section in the usual way, and then makes PT_INTERP exactly match the address and size of the .interp output section. That is not especially helpful behavior, but it is entirely understandable. With today's tree gold's behavior in fact is to create a leading section called "interp" (no dot) containing the -dynamic-linker value. It places this at the start of text as expected and uses it for PT_INTERP. The user-supplied ".interp" section appears later (after .rodata, an appropriate generic placement for that section's characteristics). When I instead define an "interp" section, then I get the same two sections with the same placement, but both called "interp". (With the typo fix on gold/layout.cc:3884, I still get two separately-placed sections when they're called ".interp".) Bugs aside, IMHO the most desireable behavior would be to honor just the user's .interp section and not generate any other (i.e. ignore -dynamic-linker when a .interp is present). Both the GNU ld and the gold results for the case when both are defined are quite surprising results to see in the output file. (They're not surprising to me, I'm the kind of person who files this kind of bug report. But I think they would look highly suspicious to the average programmer looking at ELF headers.) The -dynamic-linker switch is given by the compiler driver and conceivably someone could be using a .interp section in circumstances where -dynamic-linker would be passed (i.e. not -shared and not -static). It's easier to define that section than to deduce and modify the linker arguments the compiler driver runs. But it hardly matters that it have any well-defined behavior in the case where -dynamic-linker is also specified, unless GNU ld also gets fixed to match that behavior, whatever it is. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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 gold/12880] gold doesn't generate PT_INTERP for .interp section
http://sourceware.org/bugzilla/show_bug.cgi?id=12880 --- Comment #4 from Roland McGrath 2011-06-18 05:03:29 UTC --- Furthermore in a -static link with a .interp input section, gold creates no PT_INTERP, while GNU ld does. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email --- 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