This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: glibc cross compiling error for powerpc
- From: Carlos O'Donell <carlos at systemhalted dot org>
- To: Hans Kim <khs at dr-tech dot co dot kr>
- Cc: libc-help at sourceware dot org
- Date: Thu, 04 Aug 2011 08:38:18 -0400
- Subject: Re: glibc cross compiling error for powerpc
- References: <4E3A4597.5020607@dr-tech.co.kr>
On 8/4/2011 3:09 AM, Hans Kim wrote:
> checking whether ranlib is necessary... /opt/DGS/powerpc-linux/powerpc-linux/bin/as: unrecognized option '--32'
> /opt/DGS/powerpc-linux/powerpc-linux/bin/ar: conftest.o: No such file or directory
> cp: cannot stat `conftest.a': No such file or directory
> /opt/DGS/powerpc-linux/powerpc-linux/bin/ranlib: conftest.a: No such file or directory
> yes
> checking LD_LIBRARY_PATH variable... ok
> checking whether GCC supports -static-libgcc... -static-libgcc
> checking for bash... /bin/bash
> checking for gawk... no
> checking for mawk... mawk
> checking for perl... /usr/bin/perl
> checking for install-info... /usr/sbin/install-infofile:///home/khs/PROJECTS/cross-compiler/glibc-2.13/build/config.log
>
> checking for bison... /usr/bin/bison
> checking for signed size_t type... no
> checking for libc-friendly stddef.h... no
> checking whether we need to use -P to assemble .S files... yes
> checking for .set assembler directive... no
> checking for assembler gnu_unique_object symbol type... no
> checking for .symver assembler directive... no
> checking for ld --version-script... no
> *** WARNING: You should not compile GNU libc without versioning. Not using
> *** versioning will introduce incompatibilities so that old binaries
> *** will not run anymore.
> *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer).
> checking for .previous assembler directive... no
> checking for .popsection assembler directive... no
> checking for .protected and .hidden assembler directive... configure: error: assembler support for symbol visibility is required
What linker and assembler are you using?
They look completely broken, non-GNU, or something else.
Cheers,
Carlos.