Ted Victorio
2013-11-16 01:27:33 UTC
???????????????????
I compiled Openswan user apps which requires libgmp (CONFIG_LIB_LIBGMP=y).
I got compilation errors from building `/usr/uClinux-dist/lib/libgmp/build/mpn'
Grateful for any advice you can offer.
Setup
??? - Vendor: Freescale?? Product: MCF5329EVB
??? - Kernel: 3.x???????? Library: uClibc
??? - Default all settings
Same error result from using any one of these:
??? - uClinux-dist-20131024
??? - uClinux-dist-20121024
??? - uClinux-dist-20111111
??? - uClinux-dist-20101026
Tool: m68k-uclinux-tools-20101118.sh
Errors...
Making all in mpn
make[5]: Entering directory `/usr/uClinux-dist/lib/libgmp/build/mpn'
/bin/sh ../libtool --mode=compile ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -DHAVE_CONFIG_H -I. -I../../mpn -I.. -D__GMP_WITHIN_GMP -I../.. -DOPERATION_`echo add_1 | sed 's/_$//'`??? -O2 -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall?? -DEMBED -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -c -o add_1.lo add_1.c
?ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -DHAVE_CONFIG_H -I. -I../../mpn -I.. -D__GMP_WITHIN_GMP -I../.. -DOPERATION_add_1 -O2 -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -DEMBED -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -c add_1.c -o add_1.o
/bin/sh ../libtool --mode=compile --tag=CC ../../mpn/m4-ccas --m4="m4" ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -c -DHAVE_CONFIG_H -I. -I../../mpn -I.. -D__GMP_WITHIN_GMP -I../.. -DOPERATION_`echo add_n | sed 's/_$//'`??? -O2 -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall?? -DEMBED -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -Wa,--noexecstack `test -f 'add_n.asm' || echo '../../mpn/'`add_n.asm
?../../mpn/m4-ccas --m4=m4 ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -c -DHAVE_CONFIG_H -I. -I../../mpn -I.. -D__GMP_WITHIN_GMP -I../.. -DOPERATION_add_n -O2 -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -DEMBED -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -Wa,--noexecstack add_n.asm -o add_n.o
m4? -DCONFIG_COLDFIRE -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_add_n -DEMBED -Dlinux -D__linux__ -Dunix -D__uClinux__ add_n.asm >tmp-add_n.s
?ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -c -DHAVE_CONFIG_H -I. -I../../mpn -I.. -D__GMP_WITHIN_GMP -I../.. -DOPERATION_add_n -O2 -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -DEMBED -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -Wa,--noexecstack tmp-add_n.s -o add_n.o
tmp-add_n.s: Assembler messages:
tmp-add_n.s:78: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `eorw #1,%d2' ignored
tmp-add_n.s:93: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `dbf %d2,.LLoop' ignored
make[5]: *** [add_n.lo] Error 1
make[5]: Leaving directory `/usr/uClinux-dist/lib/libgmp/build/mpn'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/uClinux-dist/lib/libgmp/build'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/uClinux-dist/lib/libgmp/build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/uClinux-dist/lib/libgmp'
make[1]: *** [libgmp] Error 2
make[1]: Leaving directory `/usr/uClinux-dist/lib'
make: *** [subdirs] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20131115/ef871531/attachment.html>
I compiled Openswan user apps which requires libgmp (CONFIG_LIB_LIBGMP=y).
I got compilation errors from building `/usr/uClinux-dist/lib/libgmp/build/mpn'
Grateful for any advice you can offer.
Setup
??? - Vendor: Freescale?? Product: MCF5329EVB
??? - Kernel: 3.x???????? Library: uClibc
??? - Default all settings
Same error result from using any one of these:
??? - uClinux-dist-20131024
??? - uClinux-dist-20121024
??? - uClinux-dist-20111111
??? - uClinux-dist-20101026
Tool: m68k-uclinux-tools-20101118.sh
Errors...
Making all in mpn
make[5]: Entering directory `/usr/uClinux-dist/lib/libgmp/build/mpn'
/bin/sh ../libtool --mode=compile ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -DHAVE_CONFIG_H -I. -I../../mpn -I.. -D__GMP_WITHIN_GMP -I../.. -DOPERATION_`echo add_1 | sed 's/_$//'`??? -O2 -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall?? -DEMBED -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -c -o add_1.lo add_1.c
?ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -DHAVE_CONFIG_H -I. -I../../mpn -I.. -D__GMP_WITHIN_GMP -I../.. -DOPERATION_add_1 -O2 -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -DEMBED -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -c add_1.c -o add_1.o
/bin/sh ../libtool --mode=compile --tag=CC ../../mpn/m4-ccas --m4="m4" ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -c -DHAVE_CONFIG_H -I. -I../../mpn -I.. -D__GMP_WITHIN_GMP -I../.. -DOPERATION_`echo add_n | sed 's/_$//'`??? -O2 -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall?? -DEMBED -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -Wa,--noexecstack `test -f 'add_n.asm' || echo '../../mpn/'`add_n.asm
?../../mpn/m4-ccas --m4=m4 ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -c -DHAVE_CONFIG_H -I. -I../../mpn -I.. -D__GMP_WITHIN_GMP -I../.. -DOPERATION_add_n -O2 -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -DEMBED -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -Wa,--noexecstack add_n.asm -o add_n.o
m4? -DCONFIG_COLDFIRE -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_add_n -DEMBED -Dlinux -D__linux__ -Dunix -D__uClinux__ add_n.asm >tmp-add_n.s
?ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -c -DHAVE_CONFIG_H -I. -I../../mpn -I.. -D__GMP_WITHIN_GMP -I../.. -DOPERATION_add_n -O2 -g -fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall -DEMBED -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -Wa,--noexecstack tmp-add_n.s -o add_n.o
tmp-add_n.s: Assembler messages:
tmp-add_n.s:78: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `eorw #1,%d2' ignored
tmp-add_n.s:93: Error: invalid instruction for this architecture; needs 68000 or higher (68000 [68ec000, 68hc000, 68hc001, 68008, 68302, 68306, 68307, 68322, 68356], 68010, 68020 [68k, 68ec020], 68030 [68ec030], 68040 [68ec040], 68060 [68ec060], cpu32 [68330, 68331, 68332, 68333, 68334, 68336, 68340, 68341, 68349, 68360], fidoa [fido]) -- statement `dbf %d2,.LLoop' ignored
make[5]: *** [add_n.lo] Error 1
make[5]: Leaving directory `/usr/uClinux-dist/lib/libgmp/build/mpn'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/uClinux-dist/lib/libgmp/build'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/uClinux-dist/lib/libgmp/build'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/uClinux-dist/lib/libgmp'
make[1]: *** [libgmp] Error 2
make[1]: Leaving directory `/usr/uClinux-dist/lib'
make: *** [subdirs] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20131115/ef871531/attachment.html>