<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Cannot build clisp 2.49"
   href="https://llvm.org/bugs/show_bug.cgi?id=25037">25037</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cannot build clisp 2.49
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.7
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Frontend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>aaron.grahn.999@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Compiling clisp-2.49 with clang 3.7.0. clang+llvm 3.7.0 was compiled with
clang+llvm 3.7.0. Attempting to compile spvw.c


clang version 3.7.0 (tags/RELEASE_370/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Found candidate GCC installation: /usr/lib64/gcc/x86_64-slackware-linux/4.8.2
Selected GCC installation: /usr/lib64/gcc/x86_64-slackware-linux/4.8.2
Candidate multilib: .;@m64
Selected multilib: .;@m64
 "/usr/local/bin/clang-3.7" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj
-mrelax-all -disable-free -disable-llvm-verifier -main-file-name spvw.c
-mrelocation-model static -mthread-model posix -mdisable-fp-elim -fmath-errno
-masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array
-target-cpu x86-64 -v -dwarf-column-info -coverage-file
/home/aaron/Downloads/clisp-2.49/src/spvw.c -resource-dir
/usr/local/bin/../lib/clang/3.7.0 -cxx-isystem /usr/lib64/qt/include
-cxx-isystem /usr/lib64/qt/include -internal-isystem /usr/local/include
-internal-isystem /usr/local/bin/../lib/clang/3.7.0/include
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-fdebug-compilation-dir /home/aaron/Downloads/clisp-2.49/src -ferror-limit 19
-fmessage-length 0 -mstackrealign -fobjc-runtime=gcc -fdiagnostics-show-option
-o spvw.o -x c spvw.c
clang -cc1 version 3.7.0 based upon LLVM 3.7.0 default target
x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/local/bin/../lib/clang/3.7.0/include
 /usr/include
End of search list.
In file included from spvw.d:927:
In file included from spvw_garcol.d:72:
spvw_gcmark.d:348:58: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
    pred =
objectplus(pred,-(soint)(sizeof(gcv_object_t))<<(oint_addr_shift-addr_shift));
/* go to next component */
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:72:
spvw_gcmark.d:369:9: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
        up_varobject(symbol_objects_offset);
        ^
spvw_gcmark.d:46:50: note: expanded from macro 'up_varobject'
  { curr =
objectplus(pred,-(soint)(first_offset)<<(oint_addr_shift-addr_shift)); /*
becomes current object */ \
                                                 ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:72:
spvw_gcmark.d:371:9: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
        up_svector();
        ^
spvw_gcmark.d:117:60: note: expanded from macro 'up_svector'
  { curr =
objectplus(pred,-(soint)offsetofa(svector_,data)<<(oint_addr_shift-addr_shift));
/* Svector becomes current object */ \
                                                           ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:72:
spvw_gcmark.d:376:9: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
        up_iarray();
        ^
spvw_gcmark.d:71:54: note: expanded from macro 'up_iarray'
  { curr =
objectplus(pred,-(soint)iarray_data_offset<<(oint_addr_shift-addr_shift)); /*
array becomes current object */ \
                                                     ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:72:
spvw_gcmark.d:378:9: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
        up_lrecord();
        ^
spvw_gcmark.d:143:62: note: expanded from macro 'up_lrecord'
  { curr =
objectplus(pred,-(soint)offsetofa(record_,recdata)<<(oint_addr_shift-addr_shift));
/* Lrecord becomes current object */ \
                                                             ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:72:
spvw_gcmark.d:381:9: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
        up_sxrecord();
        ^
spvw_gcmark.d:180:62: note: expanded from macro 'up_sxrecord'
  { curr =
objectplus(pred,-(soint)offsetofa(record_,recdata)<<(oint_addr_shift-addr_shift));
/* record becomes current object */ \
                                                             ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:72:
spvw_gcmark.d:383:75: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
        { {var object pred_ =
objectplus(pred,-(soint)sistring_data_offset<<(oint_addr_shift-addr_shift));
                                                                          ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
In file included from spvw_weak.d:104:
spvw_gcmark.d:348:58: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
    pred =
objectplus(pred,-(soint)(sizeof(gcv_object_t))<<(oint_addr_shift-addr_shift));
/* go to next component */
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
In file included from spvw_weak.d:104:
spvw_gcmark.d:369:9: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
        up_varobject(symbol_objects_offset);
        ^
spvw_gcmark.d:46:50: note: expanded from macro 'up_varobject'
  { curr =
objectplus(pred,-(soint)(first_offset)<<(oint_addr_shift-addr_shift)); /*
becomes current object */ \
                                                 ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
In file included from spvw_weak.d:104:
spvw_gcmark.d:371:9: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
        up_svector();
        ^
spvw_gcmark.d:117:60: note: expanded from macro 'up_svector'
  { curr =
objectplus(pred,-(soint)offsetofa(svector_,data)<<(oint_addr_shift-addr_shift));
/* Svector becomes current object */ \
                                                           ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
In file included from spvw_weak.d:104:
spvw_gcmark.d:376:9: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
        up_iarray();
        ^
spvw_gcmark.d:71:54: note: expanded from macro 'up_iarray'
  { curr =
objectplus(pred,-(soint)iarray_data_offset<<(oint_addr_shift-addr_shift)); /*
array becomes current object */ \
                                                     ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
In file included from spvw_weak.d:104:
spvw_gcmark.d:378:9: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
        up_lrecord();
        ^
spvw_gcmark.d:143:62: note: expanded from macro 'up_lrecord'
  { curr =
objectplus(pred,-(soint)offsetofa(record_,recdata)<<(oint_addr_shift-addr_shift));
/* Lrecord becomes current object */ \
                                                             ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
In file included from spvw_weak.d:104:
spvw_gcmark.d:381:9: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
        up_sxrecord();
        ^
spvw_gcmark.d:180:62: note: expanded from macro 'up_sxrecord'
  { curr =
objectplus(pred,-(soint)offsetofa(record_,recdata)<<(oint_addr_shift-addr_shift));
/* record becomes current object */ \
                                                             ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
In file included from spvw_weak.d:104:
spvw_gcmark.d:383:75: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
        { {var object pred_ =
objectplus(pred,-(soint)sistring_data_offset<<(oint_addr_shift-addr_shift));
                                                                          ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
spvw_weak.d:630:40: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
          TheWeakList(obj)->wl_count =
fixnum_inc(TheWeakList(obj)->wl_count,-1);
                                       ^
lispbibl.d:5336:36: note: expanded from macro 'fixnum_inc'
    objectplus(obj, (soint)(delta) << oint_data_shift)
                                   ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
spvw_weak.d:690:42: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
          TheWeakAlist(obj)->wal_count =
fixnum_inc(TheWeakAlist(obj)->wal_count,-1);
                                         ^
lispbibl.d:5336:36: note: expanded from macro 'fixnum_inc'
    objectplus(obj, (soint)(delta) << oint_data_shift)
                                   ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
spvw_weak.d:708:42: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
          TheWeakAlist(obj)->wal_count =
fixnum_inc(TheWeakAlist(obj)->wal_count,-1);
                                         ^
lispbibl.d:5336:36: note: expanded from macro 'fixnum_inc'
    objectplus(obj, (soint)(delta) << oint_data_shift)
                                   ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
spvw_weak.d:729:42: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
          TheWeakAlist(obj)->wal_count =
fixnum_inc(TheWeakAlist(obj)->wal_count,-1);
                                         ^
lispbibl.d:5336:36: note: expanded from macro 'fixnum_inc'
    objectplus(obj, (soint)(delta) << oint_data_shift)
                                   ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
spvw_weak.d:753:44: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
            TheWeakAlist(obj)->wal_count =
fixnum_inc(TheWeakAlist(obj)->wal_count,-1);
                                           ^
lispbibl.d:5336:36: note: expanded from macro 'fixnum_inc'
    objectplus(obj, (soint)(delta) << oint_data_shift)
                                   ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
spvw_weak.d:779:49: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
          TheWeakHashedAlist(obj)->whal_count =
fixnum_inc(TheWeakHashedAlist(obj)->whal_count,-1);
                                                ^
lispbibl.d:5336:36: note: expanded from macro 'fixnum_inc'
    objectplus(obj, (soint)(delta) << oint_data_shift)
                                   ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
spvw_weak.d:812:49: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
          TheWeakHashedAlist(obj)->whal_count =
fixnum_inc(TheWeakHashedAlist(obj)->whal_count,-1);
                                                ^
lispbibl.d:5336:36: note: expanded from macro 'fixnum_inc'
    objectplus(obj, (soint)(delta) << oint_data_shift)
                                   ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
spvw_weak.d:848:49: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
          TheWeakHashedAlist(obj)->whal_count =
fixnum_inc(TheWeakHashedAlist(obj)->whal_count,-1);
                                                ^
lispbibl.d:5336:36: note: expanded from macro 'fixnum_inc'
    objectplus(obj, (soint)(delta) << oint_data_shift)
                                   ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
In file included from spvw.d:927:
In file included from spvw_garcol.d:222:
spvw_weak.d:886:51: warning: shifting a negative signed value is undefined
[-Wshift-negative-value]
            TheWeakHashedAlist(obj)->whal_count =
fixnum_inc(TheWeakHashedAlist(obj)->whal_count,-1);
                                                  ^
lispbibl.d:5336:36: note: expanded from macro 'fixnum_inc'
    objectplus(obj, (soint)(delta) << oint_data_shift)
                                   ^
lispbibl.d:3148:60: note: expanded from macro 'objectplus'
  #define objectplus(obj,offset)  ((object)pointerplus(obj,offset))
                                                           ^
lispbibl.d:1289:60: note: expanded from macro 'pointerplus'
  #define pointerplus(pointer,offset)  ((UBYTE*)(pointer)+(offset))
                                                           ^
fatal error: error in backend: Invalid register name global variable
clang-3.7: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 3.7.0 (tags/RELEASE_370/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang-3.7: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang-3.7: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.7: note: diagnostic msg: /tmp/spvw-10e815.c
clang-3.7: note: diagnostic msg: /tmp/spvw-10e815.sh
clang-3.7: note: diagnostic msg: 

********************</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>