Opened 3 weeks ago

Last modified 3 weeks ago

#66236 new defect

fpc-cross @3.2.2_0 - Failed to build fpc-cross - Object file was built for newer macOS version (11.0) than being linked (10.9)

Reported by: FaradayLight (Faraday Light) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Ventura Cc: kamischi (Karl-Michael Schindler)
Port: fpc-cross

Description

Error reported while re-installing packages after update of macOS and MactPorts:

ProductName:		macOS
ProductVersion:		13.0
BuildVersion:		22A380
Xcode 14.1
Build version 14B47b
Platform SDK: 13.0

There are multiple warnings in the log of the form:

:info:build ld: warning: object file (arm/units/aarch64-darwin/verbose.o) was built for newer macOS version (11.0) than being linked (10.9)

Error message:

error:build Failed to build fpc-cross: command execution failed
:debug:build Error code: CHILDSTATUS 23550 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

Attachments (1)

main.log (108.9 KB) - added by FaradayLight (Faraday Light) 3 weeks ago.
main.log

Download all attachments as: .zip

Change History (3)

Changed 3 weeks ago by FaradayLight (Faraday Light)

Attachment: main.log added

main.log

comment:1 Changed 3 weeks ago by kencu (Ken)

this looks to be the actual error:

fpcdefs.inc(288,2) 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

Looks like you can't cross compile from an arm64 system to i386?

comment:2 Changed 3 weeks ago by kamischi (Karl-Michael Schindler)

The linker warnings are annoying, but harmless. Maybe, I find the time to switch them off. The 80 bit extended floating point type problem for i386 targets is actually a known issue and there might be no other solution than to switch off building the cross-compiler for i386, by taking it out of the list of platforms.

This might be a preliminary quick fix: delete i386 in the list of build.target in the subport "${name}-cross" in the Portfile of fpc. At least the cross compilers for other cpus will be built.

This might actually all I can do from my side. The emulation of the 80 bit extended floating point type on non-i386 platforms is probably never to happen.

Last edited 3 weeks ago by kamischi (Karl-Michael Schindler) (previous) (diff)
Note: See TracTickets for help on using tickets.