Simon Wright
Simon Wright
Building alr with alr, shared vs static library issue
Checked out alire at tag v1.1.2 on my M1 machine, and used the downloaded x86_64 alr to build (alr build): ``` ... [mkdir] object directory for project URI [mkdir] exec...
Building alr with GCC-12.0.1
(This build is with aarch64-apple-darwin21 **!!!**, but I'm sure - without actually trying - that it'd be the same on x86_64. Found on alire tag 1.1.2, same on master) I...
Homebrew on macOS
I've been working on integrating Homebrew into Alire. I've got it to a point where it works for me; I patched up the [ci-linux](https://github.com/simonjwright/alire/actions/runs/2988808227) and [ci-macos](https://github.com/simonjwright/alire/actions/runs/2988808226) workflows, the only reasons...
Error building libgomp.dylib
This is with commit 31499d1 of 2023-11-22. Build compiler: GCC 13.1.0, aarch64-apple-darwin21 ``` ld: address=0x0 points to section(3) with no content in '/Volumes/Miscellaneous3/aarch64/14.0.0/gcc/aarch64-apple-darwin21/libgomp/.libs/target-indirect.o' ``` Configure script, with `$BUILD=aarch64-apple-darwin21` `$SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk` where...
File names case-sensitive (Ada-related)
At [gcc/ada/adaint.c:611](https://github.com/gcc-mirror/gcc/blob/master/gcc/ada/adaint.c#L611) we have ``` /* By default, we suppose filesystems aren't case sensitive on Windows and Darwin (but they are on arm-darwin). */ #if defined (WINNT) || defined (__DJGPP__)...
Need to configure with --enable-host-pie
This is related to [GCC PR 110467](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467). That PR says that the problem only arises when Ada is enabled, which might explain why it's not been seen already. I found...
Microbit test behaves unexpectedly
In `test-microbit/circle.hex`, each button is intended to act only on a push, not on a release. A toggles the speed, B toggles the direction. Building with the aarch64-hosted GCC 13.1.0...
AdaCore’s "Intro to Embedded Systems" says, in the [section on Handling Interrupts](https://learn.adacore.com/courses/intro-to-embedded-sys-prog/chapters/handling_interrupts.html), > The standard mutually exclusive access provided to the execution of protected procedures and entries is enforced whether...
MacOS Monterey (12.6.3), Python 3.9 from python.org. `pip install --user codereview` goes OK, then (after faffing about trying to start :-) I get ``` $ pyqgit Traceback (most recent call...
Gprbuild confusion between normal & external versions
In the [ubuntu-latest workflow](https://github.com/simonjwright/sdl2-examples/blob/058310eaa45f99e8150563884a6daf0fe765a524/.github/workflows/main.yml#L58) of [the Ada example in my fork of sdl2-examples](https://github.com/simonjwright/sdl2-examples/tree/ada), we’re seeing that * `alr --non-interactive toolchain --install gprbuild` [installs the external gprbuild gprbuild=2021.0.0+0778](https://github.com/simonjwright/sdl2-examples/actions/runs/7667642636/job/20897900285#step:4:10) * `alr --non-interactive...