Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In win i386, failed to build cross compiler to aarch64, Darwin #744

Open
han-k59 opened this issue Feb 15, 2025 · 0 comments
Open

In win i386, failed to build cross compiler to aarch64, Darwin #744

han-k59 opened this issue Feb 15, 2025 · 0 comments

Comments

@han-k59
Copy link

han-k59 commented Feb 15, 2025

In a 32 bit Windows I tried to build a crosscompiler for aarch64, Darwin. It failed

C:/fpcupdeluxe/fpcbootstrap/make -C rtl all
C:/fpcupdeluxe/fpcbootstrap/make -C darwin all
C:/fpcupdeluxe/fpc/bin/i386-win32/ppcrossa64.exe -Ur -dFPC_USE_LIBC -Tdarwin -Paarch64 -XPaarch64-apple-darwin19- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../aarch64 -Fi../unix -Fi../bsd -Fi../bsd/aarch64 -Fi../darwin/aarch64 -FDC:/fpcupdeluxe/cross/bin/all-apple/bin -FE. -FUC:/fpcupdeluxe/fpcsrc/rtl/units/aarch64-darwin -vw-n-h-l-d-u-t-p-c- -daarch64 -dRELEASE -FDC:\fpcupdeluxe\cross\bin\all-apple\bin -XPaarch64-apple-darwin19- -Xd -FlC:\fpcupdeluxe\cross\lib\all-darwin\MacOSX12.3.sdk\usr\lib -FlC:\fpcupdeluxe\cross\lib\all-darwin\MacOSX12.3.sdk\usr\lib\system -XRC:\fpcupdeluxe\cross\lib\all-darwin\MacOSX12.3.sdk -FlC:\fpcupdeluxe\cross\lib\all-darwin\XQuartz\X11\lib -Us -Sg ../bsd/system.pp
system.pp(395) Error: Can't call the assembler, error 216 switching to external assembling
system.pp(395) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
make[1]: *** [darwin_all] Error 2
make: *** [rtl_all] Error 2
fpcupdeluxe: ERROR: FPC Cross Installer (BuildModuleCustom: FPC): Running cross compiler fpc C:\fpcupdeluxe\fpcbootstrap\make.exe for aarch64-darwin failed with an error code.

See attached for full log. Any idea how to fix this?

fpcupdeluxe error.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant