digitalmars.D - DMD on OSX broken?
- WebFreak001 (9/9) Nov 17 2021 I'm using DMD on the GitHub Actions OSX runner and suddenly I'm
- Steven Schveighoffer (7/17) Nov 17 2021 It might.
- WebFreak001 (9/27) Nov 17 2021 I tried a variety of targets now, none seem to work. The tests
- WebFreak001 (4/13) Nov 17 2021 turns out the cache (I cache the `.dub` folder) was causing this
I'm using DMD on the GitHub Actions OSX runner and suddenly I'm getting these weird linker errors: https://github.com/Pure-D/serve-d/runs/4240327451?check_suite_focus=true anyone else getting errors like that? I don't have a mac so I have no way of checking if it actually happens on real devices or how to fix it. I have `env MACOSX_DEPLOYMENT_TARGET=10.12` set because I wanted to support older OSX versions, not sure if that's something that could influence this error
Nov 17 2021
On 11/17/21 11:49 AM, WebFreak001 wrote:I'm using DMD on the GitHub Actions OSX runner and suddenly I'm getting these weird linker errors: https://github.com/Pure-D/serve-d/runs/4240327451?check_suite_focus=true anyone else getting errors like that? I don't have a mac so I have no way of checking if it actually happens on real devices or how to fix it. I have `env MACOSX_DEPLOYMENT_TARGET=10.12` set because I wanted to support older OSX versions, not sure if that's something that could influence this errorIt might. Maybe try removing that to test? I'm not sure what OS the github actions image is. I recently had some issues with linking with LDC on my M1 Pro macbook. Changing the deployment target to 11 (from 12) helped. -Steve
Nov 17 2021
On Wednesday, 17 November 2021 at 17:35:56 UTC, Steven Schveighoffer wrote:On 11/17/21 11:49 AM, WebFreak001 wrote:I tried a variety of targets now, none seem to work. The tests before that compile and run fine, but it's the tests of the big actual application that break. I saw some other projects on github experiencing issues with libc missing some symbols for some reason, but I don't really see these symbols missing on this build. Is the linker or compiler maybe "optimizing" something away that should be there?I'm using DMD on the GitHub Actions OSX runner and suddenly I'm getting these weird linker errors: https://github.com/Pure-D/serve-d/runs/4240327451?check_suite_focus=true anyone else getting errors like that? I don't have a mac so I have no way of checking if it actually happens on real devices or how to fix it. I have `env MACOSX_DEPLOYMENT_TARGET=10.12` set because I wanted to support older OSX versions, not sure if that's something that could influence this errorIt might. Maybe try removing that to test? I'm not sure what OS the github actions image is. I recently had some issues with linking with LDC on my M1 Pro macbook. Changing the deployment target to 11 (from 12) helped. -Steve
Nov 17 2021
On Wednesday, 17 November 2021 at 16:49:49 UTC, WebFreak001 wrote:I'm using DMD on the GitHub Actions OSX runner and suddenly I'm getting these weird linker errors: https://github.com/Pure-D/serve-d/runs/4240327451?check_suite_focus=true anyone else getting errors like that? I don't have a mac so I have no way of checking if it actually happens on real devices or how to fix it. I have `env MACOSX_DEPLOYMENT_TARGET=10.12` set because I wanted to support older OSX versions, not sure if that's something that could influence this errorturns out the cache (I cache the `.dub` folder) was causing this issue - clearing cache (installed packages and local .dub folder) fixed the issue on CI
Nov 17 2021