[Bug 227552] w, uptime i386 cordeump
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue May 8 19:09:50 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227552
Dimitry Andric <dim at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|New |Open
--- Comment #20 from Dimitry Andric <dim at FreeBSD.org> ---
Hmm, now that we've identified .tbss as a contributor to the problem, it looks
relevant that the r331838 version of libxo.so.0 (compiled with the clang 6.0.0
update) does NOT have a "section to segment mapping" for .tbss:
======================================================================
File: libxo.so.0.r331837
[...]
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x000000 0x00000000 0x00000000 0x17224 0x17224 R E 0x1000
LOAD 0x017228 0x00018228 0x00018228 0x0074d 0x007a0 RW 0x1000
DYNAMIC 0x017324 0x00018324 0x00018324 0x000d8 0x000d8 RW 0x4
TLS 0x017228 0x00018228 0x00018228 0x00000 0x00658 R 0x8
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4
Section to Segment mapping:
Segment Sections...
00 .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn
.rel.plt .init .plt .text .fini .rodata .eh_frame .comment .gnu_debuglink
.shstrtab
01 .tbss .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data
.bss
02 .dynamic
03 .tbss .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt
04
There are 28 section headers, starting at offset 0x17b4c:
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf
Al
[...]
[15] .tbss NOBITS 00018228 017228 000658 00 WAT 0 0
8
======================================================================
File: /jail/test-r331838/lib/libxo.so.0.r331838
[...]
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x000000 0x00000000 0x00000000 0x17160 0x17160 R E 0x1000
LOAD 0x017160 0x00018160 0x00018160 0x00604 0x00654 RW 0x1000
DYNAMIC 0x017264 0x00018264 0x00018264 0x000d8 0x000d8 RW 0x4
TLS 0x017160 0x00018764 0x00018764 0x00000 0x00050 R 0x8
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RW 0x4
Section to Segment mapping:
Segment Sections...
00 .hash .gnu.hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn
.rel.plt .init .plt .text .fini .rodata .eh_frame .comment .gnu_debuglink
.shstrtab
01 .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data .bss
02 .dynamic
03 .bss
04
There are 28 section headers, starting at offset 0x1793c:
Section Headers:
[Nr] Name Type Addr Off Size ES Flg Lk Inf
Al
[...]
[15] .tbss NOBITS 00018160 017160 000658 00 WAT 0 0
8
In both r331837 and r331838 worlds, /usr/bin/ld is the GNU BFD ld, so it can't
be caused by ldd being updated from 5.0 to 6.0. It must be something in an
object file that is being linked into libxo.so.0.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list