โŒ About FreshRSS

Reading view

There are new articles available, click to refresh the page.

MACbook M1 - alr, gnat development troubles

Couple of days ago, randomly my development environment broke. Am not able to relate to any specific events.

Simple hello word build is failing:

[Ada] fileres.ali

Link

[link] fileres.adb

ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib/libSystem.tbd' for architecture x86_64

collect2: error: ld returned 1 exit status

gprbuild: link of fileres.adb failed

gprbuild: failed command was: /users/rajasrinivasan/.config/alire/cache/dependencies/gnat_native_11.2.4_9800548d/bin/gcc fileres.o b__fileres.o -L/Users/rajasrinivasan/Prj/GitLab/fileres/obj/development/ -L/Users/rajasrinivasan/Prj/GitLab/fileres/obj/development/ -L/users/rajasrinivasan/.config/alire/cache/dependencies/gnat_native_11.2.4_9800548d/lib/gcc/x86_64-apple-darwin19.6.0/11.2.0/adalib/ /users/rajasrinivasan/.config/alire/cache/dependencies/gnat_native_11.2.4_9800548d/lib/gcc/x86_64-apple-darwin19.6.0/11.2.0/adalib/libgnat.a -Wl,-rpath,@executable_path/..//obj/development -Wl,-rpath,@executable_path/../../../..//.config/alire/cache/dependencies/gnat_native_11.2.4_9800548d/lib/gcc/x86_64-apple-darwin19.6.0/11.2.0/adalib -o /Users/rajasrinivasan/Prj/GitLab/fileres/bin//fileres

I tried to build alr from sources but that fails as well:

[Ada] gnatcoll-paragraph_filling-words.adb

<built-in>: error: unknown value '13.0.0' of '-mmacosx-version-min'

<built-in>: error: unknown value '13.0.0' of '-mmacosx-version-min'

<built-in>: error: unknown value '13.0.0' of '-mmacosx-version-min'

<built-in>: error: unknown value '13.0.0' of '-mmacosx-version-min'

<built-in>: error: unknown value '13.0.0' of '-mmacosx-version-min'

<built-in>: error: unknown value '13.0.0' of '-mmacosx-version-min'

<built-in>: error: unknown value '13.0.0' of '-mmacosx-version-min'

<built-in>: error: unknown value '13.0.0' of '-mmacosx-version-min'

<built-in>: error: unknown value '13.0.0' of '-mmacosx-version-min'

Guidance Sincerely appreciated.

submitted by /u/Odd_Lemon_326
[link] [comments]
โŒ