[llvm-bugs] [Bug 25037] New: Cannot build clisp 2.49

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Oct 3 14:14:28 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=25037

            Bug ID: 25037
           Summary: Cannot build clisp 2.49
           Product: clang
           Version: 3.7
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: aaron.grahn.999 at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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
http://llvm.org/bugs/ 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: 

********************

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151003/5e0084bd/attachment-0001.html>


More information about the llvm-bugs mailing list