[Bug 214795] rescue binaries do not honour WITH_DEBUG_FILES

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 23 21:28:18 UTC 2016


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

            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 at FreeBSD.org
          Reporter: emaste at 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= 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 = 100065, 0x00000000006b4050 ls`??? + 112, name = 'ls', stop
reason = 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 using a
Makefile generated by crunchgen(1).

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


More information about the freebsd-bugs mailing list