These may give warnings about overflows, they are (mostly) safe to ignore
make -C softfloat clean && make -C softfloat CC="$BUILDDIR/movcc"
make: Entering directory '/home/jacks/movfuscator/softfloat'
rm -f .o .a timesoftfloat
make: Leaving directory '/home/jacks/movfuscator/softfloat'
make: Entering directory '/home/jacks/movfuscator/softfloat'
/home/jacks/movfuscator/build/movcc -c -I. -I.. -o softfloat32.o -Wf--q softfloat.c -DFLOAT64=0 -DTRIM=1
softfloat.c: softfloat_specialize.c:36: warning: overflow in converting constant expression from unsigned long' toint'
softfloat.c: softfloat_specialize.c:43: warning: overflow in converting constant expression from unsigned long' toint'
softfloat.c:782: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:898: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:906: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:955: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:967: warning: overflow in converting constant expression from int' tounsigned int'
/tmp/lcc130821.s: Assembler messages:
/tmp/lcc130821.s:143881: Warning: end of file not at end of a line; newline inserted
/home/jacks/movfuscator/build/movcc -c -I. -I.. -o softfloat64.o -Wf--q softfloat.c -DFLOAT64=1 -DTRIM=1
softfloat.c: softfloat_specialize.c:36: warning: overflow in converting constant expression from unsigned long' toint'
softfloat.c: softfloat_specialize.c:43: warning: overflow in converting constant expression from unsigned long' toint'
softfloat.c:782: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:898: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:906: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:955: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:967: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1330: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1332: warning: unsigned operand of unary -
softfloat.c:1338: warning: unsigned operand of unary -
softfloat.c:1475: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1648: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1778: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1847: warning: overflow in converting constant expression from int' tounsigned int'
/tmp/lcc130871.s: Assembler messages:
/tmp/lcc130871.s:368343: Warning: end of file not at end of a line; newline inserted
/home/jacks/movfuscator/build/movcc -c -I. -I.. -o softfloatfull.o -Wf--q softfloat.c -DFLOAT64=1 -DTRIM=0
softfloat.c: softfloat_specialize.c:36: warning: overflow in converting constant expression from unsigned long' toint'
softfloat.c: softfloat_specialize.c:43: warning: overflow in converting constant expression from unsigned long' toint'
softfloat.c:782: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:898: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:906: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:955: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:967: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1023: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1032: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1053: warning: unsigned operand of unary -
softfloat.c:1078: warning: unsigned operand of unary -
softfloat.c:1103: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1108: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1330: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1332: warning: unsigned operand of unary -
softfloat.c:1338: warning: unsigned operand of unary -
softfloat.c:1396: warning: unsigned operand of unary -
softfloat.c:1475: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1648: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1778: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1847: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1928: warning: overflow in converting constant expression from int' tounsigned int'
softfloat.c:1980: warning: type error in argument 5 to add64'; foundpointer to int' expected pointer to unsigned int' softfloat.c:2023: warning: overflow in converting constant expression fromint' to unsigned int' /home/jacks/movfuscator/build/movcc -c -I. -I.. -o timesoftfloat.o -Wf--q timesoftfloat.c timesoftfloat.c: /usr/include/stdlib.h:117: syntax error; foundnptr' expecting )' timesoftfloat.c: /usr/include/stdlib.h:117: skippingnptr' ,' timesoftfloat.c: /usr/include/stdlib.h:118: syntax error; foundchar' expecting {' timesoftfloat.c: /usr/include/stdlib.h:118: redeclaration ofrestrict' previously declared at /usr/include/stdlib.h:117
timesoftfloat.c: /usr/include/stdlib.h:118: syntax error; found __endptr' expecting;'
timesoftfloat.c: /usr/include/stdlib.h:118: undeclared identifier __endptr' timesoftfloat.c: /usr/include/stdlib.h:118: warning: expression with no effect elided timesoftfloat.c: /usr/include/stdlib.h:118: syntax error; found)' expecting ;' timesoftfloat.c: /usr/include/stdlib.h:118: illegal statement termination timesoftfloat.c: /usr/include/stdlib.h:118: skipping)'
timesoftfloat.c: /usr/include/stdlib.h:123: illegal statement termination
timesoftfloat.c: /usr/include/stdlib.h:123: skipping extern'float'
timesoftfloat.c: /usr/include/stdlib.h:123: illegal expression
timesoftfloat.c: /usr/include/stdlib.h:123: syntax error; found char' expecting)'
timesoftfloat.c: /usr/include/stdlib.h:123: syntax error; found char' expecting;'
timesoftfloat.c: /usr/include/stdlib.h:123: illegal statement termination
timesoftfloat.c: /usr/include/stdlib.h:123: skipping char' timesoftfloat.c: /usr/include/stdlib.h:123: warning: expression with no effect elided timesoftfloat.c: /usr/include/stdlib.h:123: syntax error; foundnptr' expecting ;' timesoftfloat.c: /usr/include/stdlib.h:123: undeclared identifiernptr'
timesoftfloat.c: /usr/include/stdlib.h:124: illegal expression
timesoftfloat.c: /usr/include/stdlib.h:124: operands of * have illegal types int' andpointer to char'
timesoftfloat.c: /usr/include/stdlib.h:124: warning: expression with no effect elided
timesoftfloat.c: /usr/include/stdlib.h:124: warning: expression with no effect elided
timesoftfloat.c: /usr/include/stdlib.h:124: too many errors
make: *** [Makefile:21: timesoftfloat.o] Error 1
make: Leaving directory '/home/jacks/movfuscator/softfloat'
mkdir -p movfuscator/lib
cp softfloat/softfloat32.o movfuscator/lib/softfloat32.o
cp softfloat/softfloat64.o movfuscator/lib/softfloat64.o
cp softfloat/softfloatfull.o movfuscator/lib/softfloatfull.o
Hello,
I got this error building on LFS system, snip
Create movcc
ln -sfn "$BUILDDIR/lcc" "$BUILDDIR/movcc"
Build the M/o/Vfuscator crt libraries
"$BUILDDIR/movcc" movfuscator/crt0.c -o "$BUILDDIR/crt0.o" -c -Wf--crt0 -Wf--q movfuscator/crt0.c:0: warning: empty input file "$BUILDDIR/movcc" movfuscator/crtf.c -o "$BUILDDIR/crtf.o" -c -Wf--crtf -Wf--q movfuscator/crtf.c:0: warning: empty input file "$BUILDDIR/movcc" movfuscator/crtd.c -o "$BUILDDIR/crtd.o" -c -Wf--crtd -Wf--q movfuscator/crtd.c:0: warning: empty input file
Build the M/o/Vfuscator soft float library
These may give warnings about overflows, they are (mostly) safe to ignore
make -C softfloat clean && make -C softfloat CC="$BUILDDIR/movcc" make: Entering directory '/home/jacks/movfuscator/softfloat' rm -f .o .a timesoftfloat make: Leaving directory '/home/jacks/movfuscator/softfloat' make: Entering directory '/home/jacks/movfuscator/softfloat' /home/jacks/movfuscator/build/movcc -c -I. -I.. -o softfloat32.o -Wf--q softfloat.c -DFLOAT64=0 -DTRIM=1 softfloat.c: softfloat_specialize.c:36: warning: overflow in converting constant expression from
unsigned long' to
int' softfloat.c: softfloat_specialize.c:43: warning: overflow in converting constant expression fromunsigned long' to
int' softfloat.c:782: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:898: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:906: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:955: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:967: warning: overflow in converting constant expression fromint' to
unsigned int' /tmp/lcc130821.s: Assembler messages: /tmp/lcc130821.s:143881: Warning: end of file not at end of a line; newline inserted /home/jacks/movfuscator/build/movcc -c -I. -I.. -o softfloat64.o -Wf--q softfloat.c -DFLOAT64=1 -DTRIM=1 softfloat.c: softfloat_specialize.c:36: warning: overflow in converting constant expression fromunsigned long' to
int' softfloat.c: softfloat_specialize.c:43: warning: overflow in converting constant expression fromunsigned long' to
int' softfloat.c:782: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:898: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:906: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:955: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:967: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1330: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1332: warning: unsigned operand of unary - softfloat.c:1338: warning: unsigned operand of unary - softfloat.c:1475: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1648: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1778: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1847: warning: overflow in converting constant expression fromint' to
unsigned int' /tmp/lcc130871.s: Assembler messages: /tmp/lcc130871.s:368343: Warning: end of file not at end of a line; newline inserted /home/jacks/movfuscator/build/movcc -c -I. -I.. -o softfloatfull.o -Wf--q softfloat.c -DFLOAT64=1 -DTRIM=0 softfloat.c: softfloat_specialize.c:36: warning: overflow in converting constant expression fromunsigned long' to
int' softfloat.c: softfloat_specialize.c:43: warning: overflow in converting constant expression fromunsigned long' to
int' softfloat.c:782: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:898: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:906: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:955: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:967: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1023: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1032: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1053: warning: unsigned operand of unary - softfloat.c:1078: warning: unsigned operand of unary - softfloat.c:1103: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1108: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1330: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1332: warning: unsigned operand of unary - softfloat.c:1338: warning: unsigned operand of unary - softfloat.c:1396: warning: unsigned operand of unary - softfloat.c:1475: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1648: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1778: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1847: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1928: warning: overflow in converting constant expression fromint' to
unsigned int' softfloat.c:1980: warning: type error in argument 5 toadd64'; found
pointer to int' expectedpointer to unsigned int' softfloat.c:2023: warning: overflow in converting constant expression from
int' tounsigned int' /home/jacks/movfuscator/build/movcc -c -I. -I.. -o timesoftfloat.o -Wf--q timesoftfloat.c timesoftfloat.c: /usr/include/stdlib.h:117: syntax error; found
nptr' expecting)' timesoftfloat.c: /usr/include/stdlib.h:117: skipping
nptr',' timesoftfloat.c: /usr/include/stdlib.h:118: syntax error; found
char' expecting{' timesoftfloat.c: /usr/include/stdlib.h:118: redeclaration of
restrict' previously declared at /usr/include/stdlib.h:117 timesoftfloat.c: /usr/include/stdlib.h:118: syntax error; found__endptr' expecting
;' timesoftfloat.c: /usr/include/stdlib.h:118: undeclared identifier__endptr' timesoftfloat.c: /usr/include/stdlib.h:118: warning: expression with no effect elided timesoftfloat.c: /usr/include/stdlib.h:118: syntax error; found
)' expecting;' timesoftfloat.c: /usr/include/stdlib.h:118: illegal statement termination timesoftfloat.c: /usr/include/stdlib.h:118: skipping
)' timesoftfloat.c: /usr/include/stdlib.h:123: illegal statement termination timesoftfloat.c: /usr/include/stdlib.h:123: skippingextern'
float' timesoftfloat.c: /usr/include/stdlib.h:123: illegal expression timesoftfloat.c: /usr/include/stdlib.h:123: syntax error; foundchar' expecting
)' timesoftfloat.c: /usr/include/stdlib.h:123: syntax error; foundchar' expecting
;' timesoftfloat.c: /usr/include/stdlib.h:123: illegal statement termination timesoftfloat.c: /usr/include/stdlib.h:123: skippingchar' timesoftfloat.c: /usr/include/stdlib.h:123: warning: expression with no effect elided timesoftfloat.c: /usr/include/stdlib.h:123: syntax error; found
nptr' expecting;' timesoftfloat.c: /usr/include/stdlib.h:123: undeclared identifier
nptr' timesoftfloat.c: /usr/include/stdlib.h:124: illegal expression timesoftfloat.c: /usr/include/stdlib.h:124: operands of * have illegal typesint' and
pointer to char' timesoftfloat.c: /usr/include/stdlib.h:124: warning: expression with no effect elided timesoftfloat.c: /usr/include/stdlib.h:124: warning: expression with no effect elided timesoftfloat.c: /usr/include/stdlib.h:124: too many errors make: *** [Makefile:21: timesoftfloat.o] Error 1 make: Leaving directory '/home/jacks/movfuscator/softfloat' mkdir -p movfuscator/lib cp softfloat/softfloat32.o movfuscator/lib/softfloat32.o cp softfloat/softfloat64.o movfuscator/lib/softfloat64.o cp softfloat/softfloatfull.o movfuscator/lib/softfloatfull.o