<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 9/20/13 3:52 PM, Fernando Miranda
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAKtD2Vwq2VFD=CRUKkJ053sXZwEwKUFJnSDxQkz7HpvkCC-0-w@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="ltr">Hello, I'm having issues trying to compile SAFECode
        3.2 from SVN. 
        <div>Maybe the problem is related to this thread </div>
        <div><a moz-do-not-send="true"
            href="http://lists.cs.uiuc.edu/pipermail/svadev/2012-April/000220.html">http://lists.cs.uiuc.edu/pipermail/svadev/2012-April/000220.html</a><br>
        </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    <br>
    Fascinating.  I've never seen that error before.<br>
    <br>
    I'm assuming that you did not specify any special options for
    CFLAGS, LDFLAGS, etc.  Is this assumption correct?<br>
    <br>
    I'll try to take a look at this issue early next week.  In the
    meantime, you can probably work around the problem by modifying
    safecode/runtime/Makefile so that SoftBoundRuntime isn't listed in
    PARALLEL_DIRS.<br>
    <br>
    Oh, BTW, you should probably post SAFECode problems to llvmdev or
    sva-dev and not cfe-dev.  Since SAFECode isn't integrated with
    mainling clang, I think it's probably off-topic for this list.<br>
    <br>
    -- John T.<br>
    <br>
    <blockquote
