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 waddlesplash, 3 years ago

Resolution: fixed
Status: newclosed

comment:2 by waddlesplash, 3 years ago

Resolution: fixed
Status: closedreopened

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 korli, 3 years ago

It only makes sense for kernel add-ons, right?

Version 0, edited 3 years ago by korli (next)

comment:4 by waddlesplash, 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.

Note: See TracTickets for help on using tickets.