Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 194953
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Toolchain Maintainers <toolchain@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: SpanKY <vapier@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
kgcc64.build.tar.gz kgcc64.build.log text/plain Robert Winder 2007-10-17 19:42 0000 35.18 KB Details
kgcc64.build.tar.gz again now as bin. application/octet-stream Robert Winder 2007-10-17 19:45 0000 35.18 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 194953 depends on: Show dependency tree
Bug 194953 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-10-07 02:21 0000
do it

------- Comment #1 From Jeroen Roovers 2007-10-09 05:48:29 0000 -------
Stable for HPPA.

------- Comment #2 From Lars Weiler (RETIRED) 2007-10-12 19:33:32 0000 -------
killerfox did this one for ppc, but forgot to change the bug.

------- Comment #3 From Robert Winder 2007-10-17 19:41:21 0000 -------
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 From Robert Winder 2007-10-17 19:42:22 0000 -------
Created an attachment (id=133704) [details]
kgcc64.build.log

------- Comment #5 From Robert Winder 2007-10-17 19:45:04 0000 -------
Created an attachment (id=133705) [details]
again now as bin. 

------- Comment #6 From Joshua Kinard 2007-11-20 04:08:44 0000 -------
mips stable.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug