[MacPorts] #69315: fpc: add support for i386
MacPorts
noreply at macports.org
Sat Feb 10 22:56:41 UTC 2024
#69315: fpc: add support for i386
--------------------------+----------------------
Reporter: barracuda156 | Owner: kamischi
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Keywords: i386 | Port: fpc
--------------------------+----------------------
Just to track the issue for now.
I have rewritten extract phase (dmg is different, PowerPC implementation
does not work), but build fails quickly. It also asks for clang as
assembler, which should not be forced on older systems.
{{{
/bin/rm -f
/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/rtl/units/i386-darwin/math.rst
/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/rtl/units/i386-darwin/typinfo.rst
/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/rtl/units/i386-darwin/classes.rst
/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/rtl/units/i386-darwin/sysconst.rst
/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/rtl/units/i386-darwin/rtlconsts.rst
/bin/rm -f fpcmade.i386-darwin Package.fpc ./ppas.sh script.res link.res
/bin/rm -f *.s *_ppas.sh ppas.sh ppaslink.sh
make[7]: Leaving directory
`/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/rtl/darwin'
make[6]: Leaving directory
`/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/rtl'
/usr/bin/make -C
/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/rtl
'OPT=-v0 -ap -WM10.5 -Aas ' all
make[6]: Entering directory
`/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/rtl'
/usr/bin/make -C darwin all
make[7]: Entering directory
`/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/rtl/darwin'
/opt/local/bin/gmkdir -p
/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/rtl/units/i386-darwin
/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/ppc386
-Ur -dFPC_USE_LIBC -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix
-Fi../bsd -Fi../bsd/i386 -Fi../darwin/i386 -FE.
-FU/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/rtl/units/i386-darwin
-v0 -ap -WM10.5 -Aas -di386 -dRELEASE -Us -Sg ../bsd/system.pp
system.inc(721,40) Warning: Comparison might be always false due to range
of constant and expression
system.inc(722,5) Warning: unreachable code
dynlib.inc(173,10) Warning: Function result does not seem to be set
dynlib.inc(178,10) Warning: Function result does not seem to be set
dynlib.inc(183,10) Warning: Function result does not seem to be set
dynlib.inc(188,10) Warning: Function result does not seem to be set
dynlib.inc(193,10) Warning: Function result does not seem to be set
dynlib.inc(198,10) Warning:/bin/sh: clang: command not found
Function result does not seem to be set
system.pp(395) Error: Assembler clang not found, switching to external
assembling
system.pp(395) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[7]: *** [system.ppu] Error 1
make[7]: Leaving directory
`/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/rtl/darwin'
make[6]: *** [darwin_all] Error 2
make[6]: Leaving directory
`/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/rtl'
make[5]: *** [rtl] Error 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69315>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list