[uClibc] macosx again and ARM Big Endian

Philip Rakity prakity at yahoo.com
Sun Dec 19 09:56:11 UTC 2004


First sorry to the list -- the fixes mentioned  in my
previous e-mail were for crosstools (which now work)
==  bad idea to write e-mail with sleep.

next -- armeb does not work with the gcc 3.4.x
toolchain for my mac nor for the gcc3.3.x toolchain. 
I am running macosx 10.3.7 with the latest developer
tools,  arm little endian works with gcc-3.3.x.   

for 3.4.x tool chain the build fails almost
immediately after un taring and configuring linux. 
See below.  gettext and other tools are available on
/sw/bin (fink)

The build failure on 3.3.x seems related to the patch
in crosstools for arm bigendian -- mismatched 
armelfb_linux when linking.

gcc 3.4.x  build failure
-===============
The symlink
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/linux/include/asm
is missing\!
Perhaps you forgot to configure your kernel source?
You really should configure your kernel source tree so
I
do not have to try and guess about this sort of thing.

Attempting to guess a usable value....


+ ln -fs
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/linux/include/asm-arm
include/asm
+ set +x
+ TOPDIR=.
+
CC=/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_armeb_nofpu/bin/armeb-linux-uclibc-gcc
+ /bin/sh extra/scripts/gen_bits_syscall_h.sh
extra/scripts/gen_bits_syscall_h.sh: line 18:
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_armeb_nofpu/bin/armeb-linux-uclibc-gcc:
No such file or directory
extra/scripts/gen_bits_syscall_h.sh: line 15:
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_armeb_nofpu/bin/armeb-linux-uclibc-gcc:
No such file or directory
+ cmp include/bits/sysnum.h include/bits/sysnum.h.new
+ mv -f include/bits/sysnum.h.new
include/bits/sysnum.h
make -C libc/sysdeps/linux/common headers
make[2]:
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_armeb_nofpu/bin/armeb-linux-uclibc-gcc:
Command not found
make[2]:
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_armeb_nofpu/bin/armeb-linux-uclibc-gcc:
Command not found
make[2]:
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_armeb_nofpu/bin/armeb-linux-uclibc-gcc:
Command not found
ln -fs ../libc/sysdeps/linux/common/fpu_control.h
../../../..//include/
make -C libc/sysdeps/linux/arm headers
make[2]:
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_armeb_nofpu/bin/armeb-linux-uclibc-gcc:
Command not found
make[2]:
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_armeb_nofpu/bin/armeb-linux-uclibc-gcc:
Command not found
make[2]:
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_armeb_nofpu/bin/armeb-linux-uclibc-gcc:
Command not found
ln -fs ../libc/sysdeps/linux/arm/fpu_control.h
../../../..//include/
install -d
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc_dev//usr/lib
install -d
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc_dev//usr/include
install -m 644 lib/*.[ao]
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc_dev//usr/lib/
install: cannot stat `lib/*.[ao]': No such file or
directory
make[1]: [install_dev] Error 1 (ignored)
tar -chf - include | tar -xf - -C
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc_dev//usr/;
# Remove iconv header since locale support is
disabled.
rm -f
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc_dev//usr/include/iconv.h
# Remove xlocale header since extended locale support
is disabled.
rm -f
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc_dev//usr/include/xlocale.h
# Remove libintl header since gettext support is
disabled.
rm -f
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc_dev//usr/include/libintl.h
# Remove wordexp header since wordexp support is
disabled.
rm -f
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc_dev//usr/include/wordexp.h
make[1]: [install_dev] Error 1 (ignored)
find
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc_dev//usr/
-name CVS | xargs rm -f -r;
chown -R `id | sed
's/^uid=\([0-9]*\).*gid=\([0-9]*\).*$/\1.\2/'`
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc_dev//usr/
for i in `find lib/ -type l -name 'lib[a-zA-Z]*.so' |
\
sed -e 's/lib\///'` ; do \
        ln -sf
../../Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc_dev/lib/$i.0
\
       
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc_dev//usr/lib/$i;
\
done;
find: lib/: No such file or directory
ln -sf
../../Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc_dev/lib/libthread_db.so.1
\
       
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc_dev//usr/lib/libthread_db.so
for i in `find lib/  -type f -name '*.a' | sed -e
's/lib\///'` ; do \
        ln -sf $i
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc_dev//usr/lib/`echo
$i \
                | sed -e 's/\.a$/_pic.a/'`; \
done;
find: lib/: No such file or directory
touch
/Volumes/unix/temp/toolchain/gcc-3.4.x/toolchain_build_armeb_nofpu/uClibc/.configured


You must install 'gettext' on your build machine

make: *** [binutils-dependancies] Error 1


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the uClibc mailing list