[Bug ld/16627] New: internal error, aborting at elf64-x86-64.c line 3363 in elf_x86_64_relocate_section

2014-02-23 Thread stefan.bru...@rwth-aachen.de
https://sourceware.org/bugzilla/show_bug.cgi?id=16627

Bug ID: 16627
   Summary: internal error, aborting at elf64-x86-64.c line 3363
in elf_x86_64_relocate_section
   Product: binutils
   Version: 2.24
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: stefan.bru...@rwth-aachen.de

I tried compiling systemd 209 with the --enable-compat-libs option. This
configure switch creates compat libs using "__attribute ((ifunc ...))" to
generate the stub compat libs.

The failing command was:

gcc -shared  -fPIC -DPIC  .libs/libsystemd_login_la-libsystemd-login.o  
-Wl,-rpath -Wl,/home/abuild/rpmbuild/BUILD/systemd-209/.libs -Wl,-rpath
-Wl,/usr/lib64 ./.libs/libsystemd.so -L/usr/lib64 -llzma -lgcrypt -lgpg-error
-lrt -lresolv -ldl  -flto -O2 -Wl,--as-needed -Wl,--no-undefined
-Wl,--gc-sections -Wl,-z -Wl,relro -Wl,-z -Wl,now
-Wl,--version-script=./src/compat-libs/libsystemd-login.sym   -pthread
-Wl,-soname -Wl,libsystemd-login.so.0 -o .libs/libsystemd-login.so.0.9.2


input_section->flags is 0x20011f
h->plt.offset is 0x

-- 
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 ld/16627] internal error, aborting at elf64-x86-64.c line 3363 in elf_x86_64_relocate_section

2014-02-23 Thread stefan.bru...@rwth-aachen.de
https://sourceware.org/bugzilla/show_bug.cgi?id=16627



--- Comment #1 from Stefan Brüns  ---

This only happens with the "legacy" linker, gold works fine



-- 

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/19278] load segment created outside memory section specified in linker script

2018-01-16 Thread stefan.bru...@rwth-aachen.de
https://sourceware.org/bugzilla/show_bug.cgi?id=19278

Stefan Brüns  changed:

   What|Removed |Added

 CC||stefan.bruens@rwth-aachen.d
   ||e

--- Comment #1 from Stefan Brüns  ---
The mapfile contains the following:

Memory map
 ** file header
0x07fff000   0x34
 ** segment headers
0x07fff034   0xa0
.text   0x0800 0x1b78 load address 0x800 

i.e. it seems like it prepends the file and segment headers.

This probably is also the reason for the "address of section '' moves
backward" error message, e.g.:

gold: error: address of section '.rodata' moves backward from 0x8001b9c to
0x8001b78
.note.gnu.build-id
0x08001b78   0x24
 ** note header
0x08001b78   0x10
 ** zero fill   0x08001b88   0x14
.rodata 0x08001b78  0x144

Note, the build-id is an orphan section here.

-- 
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/19278] load segment created outside memory section specified in linker script

2018-01-16 Thread stefan.bru...@rwth-aachen.de
https://sourceware.org/bugzilla/show_bug.cgi?id=19278

--- Comment #2 from Stefan Brüns  ---
found a way to suppress at least the "outside of any MEMORY region"
error/warning:

---
PHDRS { 
  hdr PT_PHDR FILEHDR PHDRS;
  note PT_NOTE;
  text PT_LOAD;
  data PT_LOAD;
}

SECTIONS {
  .text : { 
  } >rom :text

  ...
  .data : {
  } >ram AT >rom :data
}
---

-- 
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 binutils/28714] New: Some tools (e.g. size) deliberately omitted from "tooldir" installation

2021-12-19 Thread stefan.bru...@rwth-aachen.de
https://sourceware.org/bugzilla/show_bug.cgi?id=28714

Bug ID: 28714
   Summary: Some tools (e.g. size) deliberately omitted from
"tooldir" installation
   Product: binutils
   Version: 2.38 (HEAD)
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: stefan.bru...@rwth-aachen.de
  Target Milestone: ---

Only some of the built tools are installed into the $tooldir:

https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=binutils/Makefile.am;hb=d8bbdb9dd5653716b0f904bba69ca5b63acaca2d#l111

Most notably, "size" is omitted, but also addr2line, elfedit, gprof and
strings.

Whats the rationale which program also gets the symlink in the $tooldir, and
which is only installed into $bindir?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug binutils/28714] Some tools (e.g. size) deliberately omitted from "tooldir" installation

2021-12-19 Thread stefan.bru...@rwth-aachen.de
https://sourceware.org/bugzilla/show_bug.cgi?id=28714

Stefan Brüns  changed:

   What|Removed |Added

   See Also||https://bugzilla.suse.com/s
   ||how_bug.cgi?id=1185712

-- 
You are receiving this mail because:
You are on the CC list for the bug.