Skip to content

Attempt to update to FreeBSD 14.4.#23350

Open
LightBender wants to merge 3 commits into
dlang:masterfrom
LightBender:fix-freebsd
Open

Attempt to update to FreeBSD 14.4.#23350
LightBender wants to merge 3 commits into
dlang:masterfrom
LightBender:fix-freebsd

Conversation

@LightBender

Copy link
Copy Markdown
Contributor

No description provided.

@jmdavis

jmdavis commented Jul 3, 2026

Copy link
Copy Markdown
Member

It looks there are some warnings that need to be addressed due to changes that come with upgrading cross-platform-actions. But on top of that, it looks like there's a new test suite failure that I'm going to need to investigate.

I'm not seeing that failure locally on FreeBSD 15 (though I get an error from valgrind about it trying to use unimplemented functionality, which I haven't seen previously), but my laptop is still on FreeBSD 14 IIRC. So, I'll try to find time to try it there after I get some sleep.

@jmdavis

jmdavis commented Jul 4, 2026

Copy link
Copy Markdown
Member

I mentioned this to Adam elsewhere, but I'll mention it here for anyone else who might see the PR, but when I ran the test suite locally on my laptop with FreeBSD 14.3, it passed. I haven't tried 14.4 yet, because the drives proceeded to go south during that process, but since Adam has now tried this with FreeBSD 14.3, and it failed there too, that would indicate that it's not the case that 14.3 works and 14.4 does not. Presumably, either there is a difference in the environment, or I didn't run the tests in quite the same way. gmake test passed for me, and when I tried ci/run.sh test_dmd, it also passed, but it's possible that I passed a different set of environment variables (since it requires several) or values for them, and that's the difference. Given everything that is being done with the script, it's bit hard to know for sure given that I'm not about to run the full set of commands locally given that that would mess with the state of my machine - though maybe I could get a VM set up and try there, since then it wouldn't matter in the same way.

@Herringway

Copy link
Copy Markdown
Contributor

The CI logs point to a failure here: https://github.com/dlang/dmd/blob/master/compiler/test/dshell/dwarf.d#L57

I recall FreeBSD deprecating GCC in favour of LLVM in recent years. GNU's objdump puts the version on the first line, but LLVM's puts it on the second line -

GNU objdump (GNU Binutils) 2.46.0

vs

LLVM (http://llvm.org/):
  LLVM version 22.1.6

My guess is that objdump is LLVM's on the systems that are failing, and GNU's on the systems that aren't. Can you confirm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants