Dear All,
I'm trying to compile the e2fs progs for a coldfire 547x cpu. I'm using the
gcc4.3.1 compiler.
I have this error and I don't understand what can be wrong:
make[5]: Entering directory
`/mnt/devel/openwrt/OpenWRT.git/build_dir/m68k/e2fsprogs-1.39'
make[6]: Entering directory
`/mnt/devel/openwrt/OpenWRT.git/build_dir/m68k/e2fsprogs-1.39'
make[6]: `lib/ext2fs/ext2_types.h' is up to date.
make[6]: Leaving directory
`/mnt/devel/openwrt/OpenWRT.git/build_dir/m68k/e2fsprogs-1.39'
make[6]: Entering directory
`/mnt/devel/openwrt/OpenWRT.git/build_dir/m68k/e2fsprogs-1.39'
make[6]: `lib/blkid/blkid_types.h' is up to date.
make[6]: Leaving directory
`/mnt/devel/openwrt/OpenWRT.git/build_dir/m68k/e2fsprogs-1.39'
make[6]: Entering directory
`/mnt/devel/openwrt/OpenWRT.git/build_dir/m68k/e2fsprogs-1.39'
make[6]: `lib/uuid/uuid_types.h' is up to date.
make[6]: Leaving directory
`/mnt/devel/openwrt/OpenWRT.git/build_dir/m68k/e2fsprogs-1.39'
making all in e2fsck
make[6]: Entering directory
`/mnt/devel/openwrt/OpenWRT.git/build_dir/m68k/e2fsprogs-1.39/e2fsck'
LD e2fsck.static
/mnt/devel/openwrt/OpenWRT.git/staging_dir/toolchain-m68k_gcc4.3.1/lib/gcc/m68k-linux-uclibc/4.3.1/libgcc.a(_eqdf2.o):
In function `__eqdf2':
/mnt/devel/openwrt/OpenWRT.git/build_dir/toolchain-m68k_gcc4.3.1/gcc-4.3.1/libgcc/../gcc/config/m68k/lb1sf68.asm:3895:
relocation truncated to fit: R_68K_PC16 against symbol `__cmpdf2_internal'
defined in .text section in
/mnt/devel/openwrt/OpenWRT.git/staging_dir/toolchain-m68k_gcc4.3.1/lib/gcc/m68k-linux-uclibc/4.3.1/libgcc.a(_double.o)
/mnt/devel/openwrt/OpenWRT.git/staging_dir/toolchain-m68k_gcc4.3.1/lib/gcc/m68k-linux-uclibc/4.3.1/libgcc.a(_nedf2.o):
In function `__nedf2':
/mnt/devel/openwrt/OpenWRT.git/build_dir/toolchain-m68k_gcc4.3.1/gcc-4.3.1/libgcc/../gcc/config/m68k/lb1sf68.asm:3911:
relocation truncated to fit: R_68K_PC16 against symbol `__cmpdf2_internal'
defined in .text section in
/mnt/devel/openwrt/OpenWRT.git/staging_dir/toolchain-m68k_gcc4.3.1/lib/gcc/m68k-linux-uclibc/4.3.1/libgcc.a(_double.o)
/mnt/devel/openwrt/OpenWRT.git/staging_dir/toolchain-m68k_gcc4.3.1/lib/gcc/m68k-linux-uclibc/4.3.1/libgcc.a(_gedf2.o):
In function `__gedf2':
/mnt/devel/openwrt/OpenWRT.git/build_dir/toolchain-m68k_gcc4.3.1/gcc-4.3.1/libgcc/../gcc/config/m68k/lb1sf68.asm:3943:
relocation truncated to fit: R_68K_PC16 against symbol `__cmpdf2_internal'
defined in .text section in
/mnt/devel/openwrt/OpenWRT.git/staging_dir/toolchain-m68k_gcc4.3.1/lib/gcc/m68k-linux-uclibc/4.3.1/libgcc.a(_double.o)
/mnt/devel/openwrt/OpenWRT.git/staging_dir/toolchain-m68k_gcc4.3.1/lib/gcc/m68k-linux-uclibc/4.3.1/libgcc.a(_ltdf2.o):
In function `__ltdf2':
/mnt/devel/openwrt/OpenWRT.git/build_dir/toolchain-m68k_gcc4.3.1/gcc-4.3.1/libgcc/../gcc/config/m68k/lb1sf68.asm:3959:
relocation truncated to fit: R_68K_PC16 against symbol `__cmpdf2_internal'
defined in .text section in
/mnt/devel/openwrt/OpenWRT.git/staging_dir/toolchain-m68k_gcc4.3.1/lib/gcc/m68k-linux-uclibc/4.3.1/libgcc.a(_double.o)
collect2: ld returned 1 exit status
make[6]: *** [e2fsck.static] Error 1
make[6]: Leaving directory
`/mnt/devel/openwrt/OpenWRT.git/build_dir/m68k/e2fsprogs-1.39/e2fsck'
make[5]: *** [all-progs-recursive] Error 1
make[5]: Leaving directory
`/mnt/devel/openwrt/OpenWRT.git/build_dir/m68k/e2fsprogs-1.39'
make[4]: *** [all] Error 2
make[4]: Leaving directory
`/mnt/devel/openwrt/OpenWRT.git/build_dir/m68k/e2fsprogs-1.39'
make[3]: ***
[/mnt/devel/openwrt/OpenWRT.git/build_dir/m68k/e2fsprogs-1.39/.built] Error 2
make[3]: Leaving directory `/mnt/devel/openwrt/OpenWRT.git/package/e2fsprogs'
make[2]: *** [package/e2fsprogs/compile] Error 2
make[2]: Leaving directory `/mnt/devel/openwrt/OpenWRT.git'
make[1]: ***
[/mnt/devel/openwrt/OpenWRT.git/staging_dir/m68k/stamp/.package_compile] Error 2
make[1]: Leaving directory `/mnt/devel/openwrt/OpenWRT.git'
make: *** [world] Error 2
To complete the picture, I'm using an OpenWRT building-environment with some
patch in order to compile Gcc4.3.1 (
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36559), binutils 2.18 and
uClibc0.9.29. If needed, I can provide any additional information.
Any ideas? What can I check to understand and resolve this issue?
Thanks in advance for any suggestion.
luigi
--
______ Luigi Mantellini
.'______'. R&D - Software
(.' '.) Industrie Dial Face S.p.A.
( :=----=: ) Via Canzo, 4
('.______.') 20068 Peschiera Borromeo (MI), Italy
'.______.' Tel.: +39 02 5167 2813
Fax: +39 02 5167 2459
Ind. Dial Face Email: [EMAIL PROTECTED]
www.idf-hit.com GPG fingerprint: 3DD1 7B71 FBDF 6376 1B4A
B003 175F E979 907E 1650