cite="mid:CAKtD2Vwq2VFD=CRUKkJ053sXZwEwKUFJnSDxQkz7HpvkCC-0-w@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>My config:</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>(Lubuntu 13.04)</div>
        <div>
          <div>Linux 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23
            UTC 2013 x86_64 x86_64 x86_64 GNU/Linux</div>
        </div>
        <div>
          <br>
        </div>
        <div>gcc version 4.7.3<br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>My Steps:</div>
        <div><br>
        </div>
        <div>
          <div>cd where-you-want-llvm-to-live</div>
          <div>svn co <a moz-do-not-send="true"
              href="http://llvm.org/svn/llvm-project/llvm/branches/release_32">http://llvm.org/svn/llvm-project/llvm/branches/release_32</a>
            llvm</div>
          <div>cd llvm/projects</div>
          <div>svn co <a moz-do-not-send="true"
              href="http://llvm.org/svn/llvm-project/poolalloc/branches/release_32">http://llvm.org/svn/llvm-project/poolalloc/branches/release_32</a>
            poolalloc</div>
          <div>svn co <a moz-do-not-send="true"
              href="http://llvm.org/svn/llvm-project/safecode/branches/release_32">http://llvm.org/svn/llvm-project/safecode/branches/release_32</a>
            safecode</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <div>cd LLVM-object-directory</div>
          <div>make tools-only</div>
          <div>cd projects/poolalloc</div>
          <div>make</div>
          <div><br>
          </div>
          <div>(OK till here)</div>
          <div><br>
          </div>
          <div>cd ../safecode</div>
          <div>make</div>
        </div>
        <div><br>
        </div>
        <div>The error:</div>
        <div><br>
        </div>
        <div>
          <div>In file included from softboundcets.c:53:0:</div>
          <div>softboundcets.h:301:20: warning: always_inline function
            might not be inlinable [-Wattributes]</div>
          <div>In file included from softboundcets.c:53:0:</div>
          <div>softboundcets.h: In function
            ‘__softboundcets_copy_metadata’:</div>
          <div>softboundcets.h:443:45: error: inlining failed in call to
            always_inline ‘__softboundcets_trie_allocate’: function body
            can be overwritten at link time</div>
          <div>softboundcets.h:512:25: error: called from here</div>
          <div>softboundcets.h:443:45: error: inlining failed in call to
            always_inline ‘__softboundcets_trie_allocate’: function body
            can be overwritten at link time</div>
          <div>
            softboundcets.h:518:23: error: called from here</div>
          <div>softboundcets.h:443:45: error: inlining failed in call to
            always_inline ‘__softboundcets_trie_allocate’: function body
            can be overwritten at link time</div>
          <div>softboundcets.h:546:37: error: called from here</div>
          <div>softboundcets.h: In function
            ‘__softboundcets_metadata_store’:</div>
          <div>softboundcets.h:443:45: error: inlining failed in call to
            always_inline ‘__softboundcets_trie_allocate’: function body
            can be overwritten at link time</div>
          <div>In file included from softboundcets.c:53:0:</div>
          <div>softboundcets.h:737:28: error: called from here</div>
          <div>softboundcets.h: In function
            ‘__softboundcets_memory_allocation’:</div>
          <div>softboundcets.h:999:22: error: inlining failed in call to
            always_inline ‘__softboundcets_allocate_lock_location’:
            function body can be overwritten at link time</div>
          <div>softboundcets.h:1120:75: error: called from here</div>
          <div>softboundcets.h:1139:20: error: inlining failed in call
            to always_inline ‘__softboundcets_add_to_free_map’: function
            body can be overwritten at link time</div>
          <div>softboundcets.h:1124:34: error: called from here</div>
          <div>softboundcets.h:1057:1: error: inlining failed in call to
            always_inline
            ‘__softboundcets_allocation_secondary_trie_allocate’:
            function body can be overwritten at link time</div>
          <div>softboundcets.h:1126:53: error: called from here</div>
          <div>softboundcets.c: In function ‘__softboundcets_init’:</div>
          <div>softboundcets.h:1029:1: error: inlining failed in call to
            always_inline
            ‘__softboundcets_allocation_secondary_trie_allocate_range’:
            function body can be overwritten at link time</div>
          <div>softboundcets.c:249:61: error: called from here</div>
          <div>In file included from softboundcets.c:53:0:</div>
          <div>softboundcets.c: In function ‘main’:</div>
          <div>softboundcets.h:1029:1: error: inlining failed in call to
            always_inline
            ‘__softboundcets_allocation_secondary_trie_allocate_range’:
            function body can be overwritten at link time</div>
          <div>softboundcets.c:316:59: error: called from here</div>
          <div>In file included from softboundcets.c:53:0:</div>
          <div>softboundcets.h:1093:1: error: inlining failed in call to
            always_inline ‘__softboundcets_stack_memory_allocation’:
            function body can be overwritten at link time</div>
          <div>softboundcets.c:318:42: error: called from here</div>
          <div>In file included from softboundcets.c:53:0:</div>
          <div>softboundcets.h:1057:1: error: inlining failed in call to
            always_inline
            ‘__softboundcets_allocation_secondary_trie_allocate’:
            function body can be overwritten at link time</div>
          <div>softboundcets.c:265:53: error: called from here</div>
          <div>In file included from softboundcets.c:53:0:</div>
          <div>softboundcets.h:301:20: error: inlining failed in call to
            always_inline ‘__softboundcets_allocate_shadow_stack_space’:
            function body can be overwritten at link time</div>
          <div>softboundcets.c:367:46: error: called from here</div>
          <div>In file included from softboundcets.c:53:0:</div>
          <div>softboundcets.h:373:20: error: inlining failed in call to
            always_inline ‘__softboundcets_store_base_shadow_stack’:
            function body can be overwritten at link time</div>
          <div>softboundcets.c:382:42: error: called from here</div>
          <div>In file included from softboundcets.c:53:0:</div>
          <div>softboundcets.h:386:20: error: inlining failed in call to
            always_inline ‘__softboundcets_store_bound_shadow_stack’:
            function body can be overwritten at link time</div>
          <div>softboundcets.c:383:43: error: called from here</div>
          <div>In file included from softboundcets.c:53:0:</div>
          <div>softboundcets.h:398:20: error: inlining failed in call to
            always_inline ‘__softboundcets_store_key_shadow_stack’:
            function body can be overwritten at link time</div>
          <div>softboundcets.c:384:41: error: called from here</div>
          <div>In file included from softboundcets.c:53:0:</div>
          <div>softboundcets.h:411:20: error: inlining failed in call to
            always_inline ‘__softboundcets_store_lock_shadow_stack’:
            function body can be overwritten at link time</div>
          <div>softboundcets.c:385:42: error: called from here</div>
          <div>In file included from softboundcets.c:53:0:</div>
          <div>softboundcets.h:422:20: error: inlining failed in call to
            always_inline
            ‘__softboundcets_deallocate_shadow_stack_space’: function
            body can be overwritten at link time</div>
          <div>softboundcets.c:398:48: error: called from here</div>
          <div>In file included from softboundcets.c:53:0:</div>
          <div>softboundcets.h:964:20: error: inlining failed in call to
            always_inline ‘__softboundcets_stack_memory_deallocation’:
            function body can be overwritten at link time</div>
          <div>softboundcets.c:400:44: error: called from here</div>
          <div>/bin/rm: cannot remove
            ‘/home/bugweek/llvm/projects/safecode/runtime/SoftBoundRuntime/Release+Asserts/softboundcets.d.tmp’:
            No such file or directory</div>
          <div>
            make[2]: ***
            [/home/bugweek/llvm/projects/safecode/runtime/SoftBoundRuntime/Release+Asserts/softboundcets.o]
            Error 1</div>
          <div>make[2]: Leaving directory
            `/home/bugweek/llvm/projects/safecode/runtime/SoftBoundRuntime'</div>
          <div>make[1]: *** [SoftBoundRuntime/.makeall] Error 2</div>
          <div>make[1]: Leaving directory
            `/home/bugweek/llvm/projects/safecode/runtime'</div>
          <div>make: *** [all] Error 1</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>
          <br>
        </div>
        <div>I'm stuck here. I really appreciate any help.</div>
        <div>Thanks in advance.</div>
        <div><br>
        </div>
        <div>-Fernando</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>