This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

crosstool and uClibc


Hello!

I'm working on making an armv5b-xscale-linux-gnu uClibc-based toolchain with
gcc-3.4.3. I based my work on the uClibc patch in contrib. The crtosstool
version is something after 0.35, that is named 0.36, but isn't odfficialy
released [0]

I stumbled on the following problem while building final gcc (last few lines
in [4]):

checking for library containing strerror... configure: error: Link tests are
not allowed after GCC_NO_EXECUTABLES.
make: *** [configure-target-libiberty] Error 1

What I found so far is [1] stating problems when the uClibc was configured
for a CPU lacking an FPU. Alas, I can't do without that, as my ARM indeed
has no FPU.

But in [2], they state crosgcc might have a fix (hey, crossgcc == crosstool?)
so I searched in the archives, but didn't find anything usefull except
[3] that is not really specific to uClibc...

If anyone has some idea, that would really be appreciated.

Thanks a lot!
Yann E. MORIN.

----
[0] http://sources.redhat.com/ml/crossgcc/2005-05/msg00185.html
[1] http://www.uclibc.org/lists/uclibc/2004-December/010680.html
[2] http://www.uclibc.org/lists/uclibc/2005-June/011927.html
[3] http://sources.redhat.com/ml/crossgcc/2005-05/msg00186.html
----
[4] last few lines of logs:
make[2]: Leaving directory `/home/ymorin/dev/armv5b-xscale-linux-gnu/build-gcc/fastjar'
make[1]: Leaving directory `/home/ymorin/dev/armv5b-xscale-linux-gnu/build-gcc/fastjar'
Checking multilib configuration...
/bin/sh /home/ymorin/dev/armv5b-xscale-linux-gnu/gcc-3.4.3/mkinstalldirs armv5b-xscale-linux-gnu/libstdc++-v3 ; \
rm -f armv5b-xscale-linux-gnu/libstdc++-v3/Makefile || : ; \
cp multilib.out armv5b-xscale-linux-gnu/libstdc++-v3/multilib.out
mkdir -p -- armv5b-xscale-linux-gnu/libstdc++-v3
/bin/sh /home/ymorin/dev/armv5b-xscale-linux-gnu/gcc-3.4.3/mkinstalldirs armv5b-xscale-linux-gnu/libiberty ; \
rm -f armv5b-xscale-linux-gnu/libiberty/Makefile || : ; \
cp multilib.out armv5b-xscale-linux-gnu/libiberty/multilib.out
mkdir -p -- armv5b-xscale-linux-gnu/libiberty
Configuring in armv5b-xscale-linux-gnu/libiberty
configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... makeinfo
checking for perl... perl
checking build system type... i686-host_pc-linux-gnu
checking host system type... armv5b-xscale-linux-gnu
checking for armv5b-xscale-linux-gnu-ar... hl-uc-ar
checking for armv5b-xscale-linux-gnu-ranlib... hl-uc-ranlib
checking for armv5b-xscale-linux-gnu-gcc...  /home/ymorin/dev/armv5b-xscale-linux-gnu/build-gcc/gcc/xgcc -B/home/ymorin/dev/armv5b-xscale-linux-gnu/build-gcc/gcc/ -B/opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/bin/ -B/opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/lib/ -isystem /opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/include -isystem /opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/sys-include
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether  /home/ymorin/dev/armv5b-xscale-linux-gnu/build-gcc/gcc/xgcc -B/home/ymorin/dev/armv5b-xscale-linux-gnu/build-gcc/gcc/ -B/opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/bin/ -B/opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/lib/ -isystem /opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/include -isystem /opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/sys-include accepts -g... yes
checking for  /home/ymorin/dev/armv5b-xscale-linux-gnu/build-gcc/gcc/xgcc -B/home/ymorin/dev/armv5b-xscale-linux-gnu/build-gcc/gcc/ -B/opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/bin/ -B/opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/lib/ -isystem /opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/include -isystem /opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/sys-include option to accept ANSI C... none needed
checking how to run the C preprocessor...  /home/ymorin/dev/armv5b-xscale-linux-gnu/build-gcc/gcc/xgcc -B/home/ymorin/dev/armv5b-xscale-linux-gnu/build-gcc/gcc/ -B/opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/bin/ -B/opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/lib/ -isystem /opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/include -isystem /opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/sys-include -E
checking whether  /home/ymorin/dev/armv5b-xscale-linux-gnu/build-gcc/gcc/xgcc -B/home/ymorin/dev/armv5b-xscale-linux-gnu/build-gcc/gcc/ -B/opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/bin/ -B/opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/lib/ -isystem /opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/include -isystem /opt/HomeLAN-uClibc/armv5b-xscale-linux-gnu/sys-include and cc understand -c and -o together... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... yes
checking for a BSD-compatible install... /usr/bin/install -c
Appending /home/ymorin/dev/armv5b-xscale-linux-gnu/gcc-3.4.3/libiberty/../config/mh-armpic to xhost-mkfrag
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/pstat.h... no
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... yes
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... yes
checking for sys/systemcfg.h... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... (cached) yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... (cached) yes
checking for uintptr_t... yes
checking for pid_t... yes
checking for library containing strerror... configure: error: Link tests are
not allowed after GCC_NO_EXECUTABLES.
make: *** [configure-target-libiberty] Error 1

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software  Designer | \ / CAMPAIGN     |   ^                |
| --==< °_° >==-- °---.----------------:  X  AGAINST      |  /e\  There is no  |
| web: ymorin.free.fr | SETI@home 3808 | / \ HTML MAIL    |  """  conspiracy.  |
°---------------------°----------------°------------------°--------------------°
 \__ np:  [Stopped] __________________________________________________________/


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]