[Bug ld/20428] ld powerpc64le NULL deref in ppc_get_stub_entry when linking code in not-executable sections

2016-08-01 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20428 npiggin at gmail dot com changed: What|Removed |Added CC||amodra at gmail dot com

[Bug ld/20428] ld powerpc64le NULL deref in ppc_get_stub_entry when linking code in not-executable sections

2016-08-01 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20428 npiggin at gmail dot com changed: What|Removed |Added Target||powerpc64le-unknown-linux-g

[Bug ld/20428] New: ld powerpc64le NULL deref in ppc_get_stub_entry when linking code in not-executable sections

2016-08-01 Thread npiggin at gmail dot com
: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: npiggin at gmail dot com Target Milestone: --- This bug happens with git master commit 80b476c2bf85be6676cc6b55dab232730e124147, also

[Bug ld/20428] ld powerpc64le NULL deref in ppc_get_stub_entry when linking code in not-executable sections

2016-08-01 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20428 --- Comment #1 from npiggin at gmail dot com --- For better or worse, Linux kernel wants to do this in order to run a test case for non-executable mapping of data. Other architectures seem to work, and gold with powerpc64le works with my

[Bug gold/20522] linking powerpc64le Linux kernel with --emit-relocs causes internal error in set_info_section, at output.h:3386

2016-08-30 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20522 --- Comment #3 from npiggin at gmail dot com --- Revisiting this issue, the "internal error" does go away when modifying the linker script as you suggest. -- You are receiving this mail because: You are on the CC list f

[Bug gold/20523] powerpc64le kernel build with additional cross section references fails

2016-08-30 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20523 npiggin at gmail dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug gold/20523] New: powerpc64le kernel build with additional cross section references fails

2016-08-26 Thread npiggin at gmail dot com
Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: npiggin at gmail dot com CC: ian at airs dot com Target Milestone: --- Making a small change to the way Linux is linked, moving some text to a different

[Bug gold/20522] New: linking powerpc64le Linux kernel with --emit-relocs causes internal error in set_info_section, at output.h:3386

2016-08-26 Thread npiggin at gmail dot com
Version: 2.28 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: npiggin at gmail dot com CC: ian at airs dot com Target Milestone: --- I have a requirement

[Bug gold/20523] powerpc64le kernel build with additional cross section references fails

2016-08-26 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20523 npiggin at gmail dot com changed: What|Removed |Added Target||powerpc64le-unknown-linux-g

[Bug ld/20519] "PowerPC64, Don't copy weak symbol dyn_relocs to weakdef." causes abort at elf64-ppc.c:14898

2016-08-26 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20519 --- Comment #1 from npiggin at gmail dot com --- Confirmed to fail with head of tree as of Aug 26, commit 980aa3e6dfeb0f018915f65be4b2987667f31fe9 -- You are receiving this mail because: You are on the CC list for the bug

[Bug ld/20519] "PowerPC64, Don't copy weak symbol dyn_relocs to weakdef." causes abort at elf64-ppc.c:14898

2016-08-26 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20519 --- Comment #2 from npiggin at gmail dot com --- Confirmed this does not require any kernel modifications, a large kernel, or --gc-sections or --emit-relocs etc. Standard upstream Linux kernel with minimal config reproduces the error

[Bug ld/20519] New: "PowerPC64, Don't copy weak symbol dyn_relocs to weakdef." causes abort at elf64-ppc.c:14898

2016-08-26 Thread npiggin at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: npiggin at gmail dot com CC: amodra at gmail dot com Target Milestone: --- Host: powerpc64le-unknown

[Bug ld/20519] "PowerPC64, Don't copy weak symbol dyn_relocs to weakdef." causes abort at elf64-ppc.c:14898

2016-08-28 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20519 --- Comment #5 from npiggin at gmail dot com --- Yes this works now, thank you. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug

[Bug gold/20523] powerpc64le kernel build with additional cross section references fails

2016-08-29 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20523 --- Comment #3 from npiggin at gmail dot com --- Apologies, it needs this hunk as well. diff --git a/arch/powerpc/include/asm/feature-fixups.h b/arch/powerpc/include/asm/feature-fixups.h index 9a67a38..f7796b3 100644 --- a/arch/powerpc

[Bug gold/20522] linking powerpc64le Linux kernel with --emit-relocs causes internal error in set_info_section, at output.h:3386

2016-08-28 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20522 --- Comment #2 from npiggin at gmail dot com --- Okay, it looks like it would be cleaner if I change the script to use *(.rela.dyn) when I introduce --emit-relocs to the build. As you say, ld is not moving the rela sections anyway. I don't

[Bug gold/20878] New: gold powerpc64 le linux fails to link large pie Linux kernel

2016-11-28 Thread npiggin at gmail dot com
: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: npiggin at gmail dot com CC: ian at airs dot com Target Milestone: --- powerpc64le Linux kernel configured with all options and CONFIG_RELOCATABLE fails

[Bug gold/20878] gold powerpc64 le linux fails to link large pie Linux kernel

2016-11-28 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20878 npiggin at gmail dot com changed: What|Removed |Added CC||amodra at gmail dot com

[Bug gold/20749] New: gold does not support --orphan-handling

2016-10-30 Thread npiggin at gmail dot com
Component: gold Assignee: ccoutant at gmail dot com Reporter: npiggin at gmail dot com CC: ian at airs dot com Target Milestone: --- -- You are receiving this mail because: You are on the CC list for the bug. ___ bug

[Bug gold/20767] New: empty archive input causes "internal error in target, at ../../gold/parameters.h:105"

2016-11-04 Thread npiggin at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: npiggin at gmail dot com CC: ian at airs dot com Target Milestone: --- echo "EXTERN(test)" > test.lds ar rcsD test.

[Bug gold/20767] empty archive input causes "internal error in target, at ../../gold/parameters.h:105"

2016-11-04 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20767 npiggin at gmail dot com changed: What|Removed |Added CC||ccoutant at gmail dot com

[Bug gold/20878] gold powerpc64 le linux fails to link large Linux kernel

2016-12-01 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20878 --- Comment #3 from npiggin at gmail dot com --- The files are too large to attach here. I've uploaded to: fs.ozlabs.ibm.com/~npiggin/binutils-pr20878.tar.xz (IBM-internal, apologies to others) You'll want to unpack that inside a new

[Bug gold/20878] gold powerpc64 le linux fails to link large Linux kernel

2016-12-18 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20878 npiggin at gmail dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug gold/20522] linking powerpc64le Linux kernel with --emit-relocs causes internal error in set_info_section, at output.h:3386

2016-12-07 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20522 --- Comment #4 from npiggin at gmail dot com --- Confirmed again, the internal error only occurs when linking with *(.rela*), and not with *(.rela.dyn). It would be nice to turn this into a useful error message, but importance could

[Bug gold/20878] gold powerpc64 le linux fails to link large Linux kernel

2016-12-07 Thread npiggin at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20878 --- Comment #6 from npiggin at gmail dot com --- This commit fixes the bug for me. Thank you. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing