[Bug 232387] head -r339076: system crash in vnet_epair_init during kern_jail_set in a kyua test on powerpc64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Oct 26 00:31:13 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232387

--- Comment #10 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
(In reply to Mark Millard from comment #9)

In other terms, the gcc 4.2.1 WITH_BINUTILS_BOOTSTRAP= tool
chain based build generates (elfdump output):

entry: 72
        st_name: __start_set_vnet
        st_value: 0x15448
        st_size: 0
        st_info: STT_NOTYPE STB_GLOBAL
        st_shndx: 65521

where 65521 is SHN_ABS, i.e., 0xfff1 .

By contrast the devel/powerpc64-gcc + base/binutils
(or devel/powerpc64-binutils ) toolchain context
generates:

entry: 73
        st_name: __start_set_vnet
        st_value: 0x14d30
        st_size: 0
        st_info: STT_NOTYPE STB_GLOBAL
        st_shndx: 17

The 17 looks odd to me because:

Sections:
Idx Name          Size      VMA               LMA               File off  Algn
  0 .note.gnu.build-id 00000048  0000000000000158  0000000000000158  00000158 
2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
. . .
 16 set_vnet      00000008  0000000000014d30  0000000000014d30  00004d30  2**3
                  CONTENTS, ALLOC, LOAD, DATA
 17 .bss          00000008  0000000000014d38  0000000000014d38  00004d38  2**2
                  ALLOC
. . .

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ppc mailing list