#5158: [PATCH] bfs_shell: Relocation errors for bfs.o on OpenSolaris ---------------------------+------------------------------------------------ Reporter: andreasf | Owner: bonefish Type: bug | Status: closed Priority: normal | Milestone: R1 Component: Build System | Version: R1/Development Resolution: fixed | Keywords: Blockedby: 5157 | Platform: All Blocking: | ---------------------------+------------------------------------------------ Changes (by bonefish): * status: new => closed * resolution: => fixed Comment: Replying to [comment:2 andreasf]: > Replying to [comment:1 bonefish]: > > Is ld the GNU linker or Sun's? > > Thanks for the hint! Haiku has apparently begun mixing uses of `ld` and `gcc` for linking. We've been using both for quite some time. Most stuff is linked with gcc, but the *MergeObject (and the KernelLd) rules need to use ld. > Starting with OpenSolaris, `ld` is GNU ld, whereas GCC continues to use Sun's ld. > > The attached patch overrides the default {{{HOST_LD}}} for {{{sunos}}}, curing this problem. This should rather happen in configure, but since we don't determine HOST_LD there yet (and I'm too lazy to change that right now), I've applied the patch in r34726. -- Ticket URL: <http://dev.haiku-os.org/ticket/5158#comment:3> Haiku <http://dev.haiku-os.org> Haiku - the operating system.