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

Example app is not working on MacBook Pro (Apple M2 Max, 2023, OS Version 14.4) #9

Open
lukaselmer opened this issue Apr 2, 2024 · 5 comments

Comments

@lukaselmer
Copy link

lukaselmer commented Apr 2, 2024

Hi!

I'm not sure if the example app in gpr-rust is supposed to work:

Potential issues?

  • realpath: illegal option -- -
  • dsl_unparse.py:1899: SyntaxWarning: invalid escape sequence '\$'
  • found architecture 'arm64', required architecture 'x86_64'
  • file [...] has no symbols
  • ld: symbol(s) not found for architecture x86_64

Full output

❯ git clone git@github.com:jklmnn/gpr-rust.git
Cloning into 'gpr-rust'...
remote: Enumerating objects: 340, done.
remote: Counting objects: 100% (90/90), done.
remote: Compressing objects: 100% (68/68), done.
remote: Total 340 (delta 37), reused 37 (delta 16), pack-reused 250
Receiving objects: 100% (340/340), 55.99 KiB | 585.00 KiB/s, done.
Resolving deltas: 100% (156/156), done.
❯ cd gpr-rust
❯ l
total 36K
drwxr-xr-x 13 user staff  416 Apr  2 21:37 .
drwxr-xr-x 12 user staff  384 Apr  2 21:37 ..
drwxr-xr-x 15 user staff  480 Apr  2 21:37 .git
drwxr-xr-x  3 user staff   96 Apr  2 21:37 .github
-rw-r--r--  1 user staff  482 Apr  2 21:37 .gitignore
-rw-r--r--  1 user staff  659 Apr  2 21:37 Cargo.toml
-rw-r--r--  1 user staff  12K Apr  2 21:37 LICENSE
-rw-r--r--  1 user staff 2.2K Apr  2 21:37 README.md
-rw-r--r--  1 user staff  324 Apr  2 21:37 alire.toml
-rw-r--r--  1 user staff 7.6K Apr  2 21:37 build.rs
drwxr-xr-x  3 user staff   96 Apr  2 21:37 examples
drwxr-xr-x  5 user staff  160 Apr  2 21:37 src
drwxr-xr-x  6 user staff  192 Apr  2 21:37 testdata
❯ cd examples
❯ l
total 0
drwxr-xr-x  3 user staff  96 Apr  2 21:37 .
drwxr-xr-x 13 user staff 416 Apr  2 21:37 ..
drwxr-xr-x  6 user staff 192 Apr  2 21:37 ada_hello
❯ cd ada_hello
❯ cargo build
    Updating crates.io index
  Downloaded syn v2.0.57
  Downloaded 1 crate (254.9 KB) in 0.27s
   Compiling libc v0.2.153
   Compiling pkg-config v0.3.30
   Compiling vcpkg v0.2.15
   Compiling proc-macro2 v1.0.79
   Compiling unicode-ident v1.0.12
   Compiling tinyvec_macros v0.1.1
   Compiling percent-encoding v2.3.1
   Compiling unicode-bidi v0.3.15
   Compiling serde v1.0.197
   Compiling syn v1.0.109
   Compiling bitflags v2.5.0
   Compiling log v0.4.21
   Compiling tinyvec v1.6.0
   Compiling form_urlencoded v1.2.1
   Compiling serde_json v1.0.115
   Compiling thiserror v1.0.58
   Compiling ryu v1.0.17
   Compiling itoa v1.0.11
   Compiling lazy_static v1.4.0
   Compiling unicode-normalization v0.1.23
   Compiling idna v0.5.0
   Compiling url v2.5.0
   Compiling jobserver v0.1.28
   Compiling quote v1.0.35
   Compiling cc v1.0.90
   Compiling syn v2.0.57
   Compiling openssl-sys v0.9.102
   Compiling libz-sys v1.1.16
   Compiling libssh2-sys v0.3.0
   Compiling libgit2-sys v0.16.2+1.7.2
   Compiling enum-display-derive v0.1.1
   Compiling serde_derive v1.0.197
   Compiling thiserror-impl v1.0.58
   Compiling git2 v0.18.3
   Compiling gpr v0.1.3 (/gpr-rust)
error: failed to run custom build command for `gpr v0.1.3 (/gpr-rust)`

Caused by:
  process didn't exit successfully: `/gpr-rust/examples/ada_hello/target/debug/build/gpr-6f0734ca52200e6d/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=PATH
  cargo:rerun-if-changed=/gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib
  Already up to date.


  Enter a short description of the crate: (default: '')
  Using default: ''
  Select a software license for the crate?
  Using default choice in non-interactive mode: MIT OR Apache-2.0 WITH LLVM-exception
  Enter a comma (',') separated list of tags to help people find your crate: (default: '')
  Using default: ''
  Enter an optional Website URL for the crate: (default: '')
  Using default: ''
  Note: If you experience any problems loading this index, you may need to reset the community index with 'alr index --reset-community'. Note that this operation will delete any local changes to the community index.
  Success: gpr_rust_alire initialized successfully.

  Warning: FALSE
  Warning: Index 'community' version (1.2.1) is older than the newest supported by alr (1.3.0)
  Warning: You can disable this warning with settings key 'warning.old_index'

  Requested changes:

     + gnatcoll       =24.0.0 (add)
     + gnatcoll_iconv =24.0.0 (add)
     + gnatcoll_gmp   =24.0.0 (add)
     + xmlada         =24.0.0 (add)

  Changes to dependency solution:

     +b gnat           13.2.1 (new,gnat_native,indirect,binary)
     +  gnatcoll       24.0.0 (new)
     +  gnatcoll_gmp   24.0.0 (new)
     +  gnatcoll_iconv 24.0.0 (new)
     +b libgmp         6.3.0  (new,indirect,system package)
     +  libgpr         24.0.0 (new,indirect)
     +  xmlada         24.0.0 (new)

  Do you want to proceed?
  Using default: Yes


  Note: Building gpr_rust_alire=0.1.0-dev/gpr_rust_alire.gpr...
  Setup
     [mkdir]        object directory for project Gpr_Rust_Alire
     [mkdir]        library directory for project Gpr_Rust_Alire
  Compile
     [Ada]          gpr_rust_alire_config.ads
     [Ada]          gpr_rust_alire.ads
  Build Libraries
     [gprlib]       Gpr_Rust_Alire.lexch
     [archive]      libGpr_Rust_Alire.a
     [index]        libGpr_Rust_Alire.a
  Success: Build finished successfully in 1.90 seconds.


  export ALIRE="True"
  export CPLUS_INCLUDE_PATH="/opt/homebrew/include"
  export C_INCLUDE_PATH="/opt/homebrew/include"
  export GNATCOLL_ALIRE_PREFIX="/Users/user/.local/share/alire/builds/gnatcoll_24.0.0_11c512d1/fbabcd4cb95ea7d4f114be80fe106b870a55ae86e7b1415692d13e8155c1f291"
  export GNATCOLL_BUILD_MODE="PROD"
  export GNATCOLL_GMP_ALIRE_PREFIX="/Users/user/.local/share/alire/builds/gnatcoll_gmp_24.0.0_e90c5b4d/0073621f708e8e4dfda7073b2088924518c3ac08ebdbbf0835e4ca6618399e75"
  export GNATCOLL_ICONV_ALIRE_PREFIX="/Users/user/.local/share/alire/builds/gnatcoll_iconv_24.0.0_e90c5b4d/297cde281f220af8397c2fd9d7dcdfa7d0585045c7e651ca7c6fdbefeee0732b"
  export GNATCOLL_OS="osx"
  export GNATCOLL_VERSION="24.0.0"
  export GNAT_NATIVE_ALIRE_PREFIX="/Users/user/.local/share/alire/toolchains/gnat_native_13.2.1_c21501ad"
  export GPRBUILD_ALIRE_PREFIX="/Users/user/.local/share/alire/toolchains/gprbuild_22.0.1_b1220e2b"
  export GPR_PROJECT_PATH="/Users/user/.local/share/alire/builds/gnatcoll_24.0.0_11c512d1/fbabcd4cb95ea7d4f114be80fe106b870a55ae86e7b1415692d13e8155c1f291:/Users/user/.local/share/alire/builds/gnatcoll_gmp_24.0.0_e90c5b4d/0073621f708e8e4dfda7073b2088924518c3ac08ebdbbf0835e4ca6618399e75/gmp:/Users/user/.local/share/alire/builds/gnatcoll_iconv_24.0.0_e90c5b4d/297cde281f220af8397c2fd9d7dcdfa7d0585045c7e651ca7c6fdbefeee0732b/iconv:/Users/user/.local/share/alire/builds/libgpr_24.0.0_d9c96bda/222e5e41d8aab63be9817b1967b3f778455a2b89c54ecb1446220a094a0e53ec/gpr:/Users/user/.local/share/alire/builds/xmlada_24.0.0_ae5a015b/199bb52da8443cf07310285e153a779d17529bd2d24e26c6867c4c2b7d973854/distrib:/Users/user/.local/share/alire/builds/xmlada_24.0.0_ae5a015b/199bb52da8443cf07310285e153a779d17529bd2d24e26c6867c4c2b7d973854/dom:/Users/user/.local/share/alire/builds/xmlada_24.0.0_ae5a015b/199bb52da8443cf07310285e153a779d17529bd2d24e26c6867c4c2b7d973854/input_sources:/Users/user/.local/share/alire/builds/xmlada_24.0.0_ae5a015b/199bb52da8443cf07310285e153a779d17529bd2d24e26c6867c4c2b7d973854/sax:/Users/user/.local/share/alire/builds/xmlada_24.0.0_ae5a015b/199bb52da8443cf07310285e153a779d17529bd2d24e26c6867c4c2b7d973854/schema:/Users/user/.local/share/alire/builds/xmlada_24.0.0_ae5a015b/199bb52da8443cf07310285e153a779d17529bd2d24e26c6867c4c2b7d973854/unicode:/gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/gpr_rust_alire"
  export GPR_RUST_ALIRE_ALIRE_PREFIX="/gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/gpr_rust_alire"
  export LIBGMP_ALIRE_PREFIX="/Users/user/.local/share/alire/releases/libgmp_6.3.0_system"
  export LIBGPR_ALIRE_PREFIX="/Users/user/.local/share/alire/builds/libgpr_24.0.0_d9c96bda/222e5e41d8aab63be9817b1967b3f778455a2b89c54ecb1446220a094a0e53ec"
  export LIBRARY_PATH="/opt/homebrew/lib"
  export PATH="/Users/user/.local/share/alire/toolchains/gprbuild_22.0.1_b1220e2b/bin:/Users/user/.local/share/alire/toolchains/gnat_native_13.2.1_c21501ad/bin:/opt/homebrew/opt/unzip/bin:/usr/local/opt/curl/bin:/usr/local/opt/openssl/bin:/alr-2.0.0-bin-x86_64-macos/bin:/Users/user/.cargo/bin:/Users/user/.scripts:/usr/local/bin:/Users/user/.bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin"
  export XMLADA_ALIRE_PREFIX="/Users/user/.local/share/alire/builds/xmlada_24.0.0_ae5a015b/199bb52da8443cf07310285e153a779d17529bd2d24e26c6867c4c2b7d973854"


  created virtual environment CPython3.12.2.final.0-64 in 272ms
    creator CPython3Posix(dest=/gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/venv, clear=False, no_vcs_ignore=False, global=False)
    seeder FromAppData(download=False, pip=bundle, via=copy, app_data_dir=/Users/user/Library/Application Support/virtualenv)
      added seed packages: pip==24.0
    activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator


  Obtaining file:///gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/langkit
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Checking if build backend supports build_editable: started
    Checking if build backend supports build_editable: finished with status 'done'
    Getting requirements to build editable: started
    Getting requirements to build editable: finished with status 'done'
    Installing backend dependencies: started
    Installing backend dependencies: finished with status 'done'
    Preparing editable metadata (pyproject.toml): started
    Preparing editable metadata (pyproject.toml): finished with status 'done'
  Collecting Mako (from Langkit==0.1.0)
    Using cached Mako-1.3.2-py3-none-any.whl.metadata (2.9 kB)
  Collecting PyYAML (from Langkit==0.1.0)
    Using cached PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (2.1 kB)
  Collecting funcy (from Langkit==0.1.0)
    Using cached funcy-2.0-py2.py3-none-any.whl.metadata (5.9 kB)
  Collecting docutils (from Langkit==0.1.0)
    Using cached docutils-0.20.1-py3-none-any.whl.metadata (2.8 kB)
  Collecting e3-core (from Langkit==0.1.0)
    Using cached e3_core-22.4.0-py3-none-any.whl.metadata (5.3 kB)
  Collecting colorama (from e3-core->Langkit==0.1.0)
    Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
  Collecting python-dateutil (from e3-core->Langkit==0.1.0)
    Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
  Collecting requests (from e3-core->Langkit==0.1.0)
    Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
  Collecting requests-cache (from e3-core->Langkit==0.1.0)
    Using cached requests_cache-1.2.0-py3-none-any.whl.metadata (9.9 kB)
  Collecting requests-toolbelt (from e3-core->Langkit==0.1.0)
    Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl.metadata (14 kB)
  Collecting tqdm (from e3-core->Langkit==0.1.0)
    Using cached tqdm-4.66.2-py3-none-any.whl.metadata (57 kB)
  Collecting stevedore>1.20.0 (from e3-core->Langkit==0.1.0)
    Using cached stevedore-5.2.0-py3-none-any.whl.metadata (2.3 kB)
  Collecting setuptools (from e3-core->Langkit==0.1.0)
    Using cached setuptools-69.2.0-py3-none-any.whl.metadata (6.3 kB)
  Collecting packaging (from e3-core->Langkit==0.1.0)
    Using cached packaging-24.0-py3-none-any.whl.metadata (3.2 kB)
  Collecting psutil (from e3-core->Langkit==0.1.0)
    Using cached psutil-5.9.8-cp38-abi3-macosx_11_0_arm64.whl.metadata (21 kB)
  Collecting MarkupSafe>=0.9.2 (from Mako->Langkit==0.1.0)
    Using cached MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_universal2.whl.metadata (3.0 kB)
  Collecting pbr!=2.1.0,>=2.0.0 (from stevedore>1.20.0->e3-core->Langkit==0.1.0)
    Using cached pbr-6.0.0-py2.py3-none-any.whl.metadata (1.3 kB)
  Collecting six>=1.5 (from python-dateutil->e3-core->Langkit==0.1.0)
    Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
  Collecting charset-normalizer<4,>=2 (from requests->e3-core->Langkit==0.1.0)
    Using cached charset_normalizer-3.3.2-cp312-cp312-macosx_11_0_arm64.whl.metadata (33 kB)
  Collecting idna<4,>=2.5 (from requests->e3-core->Langkit==0.1.0)
    Using cached idna-3.6-py3-none-any.whl.metadata (9.9 kB)
  Collecting urllib3<3,>=1.21.1 (from requests->e3-core->Langkit==0.1.0)
    Using cached urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB)
  Collecting certifi>=2017.4.17 (from requests->e3-core->Langkit==0.1.0)
    Using cached certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB)
  Collecting attrs>=21.2 (from requests-cache->e3-core->Langkit==0.1.0)
    Using cached attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB)
  Collecting cattrs>=22.2 (from requests-cache->e3-core->Langkit==0.1.0)
    Using cached cattrs-23.2.3-py3-none-any.whl.metadata (10 kB)
  Collecting platformdirs>=2.5 (from requests-cache->e3-core->Langkit==0.1.0)
    Using cached platformdirs-4.2.0-py3-none-any.whl.metadata (11 kB)
  Collecting url-normalize>=1.4 (from requests-cache->e3-core->Langkit==0.1.0)
    Using cached url_normalize-1.4.3-py2.py3-none-any.whl.metadata (3.1 kB)
  Using cached docutils-0.20.1-py3-none-any.whl (572 kB)
  Using cached e3_core-22.4.0-py3-none-any.whl (382 kB)
  Using cached funcy-2.0-py2.py3-none-any.whl (30 kB)
  Using cached Mako-1.3.2-py3-none-any.whl (78 kB)
  Using cached PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl (165 kB)
  Using cached MarkupSafe-2.1.5-cp312-cp312-macosx_10_9_universal2.whl (18 kB)
  Using cached stevedore-5.2.0-py3-none-any.whl (49 kB)
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
  Using cached packaging-24.0-py3-none-any.whl (53 kB)
  Using cached psutil-5.9.8-cp38-abi3-macosx_11_0_arm64.whl (249 kB)
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
  Using cached requests-2.31.0-py3-none-any.whl (62 kB)
  Using cached requests_cache-1.2.0-py3-none-any.whl (61 kB)
  Using cached requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
  Using cached setuptools-69.2.0-py3-none-any.whl (821 kB)
  Using cached tqdm-4.66.2-py3-none-any.whl (78 kB)
  Using cached attrs-23.2.0-py3-none-any.whl (60 kB)
  Using cached cattrs-23.2.3-py3-none-any.whl (57 kB)
  Using cached certifi-2024.2.2-py3-none-any.whl (163 kB)
  Using cached charset_normalizer-3.3.2-cp312-cp312-macosx_11_0_arm64.whl (119 kB)
  Using cached idna-3.6-py3-none-any.whl (61 kB)
  Using cached pbr-6.0.0-py2.py3-none-any.whl (107 kB)
  Using cached platformdirs-4.2.0-py3-none-any.whl (17 kB)
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
  Using cached url_normalize-1.4.3-py2.py3-none-any.whl (6.8 kB)
  Using cached urllib3-2.2.1-py3-none-any.whl (121 kB)
  Building wheels for collected packages: Langkit
    Building editable for Langkit (pyproject.toml): started
    Building editable for Langkit (pyproject.toml): finished with status 'done'
    Created wheel for Langkit: filename=Langkit-0.1.0-0.editable-py3-none-any.whl size=9285 sha256=c0dbbfd0452767fa05ef793d3f2a22c4a25a3b5aae292d23468cb64102892255
    Stored in directory: /private/var/folders/5g/_62zxh897mx1j544nbwf00m40000gn/T/pip-ephem-wheel-cache-buv49q7w/wheels/ad/96/db/1e94fd19e8a9b10dc6dbbc8edef977615e2f2f3409673d8a30
  Successfully built Langkit
  Installing collected packages: funcy, urllib3, tqdm, six, setuptools, PyYAML, psutil, platformdirs, pbr, packaging, MarkupSafe, idna, docutils, colorama, charset-normalizer, certifi, attrs, url-normalize, stevedore, requests, python-dateutil, Mako, cattrs, requests-toolbelt, requests-cache, e3-core, Langkit
  Successfully installed Langkit-0.1.0 Mako-1.3.2 MarkupSafe-2.1.5 PyYAML-6.0.1 attrs-23.2.0 cattrs-23.2.3 certifi-2024.2.2 charset-normalizer-3.3.2 colorama-0.4.6 docutils-0.20.1 e3-core-22.4.0 funcy-2.0 idna-3.6 packaging-24.0 pbr-6.0.0 platformdirs-4.2.0 psutil-5.9.8 python-dateutil-2.9.0.post0 requests-2.31.0 requests-cache-1.2.0 requests-toolbelt-1.0.0 setuptools-69.2.0 six-1.16.0 stevedore-5.2.0 tqdm-4.66.2 url-normalize-1.4.3 urllib3-2.2.1


  mkdir -p ""build""
  python manage.py generate --build-dir=""build"" \
  		--generate-unparser --disable-warning undocumented-nodes
  Generating source for gpr_parser...
  Lkt processing...
  Compiling the lexer...
  Compiling the grammar...
  Compiling properties...
  Computing precise types...
  Prepare code emission...
  Generate library sources...
  Generation complete!

  /gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/langkit/langkit/dsl_unparse.py:1899: SyntaxWarning: invalid escape sequence '\$'
    buf = re.split("(\$hl|\$sl|\$i|\$d)", strn)

  mkdir -p .build/kb
  gprbuild -p -P ./src/kb/collect_kb.gpr -XKB_BUILD_DIR=.build/kb --relocate-build-tree
  Setup
     [mkdir]        object directory for project Collect_KB
  Compile
     [Ada]          collect_kb.adb
  Bind
     [gprbind]      collect_kb.bexch
     [Ada]          collect_kb.ali
  Link
     [link]         collect_kb.adb
  .build/kb/collect_kb -o .build/kb/config.kb /gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/gprconfig_kb/db
  gprbuild -p -m -j0  -XGPR2_BUILD=release -XGPR2_EDGE_TOOLS_PREFIX=gpr2 -XBUILD_ROOT="/gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/gpr/.build"  -XPROFILER=no  -XLIBRARY_TYPE=static-pic -XXMLADA_BUILD=static-pic \
  		./gpr2.gpr
  Setup
     [mkdir]        object directory for project GPR2
     [mkdir]        library directory for project GPR2
  Compile
     [Asm_Cpp]      config.s
     [C]            gpr_parser-gdb.c
     [Ada]          gpr_parser_support-bump_ptr_vectors.adb
     [Ada]          gpr_parser-generic_introspection.adb
     [Ada]          gpr_parser_support-packrat.adb
     [Ada]          gpr_parser_support-relative_get.adb
     [Ada]          gpr_parser_support-adalog-solver.adb
     [Ada]          gpr_parser_support.ads
     [Ada]          gpr_parser_support-diagnostics.adb
     [Ada]          gpr_parser_support-file_readers.adb
     [Ada]          gpr_parser_adasat-internals.ads
     [Ada]          gpr_parser-private_converters.adb
     [Ada]          gpr_parser_support-internal.ads
     [Ada]          gpr_parser_support-generic_api-analysis.adb
     [Ada]          gpr_parser-public_converters.adb
     [Ada]          gpr_parser_support-bump_ptr.ads
     [Ada]          gpr_parser_adasat-builders.adb
     [Ada]          gpr_parser_support-internal-descriptor.ads
     [Ada]          gpr_parser_support-adalog.ads
     [Ada]          gpr_parser-rewriting_implementation.adb
     [Ada]          gpr_parser_support-lexical_envs_impl.adb
     [Ada]          gpr_parser-lexer.adb
     [Ada]          gpr_parser_support-cheap_sets.adb
     [Ada]          gpr_parser_support-types.ads
     [Ada]          gpr_parser_support-adalog-solver_interface.adb
     [Ada]          gpr_parser_support-adalog-debug.adb
     [Ada]          gpr_parser_support-names.adb
     [Ada]          gpr_parser_support-symbols-precomputed.adb
     [Ada]          gpr_parser_support-boxes.adb
     [Ada]          gpr_parser-common.adb
     [Ada]          gpr_parser_support-vectors.adb
     [Ada]          gpr_parser_support-internal-conversions.ads
     [Ada]          gpr_parser_support-names-maps.adb
     [Ada]          gpr_parser_support-lexical_envs.ads
     [Ada]          gpr_parser_support-adalog-main_support.ads
     [Ada]          gpr_parser-debug.adb
     [Ada]          gpr_parser-c.adb
     [Ada]          gpr_parser-lexer_implementation.adb
     [Ada]          gpr_parser_support-internal-introspection.adb
     [Ada]          gpr_parser-implementation.adb
     [Ada]          gpr_parser_support-generic_api.adb
     [Ada]          gpr_parser-generic_api-introspection.ads
     [Ada]          gpr_parser-implementation-c.adb
     [Ada]          gpr_parser-generic_api.adb
     [Ada]          gpr_parser-unparsing.adb
     [Ada]          gpr_parser-analysis.adb
     [Ada]          gpr_parser-lexer_state_machine.adb
     [Ada]          gpr_parser-unparsing_implementation.adb
     [Ada]          gpr_parser.ads
     [Ada]          gpr_parser_support-generic_bump_ptr.adb
     [Ada]          gpr_parser_support-text.adb
     [Ada]          gpr_parser-parsers.adb
     [Ada]          gpr_parser_support-array_utils.adb
     [Ada]          gpr_parser_support-errors.ads
     [Ada]          gpr_parser_support-slocs.adb
     [Ada]          gpr_parser_support-iterators.adb
     [Ada]          gpr_parser_support-tree_traversal_iterator.adb
     [Ada]          gpr_parser_adasat-theory.ads
     [Ada]          gpr_parser_adasat-vectors.adb
     [Ada]          gpr_parser_adasat-dpll.adb
     [Ada]          gpr_parser_support-adalog-logic_var.adb
     [Ada]          gpr_parser_adasat-formulas.adb
     [Ada]          gpr_parser_adasat-decisions.adb
     [Ada]          gpr_parser_support-images.adb
     [Ada]          gpr_parser-generic_impl.adb
     [Ada]          gpr_parser_support-symbols.adb
     [Ada]          gpr_parser_support-hashes.adb
     [Ada]          gpr_parser_support-generic_api-introspection.adb
     [Ada]          gpr_parser_support-diagnostics-output.adb
     [Ada]          gpr_parser_adasat.adb
     [Ada]          gpr_parser_support-adalog-generic_main_support.adb
     [Ada]          gpr_parser-iterators.adb
     [Ada]          gpr_parser-rewriting.adb
     [Ada]          gpr_parser_support-internal-analysis.adb
     [Ada]          gpr_parser_support-token_data_handlers.adb
     [Ada]          gpr_parser_adasat-helpers.adb
     [Ada]          gpr2-project-tree-view_builder.adb
     [Ada]          gpr2-project-definition.adb
     [Ada]          gpr_parser-basic_ada_parser.adb
     [Ada]          gpr2-source_reference.adb
     [Ada]          gpr2-kb-compiler_iterator.adb
     [Ada]          gpr2-project-variable.adb
     [Ada]          gpr2-view_ids-dags.adb
     [Ada]          gpr2-path_name.adb
     [Ada]          gpr2-project-pretty_printer.adb
     [Ada]          gpr2-project-source.adb
     [Ada]          gpr2-project-name_values.adb
     [Ada]          gpr2-project-parser-set.ads
     [Ada]          gpr2-unit-list.adb
     [Ada]          gpr2-source.adb
     [Ada]          gpr2-project-attribute_index.adb
     [Ada]          gpr2-message.adb
     [Ada]          gpr2-project-attr_values.adb
     [Ada]          gpr2-source_reference-attribute.ads
     [Ada]          gpr2-project-typ-set.ads
     [Ada]          gpr2-project-view-vector.ads
     [Ada]          gpr2-source_reference-identifier.ads
     [Ada]          gpr2-project-attribute.adb
     [Ada]          gpr2-project-unit_info.adb
     [Ada]          gpr2-project-attribute_cache.adb
     [Ada]          gpr2-project-import-set.adb
     [Ada]          gpr2-project.adb
     [Ada]          gpr2-source_info-parser-ada_language.adb
     [Ada]          gpr2-source_info-parser.adb
     [Ada]          gpr2-view_ids-set.ads
     [Ada]          gpr2-project-source-artifact.adb
     [Ada]          gpr2-project-registry-pack-description.adb
     [Ada]          gpr2-view_ids-vector.ads
     [Ada]          gpr2-project-view.adb
     [Ada]          gpr2-project-tree.adb
     [Ada]          gpr2-context.adb
     [Ada]          gpr2-project-source-part_set.adb
     [Ada]          gpr2-project-registry-attribute.adb
     [Ada]          gpr2-version.adb
     [Ada]          gpr2-project-registry-pack.adb
     [Ada]          gpr2-options.adb
     [Ada]          gpr2-source_reference-scalar_value.ads
     [Ada]          gpr2-containers.adb
     [Ada]          gpr2-project-source-set.adb
     [Ada]          gpr2-unit.adb
     [Ada]          gpr2-project-view-set.ads
     [Ada]          gpr2-project-source_files.adb
     [Ada]          gpr2-environment.adb
     [Ada]          gpr2-source_info-parser-d.adb
     [Ada]          gpr2-source_reference-text_value.adb
     [Ada]          gpr2-project-configuration.adb
     [Ada]          gpr2-kb.adb
     [Ada]          gpr2.adb
     [Ada]          gpr2-source_reference-text_value-g_set.ads
     [Ada]          gpr2-project-registry.ads
     [Ada]          gpr2-source_info.adb
     [Ada]          gpr2-project-variable-set.ads
     [Ada]          gpr2-project-pack.ads
     [Ada]          gpr2-source_reference-pack.ads
     [Ada]          gpr2-project-unit_info-set.ads
     [Ada]          gpr2-project-attribute-set.adb
     [Ada]          gpr2-log.adb
     [Ada]          gpr2-source_reference-value.ads
     [Ada]          gpr2-builtin.adb
     [Ada]          gpr2-project-typ.adb
     [Ada]          gpr2-project-parser-registry.adb
     [Ada]          gpr2-project-import.adb
     [Ada]          gpr2-kb-parsing.adb
     [Ada]          gpr2-path_name-set.adb
     [Ada]          gpr2-source_info-parser-ali.adb
     [Ada]          gpr2-project-parser.adb
     [Ada]          gpr2-view_ids.adb
     [Ada]          gpr2-project-registry-attribute-description.adb
     [Ada]          gpr2-file_readers.adb
     [Ada]          gpr2-source_reference-identifier-set.ads
     [Ada]          gpr2-project-parser-create.adb
     [Ada]          gpr2-source_info-parser-registry.adb
  Build Libraries
     [gprlib]       gpr2.lexch
     [archive]      libgpr2.a
     [index]        libgpr2.a

  realpath: illegal option -- -
  usage: realpath [-q] [path ...]
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/gpr/.build/release/lib-static-pic/libgpr2.a(gpr_parser-gdb.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/gpr/.build/release/lib-static-pic/libgpr2.a(gpr_parser-gdb.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/gpr/.build/release/lib-static-pic/libgpr2.a(gpr_parser-gdb.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/gpr/.build/release/lib-static-pic/libgpr2.a(gpr_parser-gdb.o) has no symbols

  Setup
     [mkdir]        object directory for project GPR2
     [mkdir]        library directory for project GPR2
     [mkdir]        object directory for project GPR2.C
     [mkdir]        library directory for project GPR2.C
  Compile
     [Asm_Cpp]      config.s
     [C]            gpr_parser-gdb.c
     [Ada]          gpr_parser_support-bump_ptr_vectors.adb
     [Ada]          gpr_parser-generic_introspection.adb
     [Ada]          gpr_parser_support-packrat.adb
     [Ada]          gpr_parser_support-relative_get.adb
     [Ada]          gpr_parser_support-adalog-solver.adb
     [Ada]          gpr_parser_support.ads
     [Ada]          gpr_parser_support-diagnostics.adb
     [Ada]          gpr_parser_support-file_readers.adb
     [Ada]          gpr_parser_adasat-internals.ads
     [Ada]          gpr_parser-private_converters.adb
     [Ada]          gpr_parser_support-internal.ads
     [Ada]          gpr_parser_support-generic_api-analysis.adb
     [Ada]          gpr_parser-public_converters.adb
     [Ada]          gpr_parser_support-bump_ptr.ads
     [Ada]          gpr_parser_adasat-builders.adb
     [Ada]          gpr_parser_support-internal-descriptor.ads
     [Ada]          gpr_parser_support-adalog.ads
     [Ada]          gpr_parser-rewriting_implementation.adb
     [Ada]          gpr_parser_support-lexical_envs_impl.adb
     [Ada]          gpr_parser-lexer.adb
     [Ada]          gpr_parser_support-cheap_sets.adb
     [Ada]          gpr_parser_support-types.ads
     [Ada]          gpr_parser_support-adalog-solver_interface.adb
     [Ada]          gpr_parser_support-adalog-debug.adb
     [Ada]          gpr_parser_support-names.adb
     [Ada]          gpr_parser_support-symbols-precomputed.adb
     [Ada]          gpr_parser_support-boxes.adb
     [Ada]          gpr_parser-common.adb
     [Ada]          gpr_parser_support-vectors.adb
     [Ada]          gpr_parser_support-internal-conversions.ads
     [Ada]          gpr_parser_support-names-maps.adb
     [Ada]          gpr_parser_support-lexical_envs.ads
     [Ada]          gpr_parser_support-adalog-main_support.ads
     [Ada]          gpr_parser-debug.adb
     [Ada]          gpr_parser-c.adb
     [Ada]          gpr_parser-lexer_implementation.adb
     [Ada]          gpr_parser_support-internal-introspection.adb
     [Ada]          gpr_parser-implementation.adb
     [Ada]          gpr_parser_support-generic_api.adb
     [Ada]          gpr_parser-generic_api-introspection.ads
     [Ada]          gpr_parser-implementation-c.adb
     [Ada]          gpr_parser-generic_api.adb
     [Ada]          gpr_parser-unparsing.adb
     [Ada]          gpr_parser-analysis.adb
     [Ada]          gpr_parser-lexer_state_machine.adb
     [Ada]          gpr_parser-unparsing_implementation.adb
     [Ada]          gpr_parser.ads
     [Ada]          gpr_parser_support-generic_bump_ptr.adb
     [Ada]          gpr_parser_support-text.adb
     [Ada]          gpr_parser-parsers.adb
     [Ada]          gpr_parser_support-array_utils.adb
     [Ada]          gpr_parser_support-errors.ads
     [Ada]          gpr_parser_support-slocs.adb
     [Ada]          gpr_parser_support-iterators.adb
     [Ada]          gpr_parser_support-tree_traversal_iterator.adb
     [Ada]          gpr_parser_adasat-theory.ads
     [Ada]          gpr_parser_adasat-vectors.adb
     [Ada]          gpr_parser_adasat-dpll.adb
     [Ada]          gpr_parser_support-adalog-logic_var.adb
     [Ada]          gpr_parser_adasat-formulas.adb
     [Ada]          gpr_parser_adasat-decisions.adb
     [Ada]          gpr_parser_support-images.adb
     [Ada]          gpr_parser-generic_impl.adb
     [Ada]          gpr_parser_support-symbols.adb
     [Ada]          gpr_parser_support-hashes.adb
     [Ada]          gpr_parser_support-generic_api-introspection.adb
     [Ada]          gpr_parser_support-diagnostics-output.adb
     [Ada]          gpr_parser_adasat.adb
     [Ada]          gpr_parser_support-adalog-generic_main_support.adb
     [Ada]          gpr_parser-iterators.adb
     [Ada]          gpr_parser-rewriting.adb
     [Ada]          gpr_parser_support-internal-analysis.adb
     [Ada]          gpr_parser_support-token_data_handlers.adb
     [Ada]          gpr_parser_adasat-helpers.adb
     [Ada]          gpr2-project-tree-view_builder.adb
     [Ada]          gpr2-project-definition.adb
     [Ada]          gpr_parser-basic_ada_parser.adb
     [Ada]          gpr2-source_reference.adb
     [Ada]          gpr2-kb-compiler_iterator.adb
     [Ada]          gpr2-project-variable.adb
     [Ada]          gpr2-view_ids-dags.adb
     [Ada]          gpr2-path_name.adb
     [Ada]          gpr2-project-pretty_printer.adb
     [Ada]          gpr2-project-source.adb
     [Ada]          gpr2-project-name_values.adb
     [Ada]          gpr2-project-parser-set.ads
     [Ada]          gpr2-unit-list.adb
     [Ada]          gpr2-source.adb
     [Ada]          gpr2-project-attribute_index.adb
     [Ada]          gpr2-message.adb
     [Ada]          gpr2-project-attr_values.adb
     [Ada]          gpr2-source_reference-attribute.ads
     [Ada]          gpr2-project-typ-set.ads
     [Ada]          gpr2-project-view-vector.ads
     [Ada]          gpr2-source_reference-identifier.ads
     [Ada]          gpr2-project-attribute.adb
     [Ada]          gpr2-project-unit_info.adb
     [Ada]          gpr2-project-attribute_cache.adb
     [Ada]          gpr2-project-import-set.adb
     [Ada]          gpr2-project.adb
     [Ada]          gpr2-source_info-parser-ada_language.adb
     [Ada]          gpr2-source_info-parser.adb
     [Ada]          gpr2-view_ids-set.ads
     [Ada]          gpr2-project-source-artifact.adb
     [Ada]          gpr2-project-registry-pack-description.adb
     [Ada]          gpr2-view_ids-vector.ads
     [Ada]          gpr2-project-view.adb
     [Ada]          gpr2-project-tree.adb
     [Ada]          gpr2-context.adb
     [Ada]          gpr2-project-source-part_set.adb
     [Ada]          gpr2-project-registry-attribute.adb
     [Ada]          gpr2-version.adb
     [Ada]          gpr2-project-registry-pack.adb
     [Ada]          gpr2-options.adb
     [Ada]          gpr2-source_reference-scalar_value.ads
     [Ada]          gpr2-containers.adb
     [Ada]          gpr2-project-source-set.adb
     [Ada]          gpr2-unit.adb
     [Ada]          gpr2-project-view-set.ads
     [Ada]          gpr2-project-source_files.adb
     [Ada]          gpr2-environment.adb
     [Ada]          gpr2-source_info-parser-d.adb
     [Ada]          gpr2-source_reference-text_value.adb
     [Ada]          gpr2-project-configuration.adb
     [Ada]          gpr2-kb.adb
     [Ada]          gpr2.adb
     [Ada]          gpr2-source_reference-text_value-g_set.ads
     [Ada]          gpr2-project-registry.ads
     [Ada]          gpr2-source_info.adb
     [Ada]          gpr2-project-variable-set.ads
     [Ada]          gpr2-project-pack.ads
     [Ada]          gpr2-source_reference-pack.ads
     [Ada]          gpr2-project-unit_info-set.ads
     [Ada]          gpr2-project-attribute-set.adb
     [Ada]          gpr2-log.adb
     [Ada]          gpr2-source_reference-value.ads
     [Ada]          gpr2-builtin.adb
     [Ada]          gpr2-project-typ.adb
     [Ada]          gpr2-project-parser-registry.adb
     [Ada]          gpr2-project-import.adb
     [Ada]          gpr2-kb-parsing.adb
     [Ada]          gpr2-path_name-set.adb
     [Ada]          gpr2-source_info-parser-ali.adb
     [Ada]          gpr2-project-parser.adb
     [Ada]          gpr2-view_ids.adb
     [Ada]          gpr2-project-registry-attribute-description.adb
     [Ada]          gpr2-file_readers.adb
     [Ada]          gpr2-source_reference-identifier-set.ads
     [Ada]          gpr2-project-parser-create.adb
     [Ada]          gpr2-source_info-parser-registry.adb
     [Ada]          gpr2-c-json.adb
     [Ada]          gpr2-c-source.adb
     [Ada]          gpr2-c.adb
     [Ada]          gpr2-c-tree.adb
     [Ada]          gpr2-c-view.adb
     [Ada]          gpr2-c-utils.adb
     [Ada]          gpr2-c-json-encoders.adb
  Build Libraries
     [gprlib]       gpr2.lexch
     [archive]      libgpr2.a
     [gprlib]       gpr2c.lexch
     [index]        libgpr2.a
     [bind SAL]     gpr2c
     [Ada]          b__gpr2c.adb
     [link library] libgpr2c.dylib

  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/gpr/.build/release/lib-static/libgpr2.a(gpr_parser-gdb.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/gpr/.build/release/lib-static/libgpr2.a(gpr_parser-gdb.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/gpr/.build/release/lib-static/libgpr2.a(gpr_parser-gdb.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/gpr/.build/release/lib-static/libgpr2.a(gpr_parser-gdb.o) has no symbols
  ld: warning: ignoring file '/opt/homebrew/Cellar/gmp/6.3.0/lib/libgmp.10.dylib': found architecture 'arm64', required architecture 'x86_64'
  Undefined symbols for architecture x86_64:
    "___gmpz_abs", referenced from:
        _gnatcoll__gmp__integers__get_abs in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oabs in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_add", referenced from:
        _gnatcoll__gmp__integers__add__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__add__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oadd in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_add_ui", referenced from:
        _gnatcoll__gmp__integers__add in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oadd__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oadd__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_and", referenced from:
        _gnatcoll__gmp__integers__Oand in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_cdiv_q", referenced from:
        _gnatcoll__gmp__integers__ceil_divide in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_cdiv_r", referenced from:
        _gnatcoll__gmp__integers__ceil_remainder in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_clear", referenced from:
        _gnatcoll__gmp__integers__finalize__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__big_integerFD in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__big_integerDF__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod__B_2___finalizer.138 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod__B_2___finalizer.138 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod__B_2___finalizer.138 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oabs in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        ...
    "___gmpz_cmp", referenced from:
        _gnatcoll__gmp__integers__Oeq in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Ogt in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oge in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Olt in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Ole in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_cmp_si", referenced from:
        _gnatcoll__gmp__integers__Oeq__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oeq__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Ogt__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Ogt__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oge__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oge__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Olt__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        ...
    "___gmpz_cmp_ui", referenced from:
        _gnatcoll__gmp__integers__divide__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_rem in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Odivide in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__ceil_remainder in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__floor_remainder in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Orem in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__floor_divide in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        ...
    "___gmpz_com", referenced from:
        _gnatcoll__gmp__integers__Onot in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_fdiv_q", referenced from:
        _gnatcoll__gmp__integers__floor_divide in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_fdiv_r", referenced from:
        _gnatcoll__gmp__integers__floor_remainder in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_get_str", referenced from:
        _gnatcoll__gmp__integers__image in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_init", referenced from:
        _gnatcoll__gmp__integers__initialize__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oabs in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Onot in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Osubtract__4 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Omultiply__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Osubtract in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oadd__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        ...
    "___gmpz_ior", referenced from:
        _gnatcoll__gmp__integers__Oor in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_mod", referenced from:
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_mul", referenced from:
        _gnatcoll__gmp__integers__multiply__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__multiply__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Omultiply in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_mul_si", referenced from:
        _gnatcoll__gmp__integers__multiply in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Omultiply__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Omultiply__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_neg", referenced from:
        _gnatcoll__gmp__integers__negate in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Osubtract__4 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Osubtract__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Orem__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        ...
    "___gmpz_pow_ui", referenced from:
        _gnatcoll__gmp__integers__raise_to_n in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oexpon in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_set", referenced from:
        _gnatcoll__gmp__integers__set__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__set__4 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        ...
    "___gmpz_set_si", referenced from:
        _gnatcoll__gmp__integers__set__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Omod__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_set_str", referenced from:
        _gnatcoll__gmp__integers__set in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__make in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_set_ui", referenced from:
        _gnatcoll__gmp__integers__set_ul in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_sizeinbase", referenced from:
        _gnatcoll__gmp__integers__image in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_sub", referenced from:
        _gnatcoll__gmp__integers__subtract__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__subtract__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Osubtract in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_sub_ui", referenced from:
        _gnatcoll__gmp__integers__subtract in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Osubtract__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Osubtract__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_tdiv_q", referenced from:
        _gnatcoll__gmp__integers__divide__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Odivide in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_tdiv_q_ui", referenced from:
        _gnatcoll__gmp__integers__divide in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Odivide__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_tdiv_r", referenced from:
        _gnatcoll__gmp__integers__get_rem in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Orem in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_tdiv_r_ui", referenced from:
        _gnatcoll__gmp__integers__Orem__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_xor", referenced from:
        _gnatcoll__gmp__integers__Oxor in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
  ld: symbol(s) not found for architecture x86_64
  collect2: error: ld returned 1 exit status
  gprlib: /users/user/.local/share/alire/toolchains/gnat_native_13.2.1_c21501ad/bin/gcc execution error
  gprbuild: could not build library for project gpr2.c


  --- stderr
  thread 'main' panicked at 'failed to run command: gprbuild /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/gpr/.build/release/lib-static/libgpr2.a(gpr_parser-gdb.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/gpr/.build/release/lib-static/libgpr2.a(gpr_parser-gdb.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/gpr/.build/release/lib-static/libgpr2.a(gpr_parser-gdb.o) has no symbols
  /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /gpr-rust/examples/ada_hello/target/debug/build/gpr-61520f600424e2cd/out/contrib/gpr/.build/release/lib-static/libgpr2.a(gpr_parser-gdb.o) has no symbols
  ld: warning: ignoring file '/opt/homebrew/Cellar/gmp/6.3.0/lib/libgmp.10.dylib': found architecture 'arm64', required architecture 'x86_64'
  Undefined symbols for architecture x86_64:
    "___gmpz_abs", referenced from:
        _gnatcoll__gmp__integers__get_abs in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oabs in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_add", referenced from:
        _gnatcoll__gmp__integers__add__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__add__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oadd in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_add_ui", referenced from:
        _gnatcoll__gmp__integers__add in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oadd__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oadd__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_and", referenced from:
        _gnatcoll__gmp__integers__Oand in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_cdiv_q", referenced from:
        _gnatcoll__gmp__integers__ceil_divide in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_cdiv_r", referenced from:
        _gnatcoll__gmp__integers__ceil_remainder in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_clear", referenced from:
        _gnatcoll__gmp__integers__finalize__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__big_integerFD in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__big_integerDF__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod__B_2___finalizer.138 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod__B_2___finalizer.138 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod__B_2___finalizer.138 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oabs in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        ...
    "___gmpz_cmp", referenced from:
        _gnatcoll__gmp__integers__Oeq in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Ogt in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oge in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Olt in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Ole in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_cmp_si", referenced from:
        _gnatcoll__gmp__integers__Oeq__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oeq__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Ogt__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Ogt__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oge__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oge__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Olt__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        ...
    "___gmpz_cmp_ui", referenced from:
        _gnatcoll__gmp__integers__divide__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_rem in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Odivide in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__ceil_remainder in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__floor_remainder in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Orem in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__floor_divide in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        ...
    "___gmpz_com", referenced from:
        _gnatcoll__gmp__integers__Onot in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_fdiv_q", referenced from:
        _gnatcoll__gmp__integers__floor_divide in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_fdiv_r", referenced from:
        _gnatcoll__gmp__integers__floor_remainder in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_get_str", referenced from:
        _gnatcoll__gmp__integers__image in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_init", referenced from:
        _gnatcoll__gmp__integers__initialize__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oabs in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Onot in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Osubtract__4 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Omultiply__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Osubtract in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oadd__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        ...
    "___gmpz_ior", referenced from:
        _gnatcoll__gmp__integers__Oor in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_mod", referenced from:
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_mul", referenced from:
        _gnatcoll__gmp__integers__multiply__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__multiply__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Omultiply in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_mul_si", referenced from:
        _gnatcoll__gmp__integers__multiply in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Omultiply__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Omultiply__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_neg", referenced from:
        _gnatcoll__gmp__integers__negate in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Osubtract__4 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Osubtract__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Orem__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        ...
    "___gmpz_pow_ui", referenced from:
        _gnatcoll__gmp__integers__raise_to_n in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Oexpon in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_set", referenced from:
        _gnatcoll__gmp__integers__set__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__set__4 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        ...
    "___gmpz_set_si", referenced from:
        _gnatcoll__gmp__integers__set__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Omod__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_set_str", referenced from:
        _gnatcoll__gmp__integers__set in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__make in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_set_ui", referenced from:
        _gnatcoll__gmp__integers__set_ul in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_sizeinbase", referenced from:
        _gnatcoll__gmp__integers__image in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_sub", referenced from:
        _gnatcoll__gmp__integers__subtract__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__subtract__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Osubtract in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__get_mod in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_sub_ui", referenced from:
        _gnatcoll__gmp__integers__subtract in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Osubtract__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Osubtract__3 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_tdiv_q", referenced from:
        _gnatcoll__gmp__integers__divide__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Odivide in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_tdiv_q_ui", referenced from:
        _gnatcoll__gmp__integers__divide in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Odivide__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_tdiv_r", referenced from:
        _gnatcoll__gmp__integers__get_rem in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
        _gnatcoll__gmp__integers__Orem in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_tdiv_r_ui", referenced from:
        _gnatcoll__gmp__integers__Orem__2 in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
    "___gmpz_xor", referenced from:
        _gnatcoll__gmp__integers__Oxor in libgnatcoll_gmp.a[8](gnatcoll-gmp-integers.o)
  ld: symbol(s) not found for architecture x86_64
  collect2: error: ld returned 1 exit status
  gprlib: /users/user/.local/share/alire/toolchains/gnat_native_13.2.1_c21501ad/bin/gcc execution error
  gprbuild: could not build library for project gpr2.c
  ', /gpr-rust/build.rs:63:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@jklmnn
Copy link
Owner

jklmnn commented Apr 3, 2024

I have not tested this project on a native ARM/ARM64 target. Unfortunately I don't have access to a macbook. Which base system have you used in Docker? I can try to reproduce it on a native Aarch64 Linux host.

@lukaselmer
Copy link
Author

Thanks for the quick repsonse. I think I found one of the issues: in the docker container, the alr binary was compiled for amd64 instead of arm64. This is why it wouldn't work.

I'm now able to run the example app in a docker container (arm64 and amd64) using these two docker images: https://github.com/lukaselmer/ada-rust-experiments

However, it still doesn't run natively on my macbook 🤔 but I guess that's hard to debug without a physical machine

@jklmnn
Copy link
Owner

jklmnn commented Apr 4, 2024

Great that you were able to resolve it (at least on arm64). With the updated alr binary do you get all the errors from the logs on the macbook or only some of them?

realpath: illegal option -- -
dsl_unparse.py:1899: SyntaxWarning: invalid escape sequence '$'

I would assume that these two issues are not architecture specific. They look like they come from langkit. Can you check whether you experience the same issues if you try to install it/run their tests?

@lukaselmer
Copy link
Author

lukaselmer commented Apr 4, 2024 via email

@jklmnn
Copy link
Owner

jklmnn commented Apr 19, 2024

Have you had the opportunity to test it with the arm64 binary on the mac?

IIUC it worked for you on aarch64-linux?

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

2 participants