Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: james410 at cowgill dot org.uk
Target Milestone: ---
Created attachment 10625
--> https://sourceware.org/bugzilla/attachment.cgi?id
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: james410 at cowgill dot org.uk
Target Milestone: ---
I just noticed that a source file containing an invalid .reloc involving local
symbols causes as to segfault. This affects at least x86_64 and mips (but
probably
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: james410 at cowgill dot org.uk
Target Milestone: ---
Hi,
On MIPS, using "-z defs" and "--warn-unresolved-symbols" while building a
https://sourceware.org/bugzilla/show_bug.cgi?id=21762
--- Comment #1 from James Cowgill ---
> Breakpoint 1, mips_compressed_mark_label (label=0x55a599e0) at
> ../../binutils-gdb/gas/config/tc-mips.c:4389
> 4389gas_assert (HAVE_CODE_COMPRESSION);
> (gdb) bt
> #0 mips_compressed_mark_labe
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: james410 at cowgill dot org.uk
Target Milestone: ---
On MIPS, attempting to use a STABS directive (.stabs, .stabn or .stabd) before
a .set directive has occured
https://sourceware.org/bugzilla/show_bug.cgi?id=21334
--- Comment #7 from James Cowgill ---
(In reply to Maciej W. Rozycki from comment #6)
> In fact, based on the observation previously made that this function is
> already inconsistently called in the `--gc-sections' case even in the
> static ca
https://sourceware.org/bugzilla/show_bug.cgi?id=21334
--- Comment #5 from James Cowgill ---
Maciej, your fix does fix my testcase, but doesn't seem to fix supermin. I now
get this error repeatedly when I try to build supermin or build anything
statically:
./ld: BFD (GNU Binutils) 2.28.51.2017040
https://sourceware.org/bugzilla/show_bug.cgi?id=21334
James Cowgill changed:
What|Removed |Added
CC||ma...@linux-mips.org
--
You are rece
https://sourceware.org/bugzilla/show_bug.cgi?id=21334
James Cowgill changed:
What|Removed |Added
CC||hobbitalastair at yandex dot
com
--
https://sourceware.org/bugzilla/show_bug.cgi?id=21334
James Cowgill changed:
What|Removed |Added
Target||mips*-*-*
--
You are receiving this
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: james410 at cowgill dot org.uk
Target Milestone: ---
Originally from the Debian supermin package:
https://buildd.debian.org/status/fetch.php?pkg=supermin&
https://sourceware.org/bugzilla/show_bug.cgi?id=21233
--- Comment #7 from James Cowgill ---
I think I see the problem, you need to pass -fPIE when building main.o to
trigger the bug.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=21233
--- Comment #6 from James Cowgill ---
I've attached the built objects. They were built with Debian's mips cross
compiler:
$ mipsel-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=mipsel-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc-cross/
https://sourceware.org/bugzilla/show_bug.cgi?id=21233
--- Comment #5 from James Cowgill ---
Created attachment 9923
--> https://sourceware.org/bugzilla/attachment.cgi?id=9923&action=edit
alpha-lib.so built with GCC 6
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=21233
--- Comment #4 from James Cowgill ---
Created attachment 9922
--> https://sourceware.org/bugzilla/attachment.cgi?id=9922&action=edit
main.o built with GCC 6
--
You are receiving this mail because:
You are on the CC list for the bug.
__
https://sourceware.org/bugzilla/show_bug.cgi?id=21233
--- Comment #2 from James Cowgill ---
This appears to be strongly related to PR/20828.
I managed to reduce it down to this:
$ cat alpha-lib.c
void alpha(void) {}
$ cat main.c
void alpha(void);
void beta(void) { alpha(); }
$ gcc -shared alp
https://sourceware.org/bugzilla/show_bug.cgi?id=21233
James Cowgill changed:
What|Removed |Added
CC||james410 at cowgill dot org.uk
https://sourceware.org/bugzilla/show_bug.cgi?id=20828
James Cowgill changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution|FIXED
https://sourceware.org/bugzilla/show_bug.cgi?id=21054
James Cowgill changed:
What|Removed |Added
Attachment #9754|0 |1
is obsolete|
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: james410 at cowgill dot org.uk
CC: ian at airs dot com
Target Milestone: ---
Created attachment 9754
--> https://sourceware.org/bugzilla/attachment.cgi?id=9754&action=edit
gold-mips
https://sourceware.org/bugzilla/show_bug.cgi?id=20828
--- Comment #16 from James Cowgill ---
(In reply to Maciej W. Rozycki from comment #15)
> NB while I'll implement the missing dynsym ordering case for the MIPS
> backend so that it follows the ELF gABI even if weird output is somehow
> produce
https://sourceware.org/bugzilla/show_bug.cgi?id=20828
--- Comment #10 from James Cowgill ---
(In reply to Maciej W. Rozycki from comment #8)
> By the MIPS psABI's definition you shall not have external GGA_NONE
> symbols as any GGA_NONE symbols will be assigned to the local GOT part,
> whose entr
https://sourceware.org/bugzilla/show_bug.cgi?id=20828
--- Comment #9 from James Cowgill ---
I added some debug code ontop of my patch and it seems that at the time the
dynamic symbol table indexes are allocated, all the symbols are GGA_NONE.
debug: _fdata, LOCAL, GGA_NONE
debug: _ftext, LOCAL, G
https://sourceware.org/bugzilla/show_bug.cgi?id=20828
--- Comment #7 from James Cowgill ---
(In reply to Maciej W. Rozycki from comment #6)
> Do we need to have these hidden symbols in the dynsym table at all in
> the first place? It looks like unnecessary clutter to me, they won't
> ever be use
https://sourceware.org/bugzilla/show_bug.cgi?id=20828
--- Comment #2 from James Cowgill ---
Created attachment 9649
--> https://sourceware.org/bugzilla/attachment.cgi?id=9649&action=edit
patch attempt 1
So I had a go at fixing this. The patch basically does an extra pass to assign
indexes to a
: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: james410 at cowgill dot org.uk
Target Milestone: ---
Originally from Debian: https://bugs.debian.org/844357
Related: https://bugs.debian.org/844227
https://sourceware.org/bugzilla/show_bug.cgi?id=20649
--- Comment #4 from James Cowgill ---
Maciej, is it OK for me to ask for your patch to be applied to the Debian
binutils package?
--
You are receiving this mail because:
You are on the CC list for the bug.
___
https://sourceware.org/bugzilla/show_bug.cgi?id=17560
James Cowgill changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=20649
--- Comment #3 from James Cowgill ---
Thanks for the patch, it seems to work. I ran a full build of blender where the
bug originally came from and it builds fine now.
James
--
You are receiving this mail because:
You are on the CC list for
https://sourceware.org/bugzilla/show_bug.cgi?id=20649
--- Comment #1 from James Cowgill ---
Created attachment 9541
--> https://sourceware.org/bugzilla/attachment.cgi?id=9541&action=edit
src.s
Assembly output from compiling the testcase with:
mipsel-linux-gnu-g++-6 -O2 -fPIC -S src.cpp
--
Y
: gas
Assignee: unassigned at sourceware dot org
Reporter: james410 at cowgill dot org.uk
Target Milestone: ---
Created attachment 9540
--> https://sourceware.org/bugzilla/attachment.cgi?id=9540&action=edit
src.cpp
Debian bug: https://bugs.debian.org/834147
Moved fro
https://sourceware.org/bugzilla/show_bug.cgi?id=18076
--- Comment #1 from James Cowgill ---
Created attachment 8163
--> https://sourceware.org/bugzilla/attachment.cgi?id=8163&action=edit
backtrace
--
You are receiving this mail because:
You are on the CC list for the bug.
___
Assignee: unassigned at sourceware dot org
Reporter: james410 at cowgill dot org.uk
Created attachment 8162
--> https://sourceware.org/bugzilla/attachment.cgi?id=8162&action=edit
lj_vm.s
In Debian, compiling trafficserver 5.2.0 causes ld to segfault in
_bfd_elf_gc_ma
: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: james410 at cowgill dot org.uk
With the combination of:
- MIPS
- Linking with --as-needed
- The main() function being declared hidden
- Linking with a shared library which
https://sourceware.org/bugzilla/show_bug.cgi?id=15428
--- Comment #3 from James Cowgill ---
There might already be an (at least related) test for this. If I revert the
commit I mentioned I get:
...
Running /home/jcowgill/binutils-gdb/ld/testsuite/ld-mips-elf/mips-elf.exp ...
FAIL: MIPS magic __eh
https://sourceware.org/bugzilla/show_bug.cgi?id=15428
James Cowgill changed:
What|Removed |Added
CC||james410 at cowgill dot org.uk
36 matches
Mail list logo