[haiku-bugs] Re: [Haiku] #10402: [PATCHSET] Port kernel, bootloader and runtime_loader to Clang.

  • From: "pdziepak" <trac@xxxxxxxxxxxx>
  • Date: Sun, 12 Jan 2014 23:32:20 -0000

#10402: [PATCHSET] Port kernel, bootloader and runtime_loader to Clang.
---------------------------+----------------------------
   Reporter:  js           |      Owner:  nobody
       Type:  enhancement  |     Status:  new
   Priority:  normal       |  Milestone:  R1
  Component:  - General    |    Version:  R1/Development
 Resolution:               |   Keywords:
 Blocked By:               |   Blocking:
Has a Patch:  1            |   Platform:  All
---------------------------+----------------------------

Comment (by pdziepak):

 `__cxa_atexit` is defined in `/src/system/kernel/util/kernel_cpp.cpp`
 which is shared by kernel, bootloader and runtime loader. Therefore, all
 of them have the function defined, as I said it is an essential part of
 C++ ABI that GCC uses.

 If the Clang can be set to use `__cxa_atexit` instead of `atexit` that
 seems to be the best solution.

--
Ticket URL: <http://dev.haiku-os.org/ticket/10402#comment:7>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: