On Saturday, 20 January 2024 at 21:12:12 UTC, ryuukk_ wrote:
dub might not be passing this flag down to dependencies..
Try this env variable:
``LDFLAGS="$LDFLAGS -Wl,-ld_classic" dub build``
That didn't help.
If that doesn't work, try this one:
``MACOSX_DEPLOYMENT_TARGET=11 dub build``
On Saturday, 20 January 2024 at 20:35:16 UTC, Renato wrote:
On Friday, 22 December 2023 at 17:50:47 UTC, Johan wrote:
Some general advice:
1 - use `dub` from LDC's package (this may solve some arm64 vs
x86 issues when on Apple Silicon CPU)
2 - when you use a new or different compiler, you have
On Friday, 22 December 2023 at 17:50:47 UTC, Johan wrote:
Some general advice:
1 - use `dub` from LDC's package (this may solve some arm64 vs
x86 issues when on Apple Silicon CPU)
2 - when you use a new or different compiler, you have to
rebuild _all_ packages. So clear your dub cache.
I thi
On Friday, 22 December 2023 at 17:45:27 UTC, Renato wrote:
I'm afraid I've lost interest to make it work at this point :(
Did you add "-L-ld_classic"?
That's the first thing I did... without that, LDC still
compiles , but logs a huge amount of things like this (it keeps
going for a few hun
On Friday, 22 December 2023 at 17:50:47 UTC, Johan wrote:
Some general advice:
1 - use `dub` from LDC's package (this may solve some arm64 vs
x86 issues when on Apple Silicon CPU)
```
▶ which dub
/Users/renato/dlang/ldc-1.35.0/bin/dub
(ldc-1.35.0)
```
2 - when you use a new or different com
On Friday, 22 December 2023 at 17:45:27 UTC, Renato wrote:
I'm afraid I've lost interest to make it work at this point :(
Did you add "-L-ld_classic"?
Some general advice:
1 - use `dub` from LDC's package (this may solve some arm64 vs
x86 issues when on Apple Silicon CPU)
2 - when you use a new or different compiler, you have to rebuild
_all_ packages. So clear your dub cache.
I think point 2 is causing your issues.
-Johan
On Friday, 22 December 2023 at 12:49:35 UTC, Guillaume Piolat
wrote:
On Thursday, 21 December 2023 at 23:25:55 UTC, Renato wrote:
ld: symbol(s) not found for architecture x86_64
Make sure you're using the "osx-universal" package in order to
have both arch.
https://github.com/ldc-developers/l
On Friday, 22 December 2023 at 12:49:35 UTC, Guillaume Piolat
wrote:
On Thursday, 21 December 2023 at 23:25:55 UTC, Renato wrote:
ld: symbol(s) not found for architecture x86_64
Make sure you're using the "osx-universal" package in order to
have both arch.
https://github.com/ldc-developers/l
On Thursday, 21 December 2023 at 23:25:55 UTC, Renato wrote:
ld: symbol(s) not found for architecture x86_64
Make sure you're using the "osx-universal" package in order to
have both arch.
https://github.com/ldc-developers/ldc/releases/tag/v1.35.0
That said, for consumer software it may be a
On Thursday, 21 December 2023 at 19:29:31 UTC, Guillaume Piolat
wrote:
On Thursday, 21 December 2023 at 18:06:51 UTC, Renato wrote:
Unless silly is completely broken, it seems like this is a
linker issue again.
Hello, why not use ldc instead of dmd for macOS?
sudo ln -f -s /path/to/ldc/comp
On Thursday, 21 December 2023 at 22:19:07 UTC, Renato wrote:
LDC is slow and makes huge multi-MB binaries (is that normal?).
DMD seemed much better to me.
But at least LDC works :) so will use that for now.
On my setup ldc generates small binaries and dmd generates huge
ones. The difference
On Thursday, 21 December 2023 at 19:29:31 UTC, Guillaume Piolat
wrote:
On Thursday, 21 December 2023 at 18:06:51 UTC, Renato wrote:
Unless silly is completely broken, it seems like this is a
linker issue again.
Hello, why not use ldc instead of dmd for macOS?
sudo ln -f -s /path/to/ldc/comp
On Thursday, 21 December 2023 at 18:06:51 UTC, Renato wrote:
Unless silly is completely broken, it seems like this is a
linker issue again.
Hello, why not use ldc instead of dmd for macOS?
sudo ln -f -s /path/to/ldc/compiler/bin/ldc2 /usr/local/bin/ldc2
sudo ln -f -s /path/to/ldc/compiler/bi
On Sunday, 17 December 2023 at 12:08:40 UTC, Johan wrote:
On Wednesday, 13 December 2023 at 18:32:50 UTC, Renato wrote:
On Wednesday, 4 October 2023 at 11:01:08 UTC, Johan wrote:
On Tuesday, 3 October 2023 at 23:55:05 UTC, confuzzled wrote:
Any known workaround for this most recent issue on mac
On Wednesday, 13 December 2023 at 18:32:50 UTC, Renato wrote:
On Wednesday, 4 October 2023 at 11:01:08 UTC, Johan wrote:
On Tuesday, 3 October 2023 at 23:55:05 UTC, confuzzled wrote:
Any known workaround for this most recent issue on macOS
Sonoma? The file I'm compiling contains a blank main()
On Wednesday, 4 October 2023 at 11:01:08 UTC, Johan wrote:
On Tuesday, 3 October 2023 at 23:55:05 UTC, confuzzled wrote:
[...]
Try passing `-ld_classic` to the linker. (`dmd -L-ld_classic`)
https://github.com/ldc-developers/ldc/issues/4501#issuecomment-1738295459
-Johan
I've been holding
On Wednesday, 4 October 2023 at 11:01:08 UTC, Johan wrote:
On Tuesday, 3 October 2023 at 23:55:05 UTC, confuzzled wrote:
Any known workaround for this most recent issue on macOS
Sonoma? The file I'm compiling contains a blank main() without
any imports but this error shows up on everything I've
On Wednesday, 4 October 2023 at 11:01:08 UTC, Johan wrote:
Try passing `-ld_classic` to the linker. (`dmd -L-ld_classic`)
This works for me as well, thank you! I'm running macOS Sonoma
and XCode 15.0 (15A240d). It appears XCode 15's linker errors are
wreaking havoc with quite a few other la
On Wednesday, 4 October 2023 at 11:01:08 UTC, Johan wrote:
Try passing `-ld_classic` to the linker. (`dmd -L-ld_classic`)
https://github.com/ldc-developers/ldc/issues/4501#issuecomment-1738295459
-Johan
Thanks. This did the trick.
On Wednesday, 4 October 2023 at 07:47:05 UTC, Paolo Invernizzi
wrote:
On Wednesday, 4 October 2023 at 07:43:29 UTC, Tuna Celik wrote:
On Tuesday, 3 October 2023 at 23:55:05 UTC, confuzzled wrote:
[...]
I'm also suffering from the same problem.
It seems to be an Xcode 15 issues, everything w
On Tuesday, 3 October 2023 at 23:55:05 UTC, confuzzled wrote:
Any known workaround for this most recent issue on macOS
Sonoma? The file I'm compiling contains a blank main() without
any imports but this error shows up on everything I've
attempted to compile since upgrading to Sonoma.
(dmd-2.1
On Wednesday, 4 October 2023 at 07:43:29 UTC, Tuna Celik wrote:
On Tuesday, 3 October 2023 at 23:55:05 UTC, confuzzled wrote:
[...]
I'm also suffering from the same problem.
It seems to be an Xcode 15 issues, everything works fine with 14
On Tuesday, 3 October 2023 at 23:55:05 UTC, confuzzled wrote:
Any known workaround for this most recent issue on macOS
Sonoma? The file I'm compiling contains a blank main() without
any imports but this error shows up on everything I've
attempted to compile since upgrading to Sonoma.
(dmd-2.1
24 matches
Mail list logo