[gentoo-ppc-user] Re: Has anyone successfully compiled pkg sys-libs/glibc-2.17 for ppc-32?

2014-04-11 Thread Robert K. Johnson
 It turns out glibc requires some special patches for the SBC I am
working with.  The SBC vendor has provided a portage overlay that
installs the patches during the emerge process and I am not abel to
successfully build glibc-2.17.

On Thu, Apr 10, 2014 at 8:43 AM, Robert K. Johnson
rj.rkjohn...@gmail.com wrote:
  I am working with an embedded Freescale P2020 based system.  I cannot
 seem to successfully compile the glibc-2.17 package.  I am trying to
 update glibc from package 2.15-r2.  I have tried both gcc 4.6.3 and
 4.7.3-r1.  I am thinking about submitting a bug report but I thought I
 would ask here first.  I might also try again after updating the
 portage packages.

 Here is what I see when the compilation fails:

 powerpc-e500v2-linux-gnuspe-gcc ../sysdeps/powerpc/fpu/fraiseexcpt.c
 -c -std=gnu99 -fgnu89-inline -O2 -Wa,-me500x2 -Wall -Winline
 -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing
 -freorder-blocks -frounding-math -mcpu=8548 -mfloat-gprs=double
 -mspe=yes -mtune=8548 -pipe -mhard-float -Wstrict-prototypes
 -mlong-double-128 -Wno-uninitialized -U_FORTIFY_SOURCE
 -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -I../include
 -I/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math
 -I/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl
 -I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl
 -I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu
 -I../sysdeps/powerpc/powerpc32/fpu
 -I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
 -I../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32
 -I../sysdeps/unix/sysv/linux/powerpc/powerpc32
 -I../nptl/sysdeps/unix/sysv/linux/powerpc
 -I../ports/sysdeps/unix/sysv/linux/powerpc
 -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/ieee754/ldbl-128ibm
 -I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux
 -I../nptl/sysdeps/pthread -I../sysdeps/pthread
 -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux
 -I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
 -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv
 -I../sysdeps/unix/powerpc -I../nptl/sysdeps/unix
 -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix
 -I../ports/sysdeps/powerpc/powerpc32 -I../sysdeps/powerpc/powerpc32
 -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/fpu
 -I../nptl/sysdeps/powerpc -I../ports/sysdeps/powerpc
 -I../sysdeps/powerpc -I../sysdeps/ieee754/dbl-64
 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic
 -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem
 /usr/lib/gcc/powerpc-e500v2-linux-gnuspe/4.7.3/include -isystem
 /usr/lib/gcc/powerpc-e500v2-linux-gnuspe/4.7.3/include-fixed -isystem
 /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h
 -DNOT_IN_libc=1 -DIS_IN_libm=1 -DIN_LIB=libm -o
 /var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fraiseexcpt.o
 -MD -MP -MF 
 /var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fraiseexcpt.o.dt
 -MT 
 /var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fraiseexcpt.o

 ../sysdeps/powerpc/fpu/fclrexcpt.c: In function '__feclearexcept':
 ../sysdeps/powerpc/fpu/fclrexcpt.c:28:12: error: impossible constraint in 
 'asm'
 ../sysdeps/powerpc/fpu/fclrexcpt.c:35:3: error: impossible constraint in 'asm'
 ../sysdeps/powerpc/fpu/fclrexcpt.c:35:3: error: impossible constraint in 'asm'
 ../sysdeps/powerpc/fpu/fgetexcptflg.c: In function '__fegetexceptflag':
 ../sysdeps/powerpc/fpu/fgetexcptflg.c:28:12: error: impossible
 constraint in 'asm'make[2]: ***
 [/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fclrexcpt.o]
 Error 1
 make[2]: *** Waiting for unfinished jobs

 ../sysdeps/powerpc/fpu/fraiseexcpt.c: In function '__feraiseexcept':
 ../sysdeps/powerpc/fpu/fraiseexcpt.c:34:12: error: impossible
 constraint in 'asm'
 ../sysdeps/powerpc/fpu/fraiseexcpt.c:45:3: error: impossible constraint in 
 'asm'
 ../sysdeps/powerpc/fpu/fraiseexcpt.c:45:3: error: impossible constraint in 
 'asm'
 ../sysdeps/powerpc/fpu/fraiseexcpt.c:52:16: error: impossible
 constraint in 'asm'
 make[2]: *** 
 [/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fgetexcptflg.o]
 Error 1
 make[2]: *** 
 [/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fraiseexcpt.o]
 Error 1
 make[2]: Leaving directory
 `/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17/math'
 make[1]: *** [math/others] Error 2
 make[1]: Leaving directory
 `/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
 make: *** [all] Error 2
 emake failed
 * ERROR: sys-libs/glibc-2.17 failed (compile phase):
 * make for default failed
 *
 * Call stack:
 * ebuild.sh, line 93: Called src_compile
 * environment, line 3080: Called eblit-run 'src_compile'
 * environment, line 851: Called eblit

[gentoo-ppc-user] Re: Has anyone successfully compiled pkg sys-libs/glibc-2.17 for ppc-32?

2014-04-11 Thread Robert K. Johnson
Sorry for the typos.  That should have been I am now able to
successfully build glibc-2.17.  Problem resolved.

