Opened 3 years ago
Last modified 3 years ago
#17015 reopened bug
[Build System] Enable -fno-semantic-interposition
Reported by: | diver | Owned by: | bonefish |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Build System | Version: | R1/beta2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
This is from https://github.com/haikuports/haikuports/issues/4806
According to the ticket we could probably enable this for Haiku's kernel (and maybe app_server also) as well as libbe.so
Change History (4)
comment:1 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 3 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Ah, I guess we don't do it for the whole system, just for the kernel. Indeed, probably we could do it for everything but libroot.so, I suppose? Or maybe more broadly still?
comment:3 by , 3 years ago
It only makes sense for kernel add-ons, right?
comment:4 by , 3 years ago
No, it makes sense for the kernel itself, too, because kernel addons do not override symbols for the kernel, only for themselves.
While libroot POSIX functions need to allow interposition, I don't think libbe ones do (indeed it mostly doesn't make sense to do that.) So we may be able to turn it on there.
We already do this for the entire system: https://xref.landonf.org/source/xref/haiku/build/jam/ArchitectureRules#345
:)