[Bug 242798] sysutils/e2fsprogs: Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: Tests failed: f_inlinedata_dirblocks

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 4 23:49:09 UTC 2020


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

--- Comment #18 from Matthias Andree <mandree at FreeBSD.org> ---
:-(

Then we'll need to do some more debugging along these lines:

    cd /usr/ports/sysutils/e2fsprogs
    make clean NOCLEANDEPENDS=1
    make WITH_DEBUG=yes configure # this stops before building so we can edit
source code
    edit work/e2fsprogs-1.45.5/e2fsck/sigcatcher.c
    just above line 400, erase the entire line that reads "sigaction(SIGSEGV,
&sa, 0);", this makes sure that the FreeBSD kernel with drop the core on
SIGSEGV.
    make WITH_DEBUG=yes # this completes the build
    => now you should get a core file from the tests,
work/e2fsprogs-1.45.5/tests/e2fsck.core
    gdb work/e2fsprogs-1.45.5/e2fsck/e2fsck
work/e2fsprogs-1.45.5/tests/e2fsck.core
    inside gdb, optionally: set pagination off  (see how to disable pagination
prompt in GDB)
    inside gdb: bt full
    inside gdb: bt

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


More information about the freebsd-ppc mailing list