Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194953 - stabilize sys-devel/kgcc64-4.1.2
Summary: stabilize sys-devel/kgcc64-4.1.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-07 02:21 UTC by SpanKY
Modified: 2008-04-12 22:58 UTC (History)
1 user (show)

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


Attachments
kgcc64.build.log (kgcc64.build.tar.gz,35.18 KB, text/plain)
2007-10-17 19:42 UTC, Robert Winder
Details
again now as bin. (kgcc64.build.tar.gz,35.18 KB, application/octet-stream)
2007-10-17 19:45 UTC, Robert Winder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2007-10-07 02:21:53 UTC
do it
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2007-10-09 05:48:29 UTC
Stable for HPPA.
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2007-10-12 19:33:32 UTC
killerfox did this one for ppc, but forgot to change the bug.
Comment 3 Robert Winder 2007-10-17 19:41:21 UTC
I don't think it's stable for ppc64.

Portage 2.1.3.12 (default-linux/ppc/ppc64/2007.0/32bit-userland, gcc-4.1.2, glibc-2.6.1-r0, 2.6.16-ps3 ppc64)
=================================================================
System uname: 2.6.16-ps3 ppc64 Cell Broadband Engine, altivec supported
Timestamp of tree: Mon, 15 Oct 2007 01:47:01 +0000
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.1_p17
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mtune=970 -mcpu=970 -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=970 -mcpu=970 -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.easynet.nl/mirror/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--timeout=600"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage rsync://ftp.snt.utwente.nl/gentoo-portage/"
USE="a52 aac acl asf berkdb bitmap-fonts bluetooth cli cracklib crypt cups curl directfb dri dts fbcon ffmpeg flac gcc64 gdbm gpm iconv imlib ipv6 isdnlog joystick live midi mudflap ncurses nptl nptlonly nsc oggvorbis openmp pam pcre perl ppc pppd python readline reflection session spl ssl tcpd theora tiff truetype-fonts type1-fonts unicode x264 xorg xvid zlib" 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" 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="dummy fbdev mach64 mga nv r128 radeon sisusb v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

emerged gcc-4.1.2 and kgcc64 4.1.2 and after that I did env-update && source /etc/profile. I upgraded glibc and binutils as well to glibc 2.6.1 and binutils to 2.18-r1. All builds were succesfull!. gcc-4.1.2 is working fine but kgcc64 seems broken. I am not able to build a 64bit kernel because of "-m64 not supported in this configuration"

eselect profile list

  [1]   default-linux/ppc/ppc32/2006.1
  [2]   default-linux/ppc/ppc32/2007.0
  [3]   default-linux/ppc/ppc32/2007.0/desktop
  [4]   default-linux/ppc/ppc32/2007.0/G3
  [5]   default-linux/ppc/ppc32/2007.0/G3/Pegasos
  [6]   default-linux/ppc/ppc32/2007.0/G4
  [7]   default-linux/ppc/ppc32/2007.0/G4/Pegasos
  [8]   default-linux/ppc/ppc32/2007.0/desktop/G3
  [9]   default-linux/ppc/ppc32/2007.0/desktop/G3/Pegasos
  [10]  default-linux/ppc/ppc32/2007.0/desktop/G4
  [11]  default-linux/ppc/ppc32/2007.0/desktop/G4/Pegasos
  [12]  default-linux/ppc/ppc64/2007.0/32bit-userland *
  [13]  hardened/ppc
  [14]  selinux/2007.0/ppc

gcc-config -l

 [1] powerpc-unknown-linux-gnu-4.1.2 *
 [2] powerpc-unknown-linux-gnu-4.3.0-alpha20071012
 [3] powerpc64-unknown-linux-gnu-4.1.2 *

 [4] spu-elf-4.3.0-alpha20071012 *

switched to powerpc64-unknown-linux-gnu-4.1.2 and again some prob. 

A direct call with a sample hello word ends with

/usr/bin/powerpc64-linux-gcc hello.c -o hello.o 
hello.c:2:44: error: stdio.h: No such file or directory
hello.c: In function 'main':
hello.c:11: warning: incompatible implicit declaration of built-in function 'printf'

Is this somekind of multilib prob ? Attached kgcc64 build.log 
Comment 4 Robert Winder 2007-10-17 19:42:22 UTC
Created attachment 133704 [details]
kgcc64.build.log
Comment 5 Robert Winder 2007-10-17 19:45:04 UTC
Created attachment 133705 [details]
again now as bin.
Comment 6 Joshua Kinard gentoo-dev 2007-11-20 04:08:44 UTC
mips stable.