[MacPorts] #66236: fpc-cross @3.2.2_0 - Error: User defined: Cross-compiling from systems without support for an 80 bit extended floating point type to i386 is not yet supported at this time

MacPorts noreply at macports.org
Sun Jan 8 20:05:22 UTC 2023


#66236: fpc-cross @3.2.2_0 - Error: User defined: Cross-compiling from systems
without support for an 80 bit extended floating point type to i386 is not
yet supported at this time
---------------------------+--------------------
  Reporter:  FaradayLight  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.0
Resolution:                |   Keywords:  arm64
      Port:  fpc-cross     |
---------------------------+--------------------

Comment (by kencu):

 I tried just turning off the i386 target when on arm64 like this:
 {{{
     build.target    aarch64 arm avr i386 i8086 jvm m68k mips mipsel
 powerpc powerpc64 sparc x86_64
     switch ${build_arch} {
         x86_64 {
             build.target-delete x86_64
         }
         arm64 {
             build.target-delete aarch64
 +            build.target-delete i386
         }
     }

 }}}
 but that didn't work due to :

 {{{
 --->  Fetching distfiles for fpc-cross
 --->  Verifying checksums for fpc-cross
 --->  Checksumming fpcbuild-3.2.2.tar.gz
 --->  Checksumming x86_64-macosx-10.9-ppcx64.tar.bz2
 --->  Extracting fpc-cross
 --->  Extracting fpcbuild-3.2.2.tar.gz
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_fpc
 /fpc-cross/work" && /usr/bin/gzip -dc
 '/opt/local/var/macports/distfiles/fpc/fpcbuild-3.2.2.tar.gz' |
 /usr/bin/tar -xf -
 --->  Configuring fpc-cross
 --->  Building fpc-cross
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_fpc
 /fpc-cross/work/fpcbuild-3.2.2/fpcsrc/compiler" && /usr/bin/make -j1 -w
 arm avr i8086 jvm m68k mips mipsel powerpc powerpc64 sparc x86_64 OPT="-ap
 -v0"
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_fpc
 /fpc-cross/work/fpcbuild-3.2.2/fpcsrc/compiler'
 /Applications/Xcode.app/Contents/Developer/usr/bin/make PPC_TARGET=arm
 CPU_UNITDIR=arm all
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_fpc
 /fpc-cross/work/fpcbuild-3.2.2/fpcsrc/compiler'
 /bin/mkdir -p arm/units/aarch64-darwin
 /opt/local/bin/ppca64 -Fuarm -Fusystems -Fu../rtl -Fiarm -FE.
 -FUarm/units/aarch64-darwin -ap -v0 -darm -dGDB -dBROWSERLOG  -Sew pp.pas
 Free Pascal Compiler version 3.2.2 [2023/01/08] for aarch64
 Copyright (c) 1993-2021 by Florian Klaempfl and others
 ld: library not found for -lc
 An error occurred while linking
 pp.pas(252,36) Error: Error while linking
 pp.pas(252,36) Fatal: There were 1 errors compiling module, stopping
 Fatal: Compilation aborted
 }}}

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


More information about the macports-tickets mailing list