Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Feb 2020 23:49:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [Bug 242798] sysutils/e2fsprogs: Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: Tests failed: f_inlinedata_dirblocks
Message-ID:  <bug-242798-25139-dgjB2jLj7Q@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242798-25139@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #18 from Matthias Andree <mandree@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.

home | help

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