I am on OS X 10.6 on an Intel i5. I'm running Xcode 4.1 with gcc --version:
i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
build 5658) (LLVM build 2335.15.00)
I emerge 'binutils-apple' following the directions and then when I
attempt to emerge 'gcc-apple' the ebuild fails with the message at the
end of the email.
Any help would be greatly appreciated.
Thanks!
Harold
---------------------
make[3]: Entering directory
`/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build/libcpp'
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build/./prev-gcc/xgcc
-B/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build/./prev-gcc/
-B/Users/pimentel/Gentoo/usr/i686-apple-darwin10/bin/
-I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp
-I. -I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/../include
-I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include
-I/Users/pimentel/Gentoo/usr/include -g -O2 -mdynamic-no-pic -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -pedantic
-Wno-long-long
-I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp
-I. -I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/../include
-I/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include
-I/Users/pimentel/Gentoo/usr/include -c -o charset.o -MT charset.o
-MMD -MP -MF .deps/charset.Po
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/charset.c
In file included from
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/charset.c:23:
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include/cpplib.h:918:20:
warning: stdint.h: No such file or directory
In file included from
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/charset.c:23:
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include/cpplib.h:927:
error: expected specifier-qualifier-list before 'uint32_t'
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include/cpplib.h:932:
warning: struct has no members
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include/cpplib.h:936:
error: expected specifier-qualifier-list before 'uint32_t'
/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3/libcpp/include/cpplib.h:945:
warning: struct has no members
make[3]: *** [charset.o] Error 1
make[3]: Leaving directory
`/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build/libcpp'
make[2]: *** [all-stage2-libcpp] Error 2
make[2]: Leaving directory
`/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory
`/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/build'
make: *** [bootstrap] Error 2
emake failed
* ERROR: sys-devel/gcc-apple-4.2.1_p5666 failed (compile phase):
* emake failed
*
* Call stack:
* ebuild.sh, line 98: Called src_compile
* environment, line 5139: Called die
* The specific snippet of code:
* emake bootstrap || die "emake failed"
*
* If you need support, post the output of 'emerge --info
=sys-devel/gcc-apple-4.2.1_p5666',
* the complete build log and the output of 'emerge -pqv
=sys-devel/gcc-apple-4.2.1_p5666'.
* The complete build log is located at
'/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/temp/build.log'.
* The ebuild environment file is located at
'/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/temp/environment'.
* S: '/Users/pimentel/Gentoo/var/tmp/portage/sys-devel/gcc-apple-4.2.1_p5666/work/gcc-5666.3'
>>> Failed to emerge sys-devel/gcc-apple-4.2.1_p5666, Log file:
My "emerge --info =sys-devel/gcc-apple-4.2.1_p5666":
On 02-11-2011 15:49:33 -0700, Harold Pimentel wrote:
> Hi all,
>
> I am on OS X 10.6 on an Intel i5. I'm running Xcode 4.1 with gcc --version:
>
> i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc.
> build 5658) (LLVM build 2335.15.00)
>
> I emerge 'binutils-apple' following the directions and then when I
> attempt to emerge 'gcc-apple' the ebuild fails with the message at the
> end of the email.
>
> Any help would be greatly appreciated.
You're supposed to have an /usr/include/stdint.h. Could it be that you
perhaps accidentially removed this one? On my 10.5 machine it is a
symlink pointing to gcc/darwin/default/stdint.h
> warning: stdint.h: No such file or directory
--
Fabian Groffen
Gentoo on a different level
11-03-2011, 07:00 PM
Harold Pimentel
Problem with emerge gcc-apple
> You're supposed to have an /usr/include/stdint.h. *Could it be that you> perhaps accidentially removed this one? *On my 10.5 machine it is a> symlink pointing to gcc/darwin/default/stdint.h
Thanks, Fabian. I reinstalled Xcode and that seems to have fixed it.