Yes, i could compile it. I needed to do the very same tweaks as before (copying the cnetdb.pas to the units dir, making a fake revision.inc and passing USESVN2REVISIONINC=0 to gmake) and more (also passing PP=/root/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.sh to gmake and adding -Topenbsd to /root/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.sh (it did not worked if i added the flag to the config)), but it worked.
Unfortunately, when i try to run the result on OpenBSD, the results are almost the same.
startlazarus:[?1034hGNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd7.5"...
(gdb) run
Starting program: /tmp/lazarus/startlazarus
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Program received signal SIGFPE, Arithmetic exception.
0x000000024c3f939b in hb_font_t::mults_changed ()
from /usr/local/lib/libharfbuzz.so.18.7
(gdb) step
Single stepping until exit from function _ZN9hb_font_t13mults_changedEv,
which has no line number information.
(startlazarus:95638): GLib-GObject-CRITICAL **: 23:56:40.647: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Program received signal SIGSEGV, Segmentation fault.
0x000000027580c768 in signal_emit_unlocked_R.123 ()
from /usr/local/lib/libgobject-2.0.so.4200.18
(gdb) step
Single stepping until exit from function signal_emit_unlocked_R.123,
which has no line number information.
Program received signal SIGFPE, Arithmetic exception.
[Switching to thread 126049]
FcCharSetFindLeafCreate (fcs=0x2e95f49c0, ucs4=119808)
at /usr/xenocara/lib/fontconfig/src/../../../dist/fontconfig/src/fccharset.c:110
110 /usr/xenocara/lib/fontconfig/src/../../../dist/fontconfig/src/fccharset.c: No such file or directory.
in /usr/xenocara/lib/fontconfig/src/../../../dist/fontconfig/src/fccharset.c
Current language: auto; currently minimal
(gdb) step
Program received signal SIGSEGV, Segmentation fault.
0x0000000238e79000 in ?? ()
(gdb) step
Cannot find bounds of current function
(gdb) quit
The program is running. Exit anyway? (y or n)
lazarus:[?1034hGNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd7.5"...
(gdb) run
Starting program: /tmp/lazarus/lazarus
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Error while reading shared library symbols:
Dwarf Error: wrong version in compilation unit header (is 4, should be 2) [in module /usr/libexec/ld.so]
Program received signal SIGFPE, Arithmetic exception.
0x000000022249339b in hb_font_t::mults_changed ()
from /usr/local/lib/libharfbuzz.so.18.7
(gdb) step
Single stepping until exit from function _ZN9hb_font_t13mults_changedEv,
which has no line number information.
(lazarus:66912): GLib-GObject-CRITICAL **: 23:58:23.474: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Program received signal SIGSEGV, Segmentation fault.
0x0000000230e76768 in signal_emit_unlocked_R.123 ()
from /usr/local/lib/libgobject-2.0.so.4200.18
(gdb) step
Single stepping until exit from function signal_emit_unlocked_R.123,
which has no line number information.
Die: DW_TAG_set_type (abbrev = 36, offset = 4539496)
has children: FALSE
attributes:
DW_AT_name (DW_FORM_string) string: "TCOMPONENTSTATE"
DW_AT_byte_size (DW_FORM_data2) constant: 4
DW_AT_type (DW_FORM_ref4) constant ref: 4539519 (adjusted)
Dwarf Error: Cannot find type of die [in module /tmp/lazarus/lazarus]
(gdb) step
Die: DW_TAG_set_type (abbrev = 36, offset = 4539496)
has children: FALSE
attributes:
DW_AT_name (DW_FORM_string) string: "TCOMPONENTSTATE"
DW_AT_byte_size (DW_FORM_data2) constant: 4
DW_AT_type (DW_FORM_ref4) constant ref: 4539519 (adjusted)
Dwarf Error: Cannot find type of die [in module /tmp/lazarus/lazarus]
(gdb) quit
The program is running. Exit anyway? (y or n)