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

  • From: "js" <trac@xxxxxxxxxxxx>
  • Date: Sun, 12 Jan 2014 23:24:36 -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 js):

 Well, I did not find __cxa_atexit in the bootloader or runtime_loader. So,
 as it does not exist there, I guess GCC does not really emit references to
 it, right?

 Anyway, I noticed that I can tell Clang to also use __cxa_atexit. Maybe
 the better way would be to tell it to use __cxa_atexit and add that
 everywhere? It seems there is one __cxa_atexit in the kernel, but not in
 the bootloader or runtime_loader - but those would also need it.

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

Other related posts: