[oe-commits] [Bug 5282] New: uClibc 0.9.30.1 / gcc-cross-4.4.0 libstdc++v3 build failure (possibly locale related)

bugzilla-daemon at git.openembedded.org bugzilla-daemon at git.openembedded.org
Sun Jul 19 08:35:05 UTC 2009


http://bugs.openembedded.org/show_bug.cgi?id=5282

           Summary: uClibc 0.9.30.1 / gcc-cross-4.4.0 libstdc++v3 build
                    failure (possibly locale related)
           Product: Openembedded
           Version: Angstrom 2008.x
          Platform: PowerPC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-commits at lists.openembedded.org
        ReportedBy: m4t at hushmail.com


while attempting to get a cross toolchain going using uClibc 0.9.30.1, the
build of gcc-cross-4.4.0 fails with the following:

libtool: compile: 
/home/matt/devel/tmp/work/ppc405-angstrom-linux-uclibc/gcc-cross-4.4.0-r1.1/gcc-4.4.0/build.i686-linux.powerpc-angstrom-linux-uclibc/./gcc/xgcc
-shared-libgcc
-B/home/matt/devel/tmp/work/ppc405-angstrom-linux-uclibc/gcc-cross-4.4.0-r1.1/gcc-4.4.0/build.i686-linux.powerpc-angstrom-linux-uclibc/./gcc
-nostdinc++
-L/home/matt/devel/tmp/work/ppc405-angstrom-linux-uclibc/gcc-cross-4.4.0-r1.1/gcc-4.4.0/build.i686-linux.powerpc-angstrom-linux-uclibc/powerpc-angstrom-linux-uclibc/libstdc++-v3/src
-L/home/matt/devel/tmp/work/ppc405-angstrom-linux-uclibc/gcc-cross-4.4.0-r1.1/gcc-4.4.0/build.i686-linux.powerpc-angstrom-linux-uclibc/powerpc-angstrom-linux-uclibc/libstdc++-v3/src/.libs
-mcpu=405
-isystem/home/matt/devel/tmp/staging/ppc405-angstrom-linux-uclibc/usr/include
-B/home/matt/devel/tmp/cross/ppc405/powerpc-angstrom-linux-uclibc/bin/
-B/home/matt/devel/tmp/cross/ppc405/powerpc-angstrom-linux-uclibc/lib/ -isystem
/home/matt/devel/tmp/cross/ppc405/powerpc-angstrom-linux-uclibc/include
-isystem
/home/matt/devel/tmp/cross/ppc405/powerpc-angstrom-linux-uclibc/sys-include
-I/home/matt/devel/tmp/work/ppc405-angstrom-linux-uclibc/gcc-cross-4.4.0-r1.1/gcc-4.4.0/build.i686-linux.powerpc-angstrom-linux-uclibc/powerpc-angstrom-linux-uclibc/libstdc++-v3/include/powerpc-angstrom-linux-uclibc
-I/home/matt/devel/tmp/work/ppc405-angstrom-linux-uclibc/gcc-cross-4.4.0-r1.1/gcc-4.4.0/build.i686-linux.powerpc-angstrom-linux-uclibc/powerpc-angstrom-linux-uclibc/libstdc++-v3/include
-I/home/matt/devel/tmp/work/ppc405-angstrom-linux-uclibc/gcc-cross-4.4.0-r1.1/gcc-4.4.0/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -Os
--sysroot=/home/matt/devel/tmp/staging/ppc405-angstrom-linux-uclibc -c
/home/matt/devel/tmp/work/ppc405-angstrom-linux-uclibc/gcc-cross-4.4.0-r1.1/gcc-4.4.0/libstdc++-v3/src/ctype.cc
 -fPIC -DPIC -o .libs/ctype.o
In file included from
/home/matt/devel/tmp/work/ppc405-angstrom-linux-uclibc/gcc-cross-4.4.0-r1.1/gcc-4.4.0/libstdc++-v3/src/ctype.cc:54:
/home/matt/devel/tmp/work/ppc405-angstrom-linux-uclibc/gcc-cross-4.4.0-r1.1/gcc-4.4.0/build.i686-linux.powerpc-angstrom-linux-uclibc/powerpc-angstrom-linux-uclibc/libstdc++-v3/include/powerpc-angstrom-linux-uclibc/bits/ctype_noninline.h:
In constructor 'std::ctype<char>::ctype(int*, const short unsigned int*, bool,
size_t)':
/home/matt/devel/tmp/work/ppc405-angstrom-linux-uclibc/gcc-cross-4.4.0-r1.1/gcc-4.4.0/build.i686-linux.powerpc-angstrom-linux-uclibc/powerpc-angstrom-linux-uclibc/libstdc++-v3/include/powerpc-angstrom-linux-uclibc/bits/ctype_noninline.h:103:
error: cannot convert 'const __ctype_touplow_t*' to 'const int*' in assignment
/home/matt/devel/tmp/work/ppc405-angstrom-linux-uclibc/gcc-cross-4.4.0-r1.1/gcc-4.4.0/build.i686-linux.powerpc-angstrom-linux-uclibc/powerpc-angstrom-linux-uclibc/libstdc++-v3/include/powerpc-angstrom-linux-uclibc/bits/ctype_noninline.h:104:
error: cannot convert 'const __ctype_touplow_t*' to 'const int*' in assignment
/home/matt/devel/tmp/work/ppc405-angstrom-linux-uclibc/gcc-cross-4.4.0-r1.1/gcc-4.4.0/build.i686-linux.powerpc-angstrom-linux-uclibc/powerpc-angstrom-linux-uclibc/libstdc++-v3/include/powerpc-angstrom-linux-uclibc/bits/ctype_noninline.h:
In constructor 'std::ctype<char>::ctype(const short unsigned int*, bool,
size_t)':
/home/matt/devel/tmp/work/ppc405-angstrom-linux-uclibc/gcc-cross-4.4.0-r1.1/gcc-4.4.0/build.i686-linux.powerpc-angstrom-linux-uclibc/powerpc-angstrom-linux-uclibc/libstdc++-v3/include/powerpc-angstrom-linux-uclibc/bits/ctype_noninline.h:148:
error: cannot convert 'const __ctype_touplow_t*' to 'const int*' in assignment
/home/matt/devel/tmp/work/ppc405-angstrom-linux-uclibc/gcc-cross-4.4.0-r1.1/gcc-4.4.0/build.i686-linux.powerpc-angstrom-linux-uclibc/powerpc-angstrom-linux-uclibc/libstdc++-v3/include/powerpc-angstrom-linux-uclibc/bits/ctype_noninline.h:149:
error: cannot convert 'const __ctype_touplow_t*' to 'const int*' in assignment
make[4]: *** [ctype.lo] Error 1
make[4]: *** Waiting for unfinished jobs....

the only modification to gcc-4.4.0.inc was the addition of
powerpc-link-with-math-lib.patch, which allows libgcc to link to libm when libc
doesnt contain 'copysignl'. this patch is discussed at
http://gcc.gnu.org/ml/gcc-patches/2008-10/msg00237.html

also, UCLIBC_HAS_FENV was enabled so fenvh, bits/fenv.h and bits/fenvinline.h
are available to gcc.

i have included a full compile log.

please let me know if you need more information on my build environment.

-matt

-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-commits mailing list