[MacPorts] #43353: clang-3.4: error: 'assertion_failed__839' declared as an array with a negative size

MacPorts noreply at macports.org
Thu Apr 17 22:15:25 PDT 2014


#43353: clang-3.4: error: 'assertion_failed__839' declared as an array with a
negative size
---------------------------+------------------------
  Reporter:  ryandesign@…  |      Owner:  jeremyhu@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:                |   Keywords:  leopard
      Port:  clang-3.4     |
---------------------------+------------------------

Comment (by ryandesign@…):

 Replying to [comment:10 jeremyhu@…]:
 > Can you figure out why/where `__DARWIN_64_BIT_INO_T`  or
 `_DARWIN_NO_64_BIT_INODE` are being defined for you?  They're not on the
 command line.

 The only possibly related thing I found was in projects/compiler-
 rt/lib/sanitizer_common/sanitizer_mac.cc where it says:

 {{{
 // Use 64-bit inodes in file operations. ASan does not support OS X 10.5,
 so
 // the clients will most certainly use 64-bit ones as well.
 #ifndef _DARWIN_USE_64_BIT_INODE
 #define _DARWIN_USE_64_BIT_INODE 1
 #endif
 }}}

 Which leads us back to your earlier question of why this is trying to
 build on 10.5, if it doesn't support 10.5.


 Replying to [comment:11 jeremyhu@…]:
 > What is your environment when you ran that? (ie, the output of 'env')?

 Should be pretty normal:

 {{{
 MANPATH=/opt/local/share/man:/usr/share/man:/usr/local/share/man:/usr/X11/man
 TERM_PROGRAM=Apple_Terminal
 TERM=xterm-color
 SHELL=/bin/bash
 TMPDIR=/var/folders/vA/vAgMe5ifFZKs1TQHIzYzYk+++TI/-Tmp-/
 Apple_PubSub_Socket_Render=/tmp/launch-5iQtNV/Render
 TERM_PROGRAM_VERSION=240.2
 USER=rschmidt
 COMMAND_MODE=unix2003
 SSH_AUTH_SOCK=/tmp/launch-dzG5n5/Listeners
 __CF_USER_TEXT_ENCODING=0x1F5:0:0
 PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
 PWD=/Users/rschmidt
 DBUS_LAUNCHD_SESSION_BUS_SOCKET=/tmp/launch-MF5o0p/unix_domain_listener
 LANG=en_US.UTF-8
 SHLVL=1
 HOME=/Users/rschmidt
 LOGNAME=rschmidt
 DISPLAY=/tmp/launch-AXBY5h/:0
 SECURITYSESSIONID=920610
 _=/usr/bin/env
 }}}

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


More information about the macports-tickets mailing list