[haiku-bugs] Re: [Haiku] #2627: Mail-It doesn't work (undefined symbol)

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Thu, 20 Nov 2014 09:30:40 -0000

#2627: Mail-It doesn't work (undefined symbol)
-------------------------------------+---------------------------
   Reporter:  rossi                  |      Owner:  axeld
       Type:  bug                    |     Status:  new
   Priority:  normal                 |  Milestone:  R1
  Component:  System/runtime_loader  |    Version:  R1/pre-alpha1
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  x86
-------------------------------------+---------------------------

Comment (by bonefish):

 One has to wonder how libfreestyle.so could even be linked, given that the
 BeOS gcc/binutils toolchain linked symbolically and didn't support
 undefined symbols. Hence it was assumed that searching the direct
 dependencies for unresolved symbols was sufficient for BeOS executables,
 which is [http://cgit.haiku-
 
os.org/haiku/tree/src/system/runtime_loader/elf_symbol_lookup.cpp?id=05a922cd4da0be9b032ca14b47504fc297dc9e24#n298
 how it is implemented] ATM.

 A solution would be to fall back to the regular symbol resolution, when
 the BeOS style resolution fails. This also allows us to split BeOS
 libraries without breaking BeOS apps that linked against them.

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

Other related posts: