i was just emerging system and it stopped while compiling gcc-apple Reproducible: Always Steps to Reproduce: 1. emerge gcc-apple 2. 3. Portage 2.1.20.5839 (default-darwin/macos/10.4/ppc, gcc-4.0.1, unavailable, 8.6.0 Power Macintosh) ================================================================= System uname: 8.6.0 Power Macintosh powerpc Gentoo Prefix Base System version 1.12.5 Timestamp of tree: Unknown distcc 2.16 powerpc-apple-darwin7.2.0 (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 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/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 ACCEPT_KEYWORDS="ppc-macos ~ppc-macos" AUTOCLEAN="yes" CBUILD="powerpc-apple-darwin8" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin8" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/Users/junk/Gentoo/usr/portage/distfiles" EPREFIX="/Users/junk/Gentoo" FEATURES="autoconfig collision-protect distlocks metadata-transfer nostrip sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-search_paths_first -L/Users/junk/Gentoo/usr/lib -L/Users/junk/Gentoo/lib" MAKEOPTS="-j2" PKGDIR="/Users/junk/Gentoo/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="/Users/junk/Gentoo/var/tmp" PORTDIR="/Users/junk/Gentoo/usr/portage" SYNC="svn+http://overlays.gentoo.org/svn/proj/alt/trunk/prefix-overlay" USE="berkdb bzip2 emboss objc objc++ ppc ppc-macos python 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="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="Darwin" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 110189 [details] build.log
It looks to me as if your OSX is outdated, also what XCode are you running?
i run xcode 2.2.1 and mac os x 10.4.6. shall i update to 10.4.9 and try again ?
I run 10.4.8 myself (no 10.4.9 here :( ) but yes please upgrade, it might very well solve the issue.
hi sorry i meant 10.4.8 not .9. so i updated to it and i'm getting the same error still .. ?
what bothers me in your setup is that distcc looks like to be the panther version, and not the tiger version. Are you sure you have Xcode for Tiger installed?
do you want me to install the latest version of xcode?
yep, please try
just updated to xcode version 2.4.1... still getting the same error 0
with /usr/include/malloc.h:105: error: conflicting types for 'malloc' /usr/include/malloc.h:105: error: conflicting types for 'realloc' /usr/include/stdlib.h:175: error: previous declaration of 'realloc' was here being your error? attach your /usr/include/{malloc,stdlib}.h
Created attachment 111608 [details] malloc.h
Created attachment 111609 [details] stdlib.h
you have an at least totally hosed malloc.h I think you once installed something which messed with your system headers. I guess you need to reinstall your OS in order to get your system headers fixed and untouched again.
well, that's stupid. can i get around without emerging gcc-apple and using apple's gcc? but with all the headers from the gentoo install..?
There are no headers in the gentoo prefix install. Your system's headers are horked, unless you manage to fix them, you don't get any guarantees here. Maybe you can copy over the headers from another system.
yeah maybe, i've never had any problems like this before. thanks anyway