Hello! I've been struggling with this issue for several days now and wondered if any Mac OS Emacs users have successfully overcome it. I created a thread on the [Emacs StackExchange](https://emacs.stackexchange.com/q/74239/38373) describing the issue and my attempts at solutions in detail, but the gist is:
1. I'm building Emacs from source on Mac OS, 12.4 w/ M1.
2. I'm configuring Emacs with native compilation.
```
./configure --with-native-compilation \
--with-ns \
--disable-silent-rules
```
3. The build succeeds, `src/emacs` runs like a charm and I `make install`.
4. My nextstep/Emacs.app runs, but emits a ton of `libgccjit.so: error: error invoking gcc driver` errors to the Messages buffer.
I suspect the Emacs.app package has some misconfigured paths that are unable to find my `libgccjit` library, which I've installed via homebrew. I've tried experimenting with [exec-path-from-shell](https://github.com/purcell/exec-path-from-shell) to ensure Emacs is aware of my shell paths, but to no avail.
In the meantime, I've been able to use `emacs` and `emacsclient` from the CLI with no issues to speak of. The only problems arise when I interact with the Emacs.app application. Anyone have an idea as to what's going on here?