Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2016 21:28:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 214795] rescue binaries do not honour WITH_DEBUG_FILES
Message-ID:  <bug-214795-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214795

            Bug ID: 214795
           Summary: rescue binaries do not honour WITH_DEBUG_FILES
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

With WIP changes rescue's "ls -G" is segfaulting for me:

root@:~ # /rescue/ls -G
Segmentation fault (core dumped)

the rescue build forces debug files off:

share/mk/bsd.crunchgen.mk
50:MK_DEBUG_FILES=3D no

making debugging difficult:

root@:~ # lldb /rescue/ls -c ls.core
(lldb) target create "/rescue/ls" --core "ls.core"
Core file '/root/ls.core' (x86_64) was loaded.
(lldb) bt
* thread #1: tid =3D 100065, 0x00000000006b4050 ls`??? + 112, name =3D 'ls'=
, stop
reason =3D signal SIGSEGV
  * frame #0: 0x00000000006b4050 ls`??? + 112
    frame #1: 0x00000000006b1a6b ls`??? + 1595
    frame #2: 0x000000000069917f ls`??? + 383
(lldb)

This is a little awkward to address, as the crunched binaries are built usi=
ng a
Makefile generated by crunchgen(1).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214795-8>