[Bug 296655] devel/gprbuild: Clients of the Port fail on i386. raised STORAGE_ERROR : s-intman.adb:136 explicit raise
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Jul 2026 04:20:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296655 --- Comment #9 from Alastair Hogge <agh@riseup.net> --- To debug gprbuild I add WITH_DEBUG to /etc/make.conf, enable DEBUG for grpbuild. Build and install gnat12, gprbuild and gbd then: > cd textproc/xmlada > make patch > cd /wrkdirs/usr/ports/textproc/xmlada/work/xmlada-26.0.0 The following is what I use to debug gprbuild, it is based on the do-build target from the Makefile with some environment variables removed (more could probably be removed): > /usr/bin/env PATH=/usr/local/gnat12/bin:/wrkdirs/usr/ports/textproc/xmlada/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin:/usr/local/gnat12/bin TMPDIR="/tmp" PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/textproc/xmlada/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig DONTSTRIP=yes SHELL=/bin/sh NO_LINT=YES STRIP="/usr/local/bin/strip" PREFIX=/usr/local LOCALBASE=/usr/local CC="gcc" CFLAGS="-pipe -g -fstack-protector-strong -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-pipe -g -fstack-protector-strong -fno-strict-aliasing" BSD_INSTALL_PROGRAM="install -m 555" BSD_INSTALL_LIB="install -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" gdb --args gprbuild -XXMLADA_BUILD_MODE=Production -p -vh -vP2 -XPROCESSORS=64 -XLIBRARY_TYPE=relocatable -P xmlada In gdb, I start with a breakpoint at system.mmap.data, this is a few calls before the coredump. system.object_reader.elf32_ops.read_header would be further back in the call stack. -- You are receiving this mail because: You are the assignee for the bug.