id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	port
33151	gcc43, gcc44, gcc45, gcc46, gcc47: fails to compile universal	gvibe06@…	mww@macports.org	"Below is the ending crash information, and the debug log is attached.

{{{
checking how to run the C preprocessor... none needed
/lib/cpp
checking build system type... x86_64-apple-darwin11
checking host system type... x86_64-apple-darwin11
configure: error: C preprocessor ""/lib/cpp"" fails sanity check
See `config.log' for more details.
checking for x86_64-apple-darwin11-ranlib... ranlib
checking for library containing strerror... /lib/cpp
none required
checking how to run the C preprocessor... make[2]: *** [configure-build-libiberty] Error 1
make[2]: *** Waiting for unfinished jobs....
configure: error: C preprocessor ""/lib/cpp"" fails sanity check
See `config.log' for more details.
make[2]: *** [configure-stage1-libiberty] Error 1
/lib/cpp
configure: error: C preprocessor ""/lib/cpp"" fails sanity check
See `config.log' for more details.
make[2]: *** [configure-stage1-intl] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc43/gcc43/work/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc43/gcc43/work/build'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc43/gcc43/work/build'
shell command "" cd ""/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc43/gcc43/work/build"" && /usr/bin/make -j3 -w all BOOT_CFLAGS=""-O2 -g -D_FORTIFY_SOURCE=0"" STAGE1_CFLAGS=""-O1 -fkeep-inline-functions -D_FORTIFY_SOURCE=0 -std=gnu89"" "" returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
DEBUG: Backtrace: shell command failed (see log for details)
    while executing
""command_exec build""
    (procedure ""portbuild::build_main"" line 8)
    invoked from within
""$procedure $targetname""
Warning: the following items did not execute (for gcc43): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Log for gcc43 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc43/gcc43/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
}}}

Additionally...there is no /lib/cpp:

{{{
root /opt/local # ls /lib                                                                                                                                
ls: /lib: No such file or directory
}}}

Here is my PATH:

{{{
root /opt/local # echo $PATH                                                                                                                             
/opt/local/bin:/opt/local/sbin:/opt/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/android/sdk/platform-tools:/opt/android/sdk/tools:/var/root/bin
}}}

Xcode version:

{{{
root /opt/local # xcodebuild -version                                                                                                                    
Xcode 4.2.1
Build version 4D502
}}}

System Info (yes I am booted to 32 bit kernel):

{{{
root /opt/local # uname -a                                                                                                                               
Darwin media 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:48:32 PST 2012; root:xnu-1699.24.23~1/RELEASE_I386 i386
}}}

--
Jeff"	defect	closed	Normal		ports	2.0.3	fixed		and.damore@… ryandesign@… gabor.orosz@… david.raulo@… warrensomebody@…	gcc43, gcc44, gcc45, gcc46, gcc47