On Fri, Apr 11, 2014 at 12:11 PM, Robert K. Johnson
rj.rkjohn...@gmail.com wrote:
  It turns out glibc requires some special patches for the SBC I am
 working with.  The SBC vendor has provided a portage overlay that
 installs the patches during the emerge process and I am not abel to
 successfully build glibc-2.17.

 On Thu, Apr 10, 2014 at 8:43 AM, Robert K. Johnson
 rj.rkjohn...@gmail.com wrote:
  I am working with an embedded Freescale P2020 based system.  I cannot
 seem to successfully compile the glibc-2.17 package.  I am trying to
 update glibc from package 2.15-r2.  I have tried both gcc 4.6.3 and
 4.7.3-r1.  I am thinking about submitting a bug report but I thought I
 would ask here first.  I might also try again after updating the
 portage packages.

 Here is what I see when the compilation fails:

 powerpc-e500v2-linux-gnuspe-gcc ../sysdeps/powerpc/fpu/fraiseexcpt.c
 -c -std=gnu99 -fgnu89-inline -O2 -Wa,-me500x2 -Wall -Winline
 -Wwrite-strings -fmerge-all-constants -fno-strict-aliasing
 -freorder-blocks -frounding-math -mcpu=8548 -mfloat-gprs=double
 -mspe=yes -mtune=8548 -pipe -mhard-float -Wstrict-prototypes
 -mlong-double-128 -Wno-uninitialized -U_FORTIFY_SOURCE
 -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -I../include
 -I/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math
 -I/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl
 -I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl
 -I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu
 -I../sysdeps/powerpc/powerpc32/fpu
 -I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
 -I../ports/sysdeps/unix/sysv/linux/powerpc/powerpc32
 -I../sysdeps/unix/sysv/linux/powerpc/powerpc32
 -I../nptl/sysdeps/unix/sysv/linux/powerpc
 -I../ports/sysdeps/unix/sysv/linux/powerpc
 -I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/ieee754/ldbl-128ibm
 -I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux
 -I../nptl/sysdeps/pthread -I../sysdeps/pthread
 -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux
 -I../sysdeps/gnu -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv
 -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv
 -I../sysdeps/unix/powerpc -I../nptl/sysdeps/unix
 -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix
 -I../ports/sysdeps/powerpc/powerpc32 -I../sysdeps/powerpc/powerpc32
 -I../sysdeps/wordsize-32 -I../sysdeps/powerpc/fpu
 -I../nptl/sysdeps/powerpc -I../ports/sysdeps/powerpc
 -I../sysdeps/powerpc -I../sysdeps/ieee754/dbl-64
 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic
 -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem
 /usr/lib/gcc/powerpc-e500v2-linux-gnuspe/4.7.3/include -isystem
 /usr/lib/gcc/powerpc-e500v2-linux-gnuspe/4.7.3/include-fixed -isystem
 /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h
 -DNOT_IN_libc=1 -DIS_IN_libm=1 -DIN_LIB=libm -o
 /var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fraiseexcpt.o
 -MD -MP -MF 
 /var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fraiseexcpt.o.dt
 -MT 
 /var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fraiseexcpt.o

 ../sysdeps/powerpc/fpu/fclrexcpt.c: In function '__feclearexcept':
 ../sysdeps/powerpc/fpu/fclrexcpt.c:28:12: error: impossible constraint in 
 'asm'
 ../sysdeps/powerpc/fpu/fclrexcpt.c:35:3: error: impossible constraint in 
 'asm'
 ../sysdeps/powerpc/fpu/fclrexcpt.c:35:3: error: impossible constraint in 
 'asm'
 ../sysdeps/powerpc/fpu/fgetexcptflg.c: In function '__fegetexceptflag':
 ../sysdeps/powerpc/fpu/fgetexcptflg.c:28:12: error: impossible
 constraint in 'asm'make[2]: ***
 [/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fclrexcpt.o]
 Error 1
 make[2]: *** Waiting for unfinished jobs

 ../sysdeps/powerpc/fpu/fraiseexcpt.c: In function '__feraiseexcept':
 ../sysdeps/powerpc/fpu/fraiseexcpt.c:34:12: error: impossible
 constraint in 'asm'
 ../sysdeps/powerpc/fpu/fraiseexcpt.c:45:3: error: impossible constraint in 
 'asm'
 ../sysdeps/powerpc/fpu/fraiseexcpt.c:45:3: error: impossible constraint in 
 'asm'
 ../sysdeps/powerpc/fpu/fraiseexcpt.c:52:16: error: impossible
 constraint in 'asm'
 make[2]: *** 
 [/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fgetexcptflg.o]
 Error 1
 make[2]: *** 
 [/var/tmp/portage/sys-libs/glibc-2.17/work/build-default-powerpc-e500v2-linux-gnuspe-nptl/math/fraiseexcpt.o]
 Error 1
 make[2]: Leaving directory
 `/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17/math'
 make[1]: *** [math/others] Error 2
 make[1]: Leaving directory
 `/var/tmp/portage/sys-libs/glibc-2.17/work/glibc-2.17'
 make: *** [all] Error 2
 emake failed
 * ERROR: sys-libs/glibc-2.17