Skip to content

Compiling a program on termux aarch64 produces FileNotFound errors #14146

Description

@DivergentClouds

Zig Version

0.11.0-dev.1012+4b5fc5239

Steps to Reproduce and Observed Behavior

Steps to reproduce

  • Install Termux (not the google play version, as that's is deprecated and has security flaws) on an aarch64 Android phone
  • Download the master aarch64 Linux tarball from ziglang.org and extract it
  • Run zig init-exe && zig build run

Observed Behavior

info: Created build.zig
info: Created src/main.zig
info: Next, try `zig build --help` or `zig build run`
warning: Encountered error: FileNotFound, falling back to default ABI and dynamic linker.

warning: Encountered error: FileNotFound, falling back to default ABI and dynamic linker.

warning: Encountered error: FileNotFound, falling back to default ABI and dynamic linker.

warning: Encountered error: FileNotFound, falling back to default ABI and dynamic linker.

warning: Encountered error: FileNotFound, falling back to default ABI and dynamic linker.

warning: Encountered error: FileNotFound, falling back to default ABI and dynamic linker.

warning: Encountered error: FileNotFound, falling back to default ABI and dynamic linker.

warning: Encountered error: FileNotFound, falling back to default ABI and dynamic linker.

All your codebase are belong to us.
Run `zig build test` to run the tests.

Interestingly, the outputted program behaves as expected, although I'm not sure if more complex programs would break.

Expected Behavior

The program should compile with no errors and run properly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugObserved behavior contradicts documented or intended behavior

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions