[MacPorts] #46638: clang 3.5 sanitizer (ubsan) does not work

MacPorts noreply at macports.org
Tue Mar 10 15:15:35 PDT 2015


#46638: clang 3.5 sanitizer (ubsan) does not work
------------------------+------------------------
  Reporter:  uri@…      |      Owner:  jeremyhu@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.3
Resolution:             |   Keywords:
      Port:  clang-3.5  |
------------------------+------------------------

Comment (by uri@…):

 Update. clang-3.5 seems hopeless wrt. -fsanitize=vptr (just does not
 work), but clang-3.6 seems to have fixed this problem. I have successfully
 built a test program, and it worked as expected:
 {{{
 $ clang++-mp-3.6 -fsanitize=address -fsanitize=undefined -pipe -o t
 -I/opt/local/include t.cpp -L/opt/local/lib -lc++ -lc++abi
 $ ./t
 Program compiled and linked with mutex fine.
 argc=1  argv[0]=./t
 $
 }}}

 So I moved to clang-3.6, and am happy (so far :).

 Thank you!

-- 
Ticket URL: <https://trac.macports.org/ticket/46638#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list