Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make: *** [Makefile:21: timesoftfloat.o] Error 1 #29

Open
ghost opened this issue Oct 12, 2018 · 3 comments
Open

make: *** [Makefile:21: timesoftfloat.o] Error 1 #29

ghost opened this issue Oct 12, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 12, 2018

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 from unsigned long' to int'
softfloat.c:782: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:898: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:906: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:955: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:967: warning: overflow in converting constant expression from int' 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 from unsigned long' to int'
softfloat.c: softfloat_specialize.c:43: warning: overflow in converting constant expression from unsigned long' to int'
softfloat.c:782: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:898: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:906: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:955: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:967: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:1330: warning: overflow in converting constant expression from int' 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 from int' to unsigned int'
softfloat.c:1648: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:1778: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:1847: warning: overflow in converting constant expression from int' 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 from unsigned long' to int'
softfloat.c: softfloat_specialize.c:43: warning: overflow in converting constant expression from unsigned long' to int'
softfloat.c:782: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:898: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:906: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:955: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:967: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:1023: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:1032: warning: overflow in converting constant expression from int' 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 from int' to unsigned int'
softfloat.c:1108: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:1330: warning: overflow in converting constant expression from int' 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 from int' to unsigned int'
softfloat.c:1648: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:1778: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:1847: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:1928: warning: overflow in converting constant expression from int' to unsigned int'
softfloat.c:1980: warning: type error in argument 5 to add64'; found pointer to int' expected pointer to unsigned int' softfloat.c:2023: warning: overflow in converting constant expression from int' 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; 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: 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; 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 types int' 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

@ghost
Copy link
Author

ghost commented Oct 23, 2018

Thanks i later installed the missing libs.

@dikuchan
Copy link

Thanks i later installed the missing libs.

Could you please list libraries that were missing?

@ghost
Copy link
Author

ghost commented Dec 20, 2018

It was libc6-dev-i386

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant