[Bug bootstrap/44862] bootstrap with --enable-build-with-cxx and --with-libiconv-prefix fails

howarth at nitro dot med dot uc dot edu gcc-bugzilla@gcc.gnu.org
Sat Jul 10 00:11:00 GMT 2010



------- Comment #4 from howarth at nitro dot med dot uc dot edu  2010-07-10 00:10 -------
The problems appears in the libcpp directory's config.log as...

configure:6727: checking for iconv
configure:6749: 
/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/g++
-B/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/./prev-gcc/
-B/sw/lib/gcc4.6/x86_64-apple-darwin10.4.0/bin/ -nostdinc++
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/include/x86_64-apple-darwin10.4.0
-I/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/include
-I/sw/src/fink.build/gcc46-4.6.0-1000/gcc-4.6-20100707/libstdc++-v3/libsupc++
-L/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/src/.libs
-o conftest -g -O2 -gtoggle -I/sw/include -static-libstdc++ -static-libgcc 
conftest.cpp  >&5
ld: file not found: libstdc++.a
collect2: ld returned 1 exit status

Oddly....

ls -l
/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/src/.libs/*.a
-rw-r--r--  1 root  admin  7464832 Jul  7 19:50
/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/src/.libs/libstdc++.a

...shows this file is present. Also, if I copy
/sw/src/fink.build/gcc46-4.6.0-1000/darwin_objdir/prev-x86_64-apple-darwin10.4.0/libstdc++-v3/src/.libs/libstdc++.a
into the same directory as confdefs.h and conftest.cpp, then -static-libstdc++
finds libstdc++.a.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44862



More information about the Gcc-bugs mailing list