On 2024/11/08 15:03, Stuart Henderson wrote:
> On 2024/11/08 14:03, Jeremie Courreges-Anglas wrote:
> > Great, thanks for the tests and patches.  Here's a consolidated diff
> > (also available as ~jca/p/gdb-13-jca7.diff).
> 
> Thanks, that's easier :)
> 
> > I can't infer from gkoehler's report and yours whether 32 bits powerpc
> > support is fine.  mips64 runtime is apparently ok but the tester hit
> > an issue that prevented a full make fake/package.
> > 
> > So I'm down to requesting build results for arm, i386 and powerpc.
> > Runtime/usage test results are welcome for any arch, but please also
> > include data about gdb-9.2 behavior.
> 
> The static link to libgmp fails on i386 with familiar "relocation
> R_386_32 cannot be used against local symbol; recompile with -fPIC"
> errors.
> 
> If I add
> 
> LDFLAGS=       -L${LOCALBASE}/lib
> CONFIGURE_ENV= LDFLAGS="${LDFLAGS}"
> 
> and *remove libgmp.a from /usr/local/lib*, it links against libgmp.so
> and gdb build is successful.
> 
> (if libgmp.a is still present it tries to use that instead and fails).
> 
> Not yet tried runtime.
> 

Runtime tests on i386 with the above changes:

- Light testing of runtime with a program started from gdb works.

- Cores don't seem to work.
Reading symbols from obj/bc...
[New process 310362]

warning: Unexpected size of section `.reg2/310362' in core file.

warning: Corrupted shared library list: 0x7e9ac000 != 0x0
Core was generated by `bc'.
Program terminated with signal SIGQUIT, Quit.

warning: Unexpected size of section `.reg2/310362' in core file.
#0  0x0c0fe087 in ?? ()


I pick up a few extra PLIST entries:

--- pkg/PLIST.orig      Fri Nov  8 06:30:42 2024
+++ pkg/PLIST   Fri Nov  8 08:11:15 2024
@@ -46,12 +46,16 @@ share/gdb/python/gdb/${MODPY_PYCACHE}FrameIterator.${M
 share/gdb/python/gdb/${MODPY_PYCACHE}FrameIterator.${MODPY_PYC_MAGIC_TAG}pyc
 
share/gdb/python/gdb/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
 share/gdb/python/gdb/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+share/gdb/python/gdb/${MODPY_PYCACHE}disassembler.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
+share/gdb/python/gdb/${MODPY_PYCACHE}disassembler.${MODPY_PYC_MAGIC_TAG}pyc
 
share/gdb/python/gdb/${MODPY_PYCACHE}frames.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
 share/gdb/python/gdb/${MODPY_PYCACHE}frames.${MODPY_PYC_MAGIC_TAG}pyc
 
share/gdb/python/gdb/${MODPY_PYCACHE}printing.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
 share/gdb/python/gdb/${MODPY_PYCACHE}printing.${MODPY_PYC_MAGIC_TAG}pyc
 
share/gdb/python/gdb/${MODPY_PYCACHE}prompt.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
 share/gdb/python/gdb/${MODPY_PYCACHE}prompt.${MODPY_PYC_MAGIC_TAG}pyc
+share/gdb/python/gdb/${MODPY_PYCACHE}styling.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
+share/gdb/python/gdb/${MODPY_PYCACHE}styling.${MODPY_PYC_MAGIC_TAG}pyc
 
share/gdb/python/gdb/${MODPY_PYCACHE}types.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
 share/gdb/python/gdb/${MODPY_PYCACHE}types.${MODPY_PYC_MAGIC_TAG}pyc
 
share/gdb/python/gdb/${MODPY_PYCACHE}unwinder.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}

Reply via email to