[haiku-bugs] Re: [Haiku] #12430: gcc 4 won't build a non-position-independent executable

  • From: "jessicah" <trac@xxxxxxxxxxxx>
  • Date: Mon, 09 Nov 2015 21:26:45 -0000

#12430: gcc 4 won't build a non-position-independent executable
--------------------------+----------------------------
Reporter: simonsouth | Owner: korli
Type: bug | Status: closed
Priority: normal | Milestone: Unscheduled
Component: System | Version: R1/Development
Resolution: fixed | Keywords:
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
--------------------------+----------------------------

Comment (by jessicah):

Some commentary from pdziepak on IRC, that you might also find useful:

well, there is more to be done before we can say the we support position
dependent executables
currently kernel first loads runtime_loader and then runtime_loader
loads the executable itself
that's unusual order and will have to be changed
because we need to guarantee that there is no address conflict between
runtime_loader and the executable
(well, we can guarantee that on x64 if we limit our support to memory
model small, for instance, but the change is needed for 32bit anyway)

--
Ticket URL: <https://dev.haiku-os.org/ticket/12430#comment:16>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: