Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141459 - glibc-2.4-r3 fails on ppc64
Summary: glibc-2.4-r3 fails on ppc64
Status: RESOLVED DUPLICATE of bug 128227
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-22 19:54 UTC by Mark J. Olah
Modified: 2006-07-23 01:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Preprocessed source file, causing errors (ccogiNdV.out,461.97 KB, text/plain)
2006-07-22 19:57 UTC, Mark J. Olah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark J. Olah 2006-07-22 19:54:16 UTC
powerpc64-unknown-linux-gnu-gcc fprintf.c -c -std=gnu99 -O2 -Wall -Winline -Wwri                       te-strings -fmerge-all-constants -mcpu=970 -pipe -mnew-mnemonics -Wstrict-protot                       ypes -mlong-double-128  -fpic    -I../include -I/var/tmp/portage/glibc-2.4-r3/wo                       rk/build-ppc64-powerpc64-unknown-linux-gnu-nptl/stdio-common -I/var/tmp/portage/                       glibc-2.4-r3/work/build-ppc64-powerpc64-unknown-linux-gnu-nptl -I../sysdeps/powe                       rpc/powerpc64/elf -I../sysdeps/powerpc/elf -I../sysdeps/unix/sysv/linux/powerpc/                       powerpc64/fpu -I../sysdeps/powerpc/powerpc64/fpu -I../nptl/sysdeps/unix/sysv/lin                       ux/powerpc/powerpc64 -I../sysdeps/unix/sysv/linux/powerpc/powerpc64 -I../sysdeps                       /unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux/powerpc -I../powe                       rpc-cpu/sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux/powerpc -I.                       ./sysdeps/ieee754/ldbl-128ibm -I../sysdeps/ieee754/ldbl-opt -I../ports/sysdeps/u                       nix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../                       sysdeps/pthread -I../powerpc-cpu/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/                       linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysd                       eps/unix/inet -I../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv -I../powe                       rpc-cpu/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I../                       ports/sysdeps/unix -I../nptl/sysdeps/unix -I../powerpc-cpu/sysdeps/unix -I../sys                       deps/unix -I../sysdeps/posix -I../powerpc-cpu/sysdeps/powerpc/powerpc64/970 -I..                       /powerpc-cpu/sysdeps/powerpc/powerpc64/power4 -I../powerpc-cpu/sysdeps/powerpc/p                       owerpc64 -I../sysdeps/powerpc/powerpc64 -I../sysdeps/wordsize-64 -I../sysdeps/po                       werpc/fpu -I../ports/sysdeps/powerpc -I../nptl/sysdeps/powerpc -I../powerpc-cpu/                       sysdeps/powerpc -I../sysdeps/powerpc -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ie                       ee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic                        -I../ports -I../nptl -I../powerpc-cpu  -I.. -I../libio -I. -nostdinc -isystem /u                       sr/lib/gcc/powerpc64-unknown-linux-gnu/3.4.6/include -isystem /usr/include -D_LI                       BC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED     -D_IO_MTSAFE                       _IO -o /var/tmp/portage/glibc-2.4-r3/work/build-ppc64-powerpc64-unknown-linux-gn                       u-nptl/stdio-common/fprintf.os -MD -MP -MF /var/tmp/portage/glibc-2.4-r3/work/bu                       ild-ppc64-powerpc64-unknown-linux-gnu-nptl/stdio-common/fprintf.os.dt -MT /var/t                       mp/portage/glibc-2.4-r3/work/build-ppc64-powerpc64-unknown-linux-gnu-nptl/stdio-                       common/fprintf.os
In file included from ../socket/sys/socket.h:27,
                 from ../include/sys/socket.h:2,
                 from ../inet/netinet/in.h:24,
                 from ../include/netinet/in.h:3,
                 from ../resolv/resolv.h:57,
                 from ../include/resolv.h:12,
                 from ../nptl/descr.h:39,
                 from ../nptl/sysdeps/powerpc/tls.h:66,
                 from ../include/tls.h:6,
                 from ../nptl/sysdeps/pthread/bits/libc-lock.h:36,
                 from ../nptl/sysdeps/pthread/bits/stdio-lock.h:23,
                 from ../libio/libio.h:171,
                 from ../include/libio.h:1,
                 from ../libio/stdio.h:72,
                 from ../include/stdio.h:5,
                 from fprintf.c:20:
../include/sys/uio.h:5: warning: `altivec' attribute ignored
../include/sys/uio.h:7: warning: `altivec' attribute ignored
../include/sys/uio.h:9: warning: `altivec' attribute ignored
../include/sys/uio.h:11: warning: `altivec' attribute ignored
Preprocessed source stored into /var/tmp/portage/glibc-2.4-r3/temp/ccogiNdV.out                        file, please attach this to your bugreport.
make[2]: *** [/var/tmp/portage/glibc-2.4-r3/work/build-ppc64-powerpc64-unknown-l                       inux-gnu-nptl/stdio-common/vfprintf.os] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.4-r3/work/glibc-2.4/stdio-c                       ommon'
make[1]: *** [stdio-common/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.4-r3/work/glibc-2.4'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.4-r3 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  glibc-2.4-r3.ebuild, line 1179:   Called toolchain-glibc_src_compile
  glibc-2.4-r3.ebuild, line 253:   Called die


emerge --info
Portage 2.1.1_pre3-r3 (default-linux/ppc/ppc64/2006.0/64bit-userland, gcc-3.4.6/vanilla, glibc-2.3.6-r4, 2.6.14-gentoo-r6 ppc64)
=================================================================
System uname: 2.6.14-gentoo-r6 ppc64 PPC970, altivec supported
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="ppc64 ~ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=970 -maltivec -mabi=altivec"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mcpu=970 -maltivec -mabi=altivec"
DISTDIR="/nfs/distfiles"
FEATURES="autoconfig buildpkg digest distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://tau.cs.unm.edu/gentoo-portage"
USE="ppc64 X Xaw3d alsa altivec apache2 apm arts automount bash-completion berkdb bitmap-fonts blas bzip2 cli crypt cups curl dlloader eds emacs emboss encode esd fftw fontocnfig foomaticdb fortran gd gdbm gif gnome gpm graphviz gs gstreamer gtk ibm imagemagick imlib isdnlog jpeg jpeg2k kde libg++ libwww mad mikmod motif mozsvg mp3 mpeg nas ncurses nis nls nptl nptlonly objc ogg opengl oss pam pcre pdflib perl plotutils png pppd python qt qt3 qt4 quicktime readline reflection ruby samaba sdl session smaba snmp spell spl ssl subversion svg tcpd tetex tiff toolbar truetype truetype-fonts type1-fonts udev umagemagick unicode usb userlocales video_cards_nv vorbis wmf wxwindows xemacs xml xmms xorg xprint xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Mark J. Olah 2006-07-22 19:57:24 UTC
Created attachment 92529 [details]
Preprocessed source file, causing errors
Comment 2 Mark J. Olah 2006-07-22 20:01:54 UTC
Actually, here is the real error that is killing the compile:

powerpc64-unknown-linux-gnu-gcc printf_fp.c -c -std=gnu99 -O2 -Wall -Winline -Ww                       rite-strings -fmerge-all-constants -mcpu=970 -pipe -mnew-mnemonics -Wstrict-prot                       otypes -mlong-double-128  -fpic    -I../include -I/var/tmp/portage/glibc-2.4-r3/                       work/build-ppc64-powerpc64-unknown-linux-gnu-nptl/stdio-common -I/var/tmp/portag                       e/glibc-2.4-r3/work/build-ppc64-powerpc64-unknown-linux-gnu-nptl -I../sysdeps/po                       werpc/powerpc64/elf -I../sysdeps/powerpc/elf -I../sysdeps/unix/sysv/linux/powerp                       c/powerpc64/fpu -I../sysdeps/powerpc/powerpc64/fpu -I../nptl/sysdeps/unix/sysv/l                       inux/powerpc/powerpc64 -I../sysdeps/unix/sysv/linux/powerpc/powerpc64 -I../sysde                       ps/unix/sysv/linux/wordsize-64 -I../nptl/sysdeps/unix/sysv/linux/powerpc -I../po                       werpc-cpu/sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux/powerpc -                       I../sysdeps/ieee754/ldbl-128ibm -I../sysdeps/ieee754/ldbl-opt -I../ports/sysdeps                       /unix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I.                       ./sysdeps/pthread -I../powerpc-cpu/sysdeps/unix/sysv/linux -I../sysdeps/unix/sys                       v/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sy                       sdeps/unix/inet -I../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv -I../po                       werpc-cpu/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc -I.                       ./ports/sysdeps/unix -I../nptl/sysdeps/unix -I../powerpc-cpu/sysdeps/unix -I../s                       ysdeps/unix -I../sysdeps/posix -I../powerpc-cpu/sysdeps/powerpc/powerpc64/970 -I                       ../powerpc-cpu/sysdeps/powerpc/powerpc64/power4 -I../powerpc-cpu/sysdeps/powerpc                       /powerpc64 -I../sysdeps/powerpc/powerpc64 -I../sysdeps/wordsize-64 -I../sysdeps/                       powerpc/fpu -I../ports/sysdeps/powerpc -I../nptl/sysdeps/powerpc -I../powerpc-cp                       u/sysdeps/powerpc -I../sysdeps/powerpc -I../sysdeps/ieee754/dbl-64 -I../sysdeps/                       ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generi                       c -I../ports -I../nptl -I../powerpc-cpu  -I.. -I../libio -I. -nostdinc -isystem                        /usr/lib/gcc/powerpc64-unknown-linux-gnu/3.4.6/include -isystem /usr/include -D_                       LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED     -D_IO_MTSA                       FE_IO -o /var/tmp/portage/glibc-2.4-r3/work/build-ppc64-powerpc64-unknown-linux-                       gnu-nptl/stdio-common/printf_fp.os -MD -MP -MF /var/tmp/portage/glibc-2.4-r3/wor                       k/build-ppc64-powerpc64-unknown-linux-gnu-nptl/stdio-common/printf_fp.os.dt -MT                        /var/tmp/portage/glibc-2.4-r3/work/build-ppc64-powerpc64-unknown-linux-gnu-nptl/                       stdio-common/printf_fp.os
In file included from ../socket/sys/socket.h:27,
                 from ../include/sys/socket.h:2,
                 from ../inet/netinet/in.h:24,
                 from ../include/netinet/in.h:3,
                 from ../resolv/resolv.h:57,
                 from ../include/resolv.h:12,
                 from ../nptl/descr.h:39,
                 from ../nptl/sysdeps/powerpc/tls.h:66,
                 from ../include/tls.h:6,
                 from ../include/errno.h:22,
                 from ../libio/libioP.h:29,
                 from printf_fp.c:25:
../include/sys/uio.h:5: warning: `altivec' attribute ignored
../include/sys/uio.h:7: warning: `altivec' attribute ignored
../include/sys/uio.h:9: warning: `altivec' attribute ignored
../include/sys/uio.h:11: warning: `altivec' attribute ignored
vfprintf.c: In function `_IO_vfprintf_internal':
vfprintf.c:1910: error: insn does not satisfy its constraints:
(insn 12568 6021 6024 420 vfprintf.c:1748 (set (mem/s:TF (plus:DI (reg:DI 8 8 [3                       720])
                (reg/v/f:DI 14 14 [orig:1751 args_value ] [1751])) [0 <variable>                       .pa_long_double+0 S16 A128])
        (reg:TF 32 0)) 312 {*movtf_internal} (nil)
    (nil))
vfprintf.c:1910: internal compiler error: in reload_cse_simplify_operands, at po                       streload.c:391
Please submit a full bug report,
with preprocessed source if appropriate.

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-23 01:47:38 UTC
Won't work, you need gcc-4.1.

*** This bug has been marked as a duplicate of 128227 ***