Skip to content

Unknown command line argument '-aarch64-use-tbi' #214

@paveloom

Description

@paveloom

Description

I'm hitting the following error while trying to run xtool dev build or xtool dev run:

$ ~/Playground/xtool/Linux/packages/xtool-x86_64.AppImage dev build
Planning...
[1/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
swift (LLVM option parsing): Unknown command line argument '-aarch64-use-tbi'.  Try: 'swift (LLVM option parsing) --help'
swift (LLVM option parsing): Did you mean '--target-abi'?
swift (LLVM option parsing): Unknown command line argument '-aarch64-use-tbi'.  Try: 'swift (LLVM option parsing) --help'
swift (LLVM option parsing): Did you mean '--target-abi'?
swift (LLVM option parsing): Unknown command line argument '-aarch64-use-tbi'.  Try: 'swift (LLVM option parsing) --help'
swift (LLVM option parsing): Did you mean '--target-abi'?

Error: exit(1)

Same for the AppImage built from main and for the AppImage from the latest release (v1.16.1).

Environment

Host OS (macOS/Linux/WSL): Linux

Host OS version:

Gentoo Base System release 2.18
DISTRIB_ID="Gentoo"
NAME='Gentoo'
ID='gentoo'
PRETTY_NAME='Gentoo Linux'
VERSION='2.18'
VERSION_ID='2.18'
HOME_URL='https://www.gentoo.org/'
SUPPORT_URL='https://www.gentoo.org/support/'
BUG_REPORT_URL='https://bugs.gentoo.org/'
ANSI_COLOR='1;32'

iOS device version:
15.8.7

Swift version:
Swift version 6.2.4 (swift-6.2.4-RELEASE)

SDK version:
iPhoneOS26.0.sdk

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions