Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228115 - sys-devel/kgcc64-4.3.1: Compile error on PPC64 32-bit UL
Summary: sys-devel/kgcc64-4.3.1: Compile error on PPC64 32-bit UL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC64 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 16:46 UTC by Mike Gist
Modified: 2023-08-14 02:01 UTC (History)
3 users (show)

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


Attachments
Error log from build. (build.log,367.94 KB, text/plain)
2008-06-18 16:49 UTC, Mike Gist
Details
emerge --info (emerge.info,3.16 KB, text/plain)
2008-06-22 01:17 UTC, Calvin Walton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gist 2008-06-18 16:46:41 UTC
/var/tmp/portage/sys-devel/kgcc64-4.3.1/work/gcc-4.3.1/libgcc/../libdecnumber/decContext.c:38:43: error: string.h: No such file or directory
/var/tmp/portage/sys-devel/kgcc64-4.3.1/work/gcc-4.3.1/libgcc/../libdecnumber/decContext.c:39:54: error: stdio.h: No such file or directory
In file included from /var/tmp/portage/sys-devel/kgcc64-4.3.1/work/gcc-4.3.1/libgcc/../libdecnumber/decContext.h:59,
                 from /var/tmp/portage/sys-devel/kgcc64-4.3.1/work/gcc-4.3.1/libgcc/../libdecnumber/decContext.c:41:

etc.


Reproducible: Always

Steps to Reproduce:
1. emerge -u kgcc64
2. ???
3. Compile error!




Portage 2.1.5.6 (default/linux/powerpc/ppc64/2008.0/32bit-userland, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 ppc64)
=================================================================
System uname: 2.6.25-gentoo-r4 ppc64 Cell Broadband Engine, altivec supported
Timestamp of tree: Wed, 18 Jun 2008 15:33:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.6.3, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="ppc ppc64 ~ppc ~ppc64"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=cell -mabi=altivec -O2 -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-mcpu=cell -mabi=altivec -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl altivec berkdb bzip2 cli cracklib crypt cups dri gcc64 gdbm glibc-omitfp gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl ppc pppd python readline reflection session spl ssl symlink tcpd unicode xorg zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx trident voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Mike Gist 2008-06-18 16:49:51 UTC
Created attachment 157465 [details]
Error log from build.
Comment 2 SpanKY gentoo-dev 2008-06-19 02:39:44 UTC
builds just fine for me in a 32bit env ... someone else will have to take a peak
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-06-19 02:49:21 UTC
mjg06: can you try to build with 4.1 or 4.2 as your host compiler?
Comment 4 Mike Gist 2008-06-19 12:26:18 UTC
I've tried with 4.1.2 and I have the same errors.
Comment 5 Brent Baude (RETIRED) gentoo-dev 2008-06-19 12:48:38 UTC
looks like he is using glibc-2.8  anyone tested that with kgcc?
Comment 6 gringo 2008-06-20 20:32:29 UTC
im getting the exact same errors when running :

crossdev --b 2.18-r1 --g 4.3.1 --k 2.6.25-r4 --l 2.7-r2 powerpc-unknown-linux-gnu

on my amd64 box with the same environment/ toolchain as Mike Gist.

Just in case this helps.  My apologies if i should have filled a new bug.

thanks !
Comment 7 SpanKY gentoo-dev 2008-06-21 04:10:01 UTC
Sat Jun  7 19:52:28 2008 >>> sys-libs/glibc-2.8_p20080602
Wed Jun 18 21:08:42 2008 >>> sys-devel/kgcc64-4.3.1
Wed Jun 18 21:56:48 2008 >>> sys-devel/kgcc64-4.3.1
Wed Jun 18 22:06:08 2008 >>> sys-devel/kgcc64-4.3.1
Wed Jun 18 22:11:03 2008 >>> sys-devel/kgcc64-4.3.1
Comment 8 Calvin Walton 2008-06-22 01:16:43 UTC
I've been getting the exact same errors as the original reporter - curiously enough, I'm also running on a PS3 (I wouldn't expect that to be the cause, but stranger things have happened...)
gcc-4.3.1, glibc-2.8_p20080602-r0
I've tried building with gcc 4.1 as well, getting the same error.
I'm attaching my emerge --info as well.
Comment 9 Calvin Walton 2008-06-22 01:17:26 UTC
Created attachment 157967 [details]
emerge --info
Comment 10 SpanKY gentoo-dev 2008-06-23 01:47:49 UTC
ive dropped all keywords from kgcc64-4.3.1 ... gcc-4.3 requires a lot of C library headers which previous versions did not

on my system, i have a lot of cross-compiler toolchains installed, so those masked the issue for me