#34386: Fixup clang compilation for Linux
-------------------------------------+-------------------------------------
     Reporter:  gk                   |      Owner:  tbb-team
         Type:  defect               |     Status:  new
     Priority:  Medium               |  Milestone:
    Component:  Applications/Tor     |    Version:
  Browser                            |   Keywords:  ff78-esr, tbb-rbm,
     Severity:  Normal               |  TorBrowserTeam202006,
                                     |  GeorgKoppen202006
Actual Points:                       |  Parent ID:  #34228
       Points:                       |   Reviewer:
      Sponsor:                       |
-------------------------------------+-------------------------------------
 We need to fix up our clang compilation for Linux. Right now, with 9.0.1
 we get:
 {{{
 /var/tmp/build/llvm/projects/compiler-rt/lib/crt/crtbegin.c:86:16: error:
 section type conflict with '__EH_FRAME_LIST__'
    86 |                used)) static void (*__fini)(void) = __do_fini;
       |                ^~~~
 /var/tmp/build/llvm/projects/compiler-rt/lib/crt/crtbegin.c:13:28: note:
 '__EH_FRAME_LIST__' was declared here
    13 | __extension__ static void *__EH_FRAME_LIST__[]
       |                            ^~~~~~~~~~~~~~~~~
 make[2]: *** [lib/clang/9.0.1/lib/linux/clang_rt.crtbegin-i386.o] Error 1
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/34386>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs

Reply via email to