|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
OpenBSD 7.5 and Free Pascal Compiler.
Good morning.
We use the Free Pascal Compiler for OpenBSD. https://gitlab.com/freepascal.org/fpc The compiler works perfectly on OpenBSD 7.4. (and previous) and applications compiled on OpenBSD 7.4. works correctly on OpenBSD 7.5. But, on OpenBSD 7.5, the compiler itself runs but produces binaries that don't run on OpenBSD (all versions). We are lost, because there is no way to debug it, gdb gives no information about what is wrong. There is a topic on the fpc forum: https://forum.lazarus.freepascal.org...c,67536.0.html But you may see that we are in the dark. What needs to be changed in the fpc sources to make fpc produce running binaries, like it did for OpenBSD 7.4? Or maybe we need to use other settings for the linker? Thanks for your help. Last edited by fredvs; 1st July 2024 at 11:30 AM. |
|
||||
Hello, and welcome!
The port of fpc was marked broken for OpenBSD/amd64 in November of 2023, prior to the 7.5-release, which is why there is no package for the amd64 architecture for 7.5 As noted in the commit log for ports/lang/fpc/Makefile, this was due to an llvm 16 incompatibility. I recommend reaching out to the port maintainer, Pascal Stumpf, who's email address can be obtained from pkg_info(1) or from the contents of the port's Makefile. |
|
|||
Quote:
https://sourceforge.net/projects/fre...OpenBSD/3.2.2/ > this was due to an llvm 16 incompatibility. OK, but why applications compiled on OpenBSD 7.4. runs ok on OpenBSD 7.5 (and 7.4)? > I recommend reaching out to the port maintainer, Pascal Stumpf, OK, I will try. Thanks. |
|
||||
Currently, this port includes two OpenBSD-specific patches, which may be or may not be needed when used on other platforms. One patch adds '-z nobtcfi', the other prevents gzipped man pages.
Ports maintainers will usually notify upstream projects of any patches they have which they believe should be considered by that project for broad applicability. |
|
|||
Quote:
[EDIT] But it does not fix the problem. :-( I sent an email to the openbsd-fpc port maintainer. Of course we will find a solution for openbsd + fpc. Thank you very much for the attention. Fre;D Last edited by fredvs; 1st July 2024 at 09:44 PM. |
|
|||
Quote:
https://forum.lazarus.freepascal.org...html#msg520261 But yes, as you can see, 9 pages of explorations... |
Tags |
fpc, free pascal compiler, openbsd 7.5 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Obtaining Free Pascal library units and IDE not just compiler | in_the_void35 | NetBSD Package System (pkgsrc) | 12 | 5th December 2015 01:35 PM |
Lazarus 1.0: free cross-platform Pascal IDE | J65nko | News | 0 | 30th August 2012 10:22 PM |
New version of Free Pascal, 2.6.0 | J65nko | News | 0 | 11th January 2012 06:13 PM |
OpenBSD/pf without compiler HOWTO update? | zazen | OpenBSD Installation and Upgrading | 6 | 26th June 2011 06:47 AM |
Delphi or Object Pascal In OpenBSD? | SunSpyda | Programming | 14 | 28th November 2009 11:21 AM |