------- Comment #6 from howarth at nitro dot med dot uc dot edu 2010-07-10
05:09 -------
The following appears to eliminate the iconv related build issues with
--enable-build-with-cxx...
Index: Makefile.in
===================================================================
--- Makefile.in (revision 162030)
+++ Makefile.in (working copy)
@@ -235,6 +235,7 @@
POSTSTAGE1_CXX_EXPORT = \
CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \
-B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
+ -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
-I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
-I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
-I$$s/libstdc++-v3/libsupc++ \
There is a later bootstrap failure due to warnings as errors but it appears
unrelated...
/Users/howarth/work/./prev-gcc/g++ -B/Users/howarth/work/./prev-gcc/
-B/Users/howarth/dist/x86_64-apple-darwin10.4.0/bin/ -nostdinc++
-B/Users/howarth/work/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/src/.libs
-I/Users/howarth/work/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/include/x86_64-apple-darwin10.4.0
-I/Users/howarth/work/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/include
-I/Users/howarth/gcc/libstdc++-v3/libsupc++
-L/Users/howarth/work/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/src/.libs -c
-g -O2 -gtoggle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc
-I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
-I/sw/include -I/sw/include -I../../gcc/gcc/../libdecnumber
-I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw/include
-I/sw/include -DCLOOG_PPL_BACKEND -I/sw/include -I. -I. -I../../gcc/gcc
-I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include
-I/sw/include -I/sw/include -I../../gcc/gcc/../libdecnumber
-I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I/sw/include
-I/sw/include -DCLOOG_PPL_BACKEND \
../../gcc/gcc/config/darwin.c
In file included from ../../gcc/gcc/config/i386/i386.c:31581:0:
../../gcc/gcc/config/i386/i386.c: In function tree_node*
ix86_vectorize_builtin_vec_perm(tree, tree_node**):
../../gcc/gcc/config/i386/i386.c:30005:30: error: fcode is used uninitialized
in this function [-Werror=uninitialized]
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44862