Details
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
I mean more in the way that it's very broken on arm64 because VIMAGE/DPCPU depend on some rather dubious behavior in the kernel linker.
I think before -fPIC was added you'd end up with text relocations that would mean it could work, whereas after -fPIC was added it started to do the PC-relative thing, or something like that.
But the list of architectures that can't use static should be the list of architectures that use pre-linked kernel modules, i.e. everything except amd64, so at this point probably it should be flipped to say that.
I think so, that's why I mention -fPIC commit. Prior to -fPIC commit many modules was broken https://bugs.llvm.org/show_bug.cgi?id=51736
But the list of architectures that can't use static should be the list of architectures that use pre-linked kernel modules, i.e. everything except amd64, so at this point probably it should be flipped to say that.
I agree