[Bug ld/12478] discrepancy between 'ld.1' file and 'configure'
http://sourceware.org/bugzilla/show_bug.cgi?id=12478 Sergei Steshenko sergstesh at yahoo dot com changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | --- Comment #10 from Sergei Steshenko sergstesh at yahoo dot com 2011-02-13 22:50:33 UTC --- (In reply to comment #9) ./configure --help=recursive lists all accepted options. How about addressing my statement that normal programs check validity of their options ? How about rereading, say, 'gcc' documentation, for example, gcc-4.4.5, the gcc.pdf, file, page 130: -Xassembler option Pass option as an option to the assembler. You can use this to supply system- specific assembler options which GCC does not know how to recognize. . I.e. in 'gcc' case it _clearly_ written (You can use this to supply system- specific assembler options which GCC does not know how to recognize) that 'gcc' does _not_ check validity of options passed to another program (assembler in this case). How about being consistent ? I mean' 'gcc' is also supported by 'sourceware'. -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12480] 'ld' does not show command line arguments despite of '--verbose'
http://sourceware.org/bugzilla/show_bug.cgi?id=12480 Sergei Steshenko sergstesh at yahoo dot com changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | --- Comment #8 from Sergei Steshenko sergstesh at yahoo dot com 2011-02-13 23:04:32 UTC --- (In reply to comment #7) It is consistent. gcc -v does not repeat its own command line either, only those passed to its subordinate commands (*including* ld). OK, how would you verify that a program is getting the expected command line arguments ? -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12478] discrepancy between 'ld.1' file and 'configure'
http://sourceware.org/bugzilla/show_bug.cgi?id=12478 Alan Modra amodra at gmail dot com changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||INVALID --- Comment #11 from Alan Modra amodra at gmail dot com 2011-02-13 23:39:17 UTC --- This bug has been closed five times already as invalid. What do you think you are achieving by reopening it? Do you think that annoying binutils maintainers will help you in any way? -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12480] 'ld' does not show command line arguments despite of '--verbose'
http://sourceware.org/bugzilla/show_bug.cgi?id=12480 Alan Modra amodra at gmail dot com changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||WONTFIX --- Comment #9 from Alan Modra amodra at gmail dot com 2011-02-13 23:40:04 UTC --- Do not reopen this bug again. You are a pest. -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12374] ld fails to convert global hidden symbols to local ones
http://sourceware.org/bugzilla/show_bug.cgi?id=12374 Alan Modra amodra at gmail dot com changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #1 from Alan Modra amodra at gmail dot com 2011-02-14 00:24:03 UTC --- I think this is really just a weakness in the gabi spec. The symbol table that matters for correct implementation of hidden symbols is the dynamic symbol table. GNU ld does remove hidden symbols from .dynsym. -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/11931] Segfault in ld (elf_link_output_extsym) when defining symbols with a constraint on a non-existent section
http://sourceware.org/bugzilla/show_bug.cgi?id=11931 Alan Modra amodra at gmail dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Comment #10 from cvs-commit at gcc dot gnu.org cvs-commit at gcc dot gnu.org 2010-09-10 01:23:29 UTC --- Subject: Bug 11931 CVSROOT:/cvs/src Module name:src Changes by: amo...@sourceware.org 2010-09-10 01:23:13 Modified files: ld : ChangeLog ldlang.c ldlang.h ld/emultempl : xtensaelf.em Log message: PR ld/11931 * ldlang.h (lang_for_each_statement_worker): Declare. * ldlang.c (lang_for_each_statement_worker): Make global. Don't recurse into children of output_section_statement with constraint set to -1. (print_assignment): Handle NULL output_section-bfd_section. (lang_size_sections_1): Ignore output section statement address when constraint is -1. * emultempl/xtensaelf.em (lang_for_each_statement_worker): Delete. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=srcr1=1.2184r2=1.2185 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldlang.c.diff?cvsroot=srcr1=1.338r2=1.339 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldlang.h.diff?cvsroot=srcr1=1.88r2=1.89 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/emultempl/xtensaelf.em.diff?cvsroot=srcr1=1.25r2=1.26 --- Comment #11 from Alan Modra amodra at gmail dot com 2011-02-14 00:34:21 UTC --- Fixed months ago. -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/11931] Segfault in ld (elf_link_output_extsym) when defining symbols with a constraint on a non-existent section
http://sourceware.org/bugzilla/show_bug.cgi?id=11931 --- Comment #12 from Matthew.Gretton-Dann at arm dot com 2011-02-14 00:41:39 UTC --- Hi, I am out of the office on Friday 11th February 2011, and will not be reading email. If you have an urgent issue please get in touch with Roger Teague. Otherwise, I will get back to you as soon as possible after I am back in the office on Monday 14th February 2011. Thanks, Matt -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12030] assertion fail linker.c:2678
http://sourceware.org/bugzilla/show_bug.cgi?id=12030 Alan Modra amodra at gmail dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Comment #1 from Alan Modra amodra at gmail dot com 2011-02-14 00:51:11 UTC --- I believe this was fixed by http://sourceware.org/ml/binutils/2010-10/msg00433.html http://sourceware.org/ml/binutils-cvs/2010-11/msg00027.html -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12488] New: Fails with plugins and weak, hidden symbols
http://sourceware.org/bugzilla/show_bug.cgi?id=12488 Summary: Fails with plugins and weak, hidden symbols Product: binutils Version: 2.22 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold AssignedTo: i...@airs.com ReportedBy: rafael.espind...@gmail.com This works: $ ./gold/ld-new -plugin ./gold/testsuite/plugin_test.so --no-demangle -shared -o test.so bar.o foo.o API version: 1 gold version: 111 bar.o: claim file hook called (offset = 0, size = 936) foo.o: claim file hook called (offset = 0, size = 1176) all symbols read hook called cleanup hook called But this fails: $ ./gold/ld-new -plugin ./gold/testsuite/plugin_test.so --no-demangle -shared -o test.so bar.syms foo.o API version: 1 gold version: 111 bar.syms: claim file hook called (offset = 0, size = 596) bar.syms: claiming file, adding 1 symbols foo.o: claim file hook called (offset = 0, size = 1176) all symbols read hook called bar.syms: xyz: PREVAILING_DEF_REG bar.o: adding new input file ./gold/ld-new: error: foo.o: requires dynamic reloc which may overflow at runtime; recompile with -fPIC ./gold/ld-new: foo.o: in function bar:foo.ll(.text+0x4): warning: relocation refers to discarded section ./gold/ld-new: error: hidden symbol 'xyz' is not defined locally cleanup hook called -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12488] Fails with plugins and weak, hidden symbols
http://sourceware.org/bugzilla/show_bug.cgi?id=12488 --- Comment #1 from Rafael Ávila de Espíndola rafael.espindola at gmail dot com 2011-02-14 01:23:25 UTC --- Created attachment 5237 -- http://sourceware.org/bugzilla/attachment.cgi?id=5237 foo.o -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12488] Fails with plugins and weak, hidden symbols
http://sourceware.org/bugzilla/show_bug.cgi?id=12488 --- Comment #2 from Rafael Ávila de Espíndola rafael.espindola at gmail dot com 2011-02-14 01:23:44 UTC --- Created attachment 5238 -- http://sourceware.org/bugzilla/attachment.cgi?id=5238 bar.o -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12488] Fails with plugins and weak, hidden symbols
http://sourceware.org/bugzilla/show_bug.cgi?id=12488 --- Comment #3 from Rafael Ávila de Espíndola rafael.espindola at gmail dot com 2011-02-14 01:24:00 UTC --- Created attachment 5239 -- http://sourceware.org/bugzilla/attachment.cgi?id=5239 bar.syms -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12488] Fails with plugins and weak, hidden symbols
http://sourceware.org/bugzilla/show_bug.cgi?id=12488 Rafael Ávila de Espíndola rafael.espindola at gmail dot com changed: What|Removed |Added CC||ccoutant at google dot com -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12305] undefined reference to '__udivdi3' with -flto -fuse-linker-plugin
http://sourceware.org/bugzilla/show_bug.cgi?id=12305 Dave Korn davek at gcc dot gnu.org changed: What|Removed |Added CC||davek at gcc dot gnu.org -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/12396] The first section in the PT_DYNAMIC segment is not the .dynamic section
http://sourceware.org/bugzilla/show_bug.cgi?id=12396 Alan Modra amodra at gmail dot com changed: What|Removed |Added Status|WAITING |RESOLVED CC||amodra at gmail dot com Resolution||WORKSFORME -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12376] File offsets for PT_LOAD segments and resulting inequivalent memory aliases
http://sourceware.org/bugzilla/show_bug.cgi?id=12376 Alan Modra amodra at gmail dot com changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #4 from Alan Modra amodra at gmail dot com 2011-02-14 02:14:06 UTC --- These in fact point to the same page in physical memory. Really? 0001-00011000 and 00011000-00012000 are not different pages? -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12376] File offsets for PT_LOAD segments and resulting inequivalent memory aliases
http://sourceware.org/bugzilla/show_bug.cgi?id=12376 --- Comment #5 from dave at hiauly1 dot hia.nrc.ca dave at hiauly1 dot hia.nrc.ca 2011-02-14 03:40:21 UTC --- On Mon, 14 Feb 2011, amodra at gmail dot com wrote: These in fact point to the same page in physical memory. Really? 0001-00011000 and 00011000-00012000 are not different pages? They map to the same page as far as I can tell (both maps appear in the list iterated using vma_prio_tree_foreach(mpnt, iter, mapping-i_mmap, pgoff, pgoff)). This can also be seen by looking at /proc/$PID/maps. When multiple shared writeable mappings exist, I believed they are COWed. So, effectively only one map is writeable. Non equivalent aliases are a problem for architectures such as PA8800/PA8900. They don't support non equivalent aliases in the sense that a write doesn't invalidate non equivalent aliases. The only thing that saves us is the former address range is write protected, and it's rare to try to read using the text map. It seems possible that the text map could be corrupted via the data map. So, this might be a security issue. The V-Class machines are even worse than PA8800/PA8900 because they don't support non equivalent aliases regardless of whether they are read-only or not. These non equivalent aliases occur typically on the boundary page between text and data. The linux dynamic loader mmaps these regions as MAP_FIXED. They are not mapped with MAP_SHARED but it seems the maps are shared for shared libraries. So far, it seems the hppa linux dynamic loader always maps shared pages with equivalent aliases except for the boundary page. I think this is potentially an issue for certain MIPS and ARM cpus but I don't know the details on whether they support non equivalent aliases or not. As far as I can tell, the same occurs for x86, etc, but I don't think the non equivalent aliases matter, at least on linux. On the other hand, it looks like windows starts sections on page boundaries. Probably, it would be best if load segments were aranged in executables to optionally start on a file page boundary. This would avoid the double flush and having two non equivalent address ranges map to the same page. Don't really want to start all sections on a page boundary as this would waste a lot of file space. I have looked a bit at trying to do this, but don't have a solution at the moment. Dave -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12472] ifuncmain7pie failed on Fedora 14/x64-64
http://sourceware.org/bugzilla/show_bug.cgi?id=12472 Ian Lance Taylor ian at airs dot com changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #1 from Ian Lance Taylor ian at airs dot com 2011-02-14 03:40:35 UTC --- I just set up a Fedora 14 x86_64 system, and all tests pass for current mainline gold. Can you give me some more information about this failure? -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12472] ifuncmain7pie failed on Fedora 14/x64-64
http://sourceware.org/bugzilla/show_bug.cgi?id=12472 --- Comment #2 from H.J. Lu hjl.tools at gmail dot com 2011-02-14 03:56:47 UTC --- (In reply to comment #1) I just set up a Fedora 14 x86_64 system, and all tests pass for current mainline gold. Can you give me some more information about this failure? Can you provide rpm -qi glibc? -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12376] File offsets for PT_LOAD segments and resulting inequivalent memory aliases
http://sourceware.org/bugzilla/show_bug.cgi?id=12376 --- Comment #6 from Alan Modra amodra at gmail dot com 2011-02-14 03:58:32 UTC --- If they are the same page, doesn't that mean your maxpagesize is wildly incorrect? You must have maxpagesize at least as large as a memory page. -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12472] ifuncmain7pie failed on Fedora 14/x64-64
http://sourceware.org/bugzilla/show_bug.cgi?id=12472 --- Comment #3 from Ian Lance Taylor ian at airs dot com 2011-02-14 04:01:19 UTC --- rpm -qi glibc output: Name: glibcRelocations: (not relocatable) Version : 2.13 Vendor: Fedora Project Release : 1 Build Date: Thu 20 Jan 2011 02:24:07 AM PST Install Date: Fri 11 Feb 2011 03:35:27 PM PST Build Host: x86-12.phx2.fedoraproject.org Group : System Environment/Libraries Source RPM: glibc-2.13-1.src.rpm Size: 12979254 License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ Signature : RSA/SHA256, Thu 20 Jan 2011 08:50:39 AM PST, Key ID 421caddb97a1071f Packager: Fedora Project URL : http://www.gnu.org/software/glibc/ Summary : The GNU libc libraries Description : The glibc package contains standard libraries which are used by multiple programs on the system. In order to save disk space and memory, as well as to make upgrading easier, common system code is kept in one place and shared between programs. This particular package contains the most important sets of shared libraries: the standard C library and the standard math library. Without these two libraries, a Linux system will not function. Name: glibcRelocations: (not relocatable) Version : 2.13 Vendor: Fedora Project Release : 1 Build Date: Thu 20 Jan 2011 02:52:15 AM PST Install Date: Fri 11 Feb 2011 04:31:11 PM PST Build Host: x86-04.phx2.fedoraproject.org Group : System Environment/Libraries Source RPM: glibc-2.13-1.src.rpm Size: 13616282 License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ Signature : RSA/SHA256, Thu 20 Jan 2011 08:42:22 AM PST, Key ID 421caddb97a1071f Packager: Fedora Project URL : http://www.gnu.org/software/glibc/ Summary : The GNU libc libraries Description : The glibc package contains standard libraries which are used by multiple programs on the system. In order to save disk space and memory, as well as to make upgrading easier, common system code is kept in one place and shared between programs. This particular package contains the most important sets of shared libraries: the standard C library and the standard math library. Without these two libraries, a Linux system will not function. -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12472] ifuncmain7pie failed on Fedora 14/x64-64
http://sourceware.org/bugzilla/show_bug.cgi?id=12472 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Comment #4 from H.J. Lu hjl.tools at gmail dot com 2011-02-14 04:44:28 UTC --- It works now. -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug ld/12320] ld --as-needed links libgcc_s.so.1 unnecessarily on Solaris 11
http://sourceware.org/bugzilla/show_bug.cgi?id=12320 Alan Modra amodra at gmail dot com changed: What|Removed |Added Status|NEW |WAITING CC||amodra at gmail dot com --- Comment #1 from Alan Modra amodra at gmail dot com 2011-02-14 06:12:03 UTC --- Please attach main.o, crt1.o, crti.o, libgcc.a, libgcc_s.so and libgcc_s.so.1 (if it isn't just a link to libgcc_s.so), and I'll take a look. I don't think I'll need libc.so.1 and libm.so.2 -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug gold/12488] plugins don't support linkonce
http://sourceware.org/bugzilla/show_bug.cgi?id=12488 Rafael Ávila de Espíndola rafael.espindola at gmail dot com changed: What|Removed |Added Summary|Fails with plugins and |plugins don't support |weak, hidden symbols|linkonce --- Comment #4 from Rafael Ávila de Espíndola rafael.espindola at gmail dot com 2011-02-14 06:36:37 UTC --- I noticed that the real problem is that plugins don't support linkonce. We select the symbol from the IL file but the section from the elf file :-) Shouldn't be too hard to add support, but I will try to get LLVM to use comdat instead. Should I close as wontfix? -- 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 http://lists.gnu.org/mailman/listinfo/bug-binutils