[MacPorts] #69315: fpc: add support for i386

MacPorts noreply at macports.org
Mon Feb 12 20:40:52 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
Resolution:                |   Keywords:  i386
      Port:  fpc           |
---------------------------+----------------------

Comment (by barracuda156):

 Using `-Aas-darwin` picks the right assembler, but then it fails on:
 {{{
 make[7]: Entering directory
 `/opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/rtl/darwin'
 /opt/local/var/macports/build/_opt_SnowLeopardPorts_lang_fpc/fpc/work/fpcbuild-3.2.2/fpcsrc/compiler/ppc1
 -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-darwin -di386 -dRELEASE  -Us -Sg ../bsd/system.pp
 ustrings.inc(2364,66) Warning: function result variable of a managed type
 does not seem to be initialized
 ustrings.inc(2374,56) Warning: function result variable of a managed type
 does not seem to be initialized
 dynarr.inc(313,39) Warning: function result variable of a managed type
 does not seem to be initialized
 dynarr.inc(796,21) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(110,38) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(117,42) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(123,36) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(129,38) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(135,36) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(141,38) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(161,33) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(167,33) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(173,33) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(179,33) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(185,33) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(191,33) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(197,36) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(203,35) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(210,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(216,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(222,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(230,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(239,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(246,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(252,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(258,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(264,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(270,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(286,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(294,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(302,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(310,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(318,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(326,36) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(333,41) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(340,35) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(451,32) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(457,32) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(548,38) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(806,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(812,34) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(896,38) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(902,38) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(908,38) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(914,38) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(920,38) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(926,38) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(932,38) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(938,38) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(944,53) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(950,53) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(956,53) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(963,39) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(969,53) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(976,39) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(982,39) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(988,53) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(1004,53) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(1012,53) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(1020,53) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(1028,53) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(1036,53) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(1044,53) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(1051,58) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(1058,38) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(1064,31) Warning: function result variable of a managed type
 does not seem to be initialized
 variant.inc(1071,33) Warning: functio{standard input}:6:Unknown pseudo-op:
 .cfi_startproc
 {standard input}:21:Unknown pseudo-op: .cfi_endproc
 {standard input}:27:Unknown pseudo-op: .cfi_startproc
 {standard input}:29:Unknown pseudo-op: .cfi_def_cfa_offset
 {standard input}:29:Rest of line ignored. 1st junk character valued 56
 (8).
 {standard input}:30:Unknown pseudo-op: .cfi_offset
 {standard input}:30:Rest of line ignored. 1st junk character valued 37
 (%).
 {standard input}:32:Unknown pseudo-op: .cfi_def_cfa_register
 {standard input}:32:Rest of line ignored. 1st junk character valued 37
 (%).
 {standard input}:58:Unknown pseudo-op: .cfi_endproc
 {standard input}:64:Unknown pseudo-op: .cfi_startproc
 {standard input}:66:Unknown pseudo-op: .cfi_def_cfa_offset
 {standard input}:66:Rest of line ignored. 1st junk character valued 56
 (8).
 {standard input}:67:Unknown pseudo-op: .cfi_offset
 {standard input}:67:Rest of line ignored. 1st junk character valued 37
 (%).
 {standard input}:69:Unknown pseudo-op: .cfi_def_cfa_register
 {standard input}:69:Rest of line ignored. 1st junk character valued 37
 (%).
 {standard input}:86:Unknown pseudo-op: .cfi_endproc
 {standard input}:92:Unknown pseudo-op: .cfi_startproc
 {standard input}:94:Unknown pseudo-op: .cfi_def_cfa_offset
 {standard input}:94:Rest of line ignored. 1st junk character valued 56
 (8).
 {standard input}:95:Unknown pseudo-op: .cfi_offset
 {standard input}:95:Rest of line ignored. 1st junk character valued 37
 (%).
 {standard input}:97:Unknown pseudo-op: .cfi_def_cfa_register
 {standard input}:97:Rest of line ignored. 1st junk character valued 37
 (%).
 {standard input}:126:Unknown pseudo-op: .cfi_endproc
 {standard input}:132:Unknown pseudo-op: .cfi_startproc
 {standard input}:134:Unknown pseudo-op: .cfi_def_cfa_offset
 {standard input}:134:Rest of line ignored. 1st junk character valued 56
 (8).
 {standard input}:135:Unknown pseudo-op: .cfi_offset
 {standard input}:135:Rest of line ignored. 1st junk character valued 37
 (%).
 {standard input}:137:Unknown pseudo-op: .cfi_def_cfa_register
 {standard input}:137:Rest of line ignored. 1st junk character valued 37
 (%).
 {standard input}:166:Unknown pseudo-op: .cfi_endproc
 {standard input}:172:Unknown pseudo-op: .cfi_startproc
 {standard input}:245:Unknown pseudo-op: .cfi_endproc
 {standard input}:251:Unknown pseudo-op: .cfi_startproc
 {standard input}:300:Unknown pseudo-op: .cfi_endproc
 {standard input}:306:Unknown pseudo-op: .cfi_startproc
 {standard input}:308:Unknown pseudo-op: .cfi_def_cfa_offset
 {standard input}:308:Rest of line ignored. 1st junk character valued 56
 (8).
 {standard input}:309:Unknown pseudo-op: .cfi_offset
 {standard input}:309:Rest of line ignored. 1st junk character valued 37
 (%).
 {standard input}:311:Unknown pseudo-op: .cfi_def_cfa_register
 {standard input}:311:Rest of line ignored. 1st junk character valued 37
 (%).
 {standard input}:343:Unknown pseudo-op: .cfi_endproc
 {standard input}:353:Unknown pseudo-op: .cfi_startproc
 {standard input}:355:Unknown pseudo-op: .cfi_def_cfa_offset
 {standard input}:355:Rest of line ignored. 1st junk character valued 56
 (8).
 {standard input}:356:Unknown pseudo-op: .cfi_offset
 {standard input}:356:Rest of line ignored. 1st junk character valued 37
 (%).
 {standard input}:358:Unknown pseudo-op: .cfi_def_cfa_register
 {standard input}:358:Rest of line ignored. 1st junk character valued 37
 (%).
 }}}

 cfi directives are indeed not supported, AFAIK.

-- 
Ticket URL: <https://trac.macports.org/ticket/69315#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list