This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/49173] [4.7 Regression] No rule to make target `../../../../work/libgcc/../gcc/libgcc-std.ver', needed by `libgcc.map'.


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

--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-05-26 18:04:06 UTC ---
With the following patch

--- ../_clean/libgcc/config/t-slibgcc-darwin    2010-02-02 11:25:59.000000000
+0100
+++ libgcc/config/t-slibgcc-darwin    2011-05-26 18:42:41.000000000 +0200
@@ -24,7 +24,7 @@ SHLIB_LINK = $(CC) $(LIBGCC2_CFLAGS) -dy

 SHLIB_MKMAP = $(gcc_srcdir)/mkmap-flat.awk
 SHLIB_MKMAP_OPTS = -v leading_underscore=1
-SHLIB_MAPFILES += $(gcc_srcdir)/libgcc-std.ver
$(gcc_srcdir)/libgcc-libsystem.ver
+SHLIB_MAPFILES += libgcc-std.ver $(gcc_srcdir)/libgcc-libsystem.ver

 # we're only going to build the stubs if the target slib is /usr/lib
 # there is no other case in which they're useful in a live system.

bootstrap now dies at

...
nm -P .libs/atomic.o .libs/bitmap_allocator.o .libs/pool_allocator.o
.libs/mt_allocator.o .libs/codecvt.o .libs/compatibility.o
.libs/compatibility-c++0x.o .libs/compatibility-debug_list.o
.libs/compatibility-debug_list-2.o .libs/compatibility-list.o
.libs/compatibility-list-2.o .libs/complex_io.o .libs/ctype.o .libs/debug.o
.libs/functexcept.o .libs/functional.o .libs/globals_io.o .libs/hash_c++0x.o
.libs/hash_tr1.o .libs/hashtable_c++0x.o .libs/hashtable_tr1.o .libs/ios.o
.libs/ios_failure.o .libs/ios_init.o .libs/ios_locale.o .libs/limits.o
.libs/list.o .libs/locale.o .libs/locale_init.o .libs/locale_facets.o
.libs/localename.o .libs/math_stubs_float.o .libs/math_stubs_long_double.o
.libs/stdexcept.o .libs/strstream.o .libs/system_error.o .libs/tree.o
.libs/istream.o .libs/placeholders.o .libs/regex.o .libs/shared_ptr.o
.libs/streambuf.o .libs/mutex.o .libs/condition_variable.o .libs/chrono.o
.libs/thread.o .libs/future.o .libs/valarray.o .libs/atomicity.o
.libs/codecvt_members.o .libs/collate_members.o .libs/ctype_configure_char.o
.libs/ctype_members.o .libs/messages_members.o .libs/monetary_members.o
.libs/numeric_members.o .libs/time_members.o .libs/basic_file.o
.libs/c++locale.o .libs/allocator-inst.o .libs/concept-inst.o .libs/ext-inst.o
.libs/fstream-inst.o .libs/ios-inst.o .libs/iostream-inst.o
.libs/istream-inst.o .libs/locale-inst.o .libs/misc-inst.o .libs/ostream-inst.o
.libs/sstream-inst.o .libs/streambuf-inst.o .libs/string-inst.o
.libs/wlocale-inst.o .libs/wstring-inst.o .libs/parallel_settings.o
.libs/compatibility-parallel_list.o .libs/compatibility-parallel_list-2.o
../libsupc++/.libs/libsupc++convenience.a|nm: no name listnm: no name listnm:
no name listnm: no name listnm: no name listnm: no name listnm: no name listnm:
no name list/bin/sh ../libtool --tag CXX   --mode=link
/opt/gcc/build_w/./gcc/xgcc -shared-libgcc -B/opt/gcc/build_w/./gcc -nostdinc++
-L/opt/gcc/build_w/x86_64-a
pple-darwin10.7.0/i386/libstdc++-v3/src
-L/opt/gcc/build_w/x86_64-apple-darwin10.7.0/i386/libstdc++-v3/src/.libs
-B/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/bin/
-B/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/lib/ -isystem
/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/include -isystem
/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/sys-include  -m32 -Wl,-single_module
 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual 
-fdiagnostics-show-location=once -fvisibility-inlines-hidden
-ffunction-sections -fdata-sections   '-m32' -o libstdc++.la -version-info
6:16:0 -Wl,-exported_symbols_list,libstdc++-symbols.explist -lm -rpath
/opt/gcc/gcc4.7w/lib/i386 atomic.lo bitmap_allocator.lo pool_allocator.lo
mt_allocator.lo codecvt.lo compatibility.lo compatibility-c++0x.lo
compatibility-debug_list.lo compatibility-debug_list-2.lo compatibility-list.lo
compatibility-list-2.lo complex_io.lo ctype.lo debug.lo functexcept.lo
functional.lo globals_io.lo hash_c++0x.lo hash_tr1.lo hashtable_c++0x.lo
hashtable_tr1.lo ios.lo ios_failure.lo ios_init.lo ios_locale.lo limits.lo
list.lo locale.lo locale_init.lo locale_facets.lo localename.lo
math_stubs_float.lo math_stubs_long_double.lo stdexcept.lo strstream.lo
system_error.lo tree.lo istream.lo placeholders.lo regex.lo shared_ptr.lo
streambuf.lo mutex.lo condition_variable.lo chrono.lo thread.lo future.lo
valarray.lo atomicity.lo codecvt_members.lo collate_members.lo
ctype_configure_char.lo ctype_members.lo messages_members.lo
monetary_members.lo numeric_members.lo time_members.lo basic_file.lo
c++locale.lo allocator-inst.lo concept-inst.lo ext-inst.lo fstream-inst.lo
ios-inst.lo iostream-inst.lo istream-inst.lo locale-inst.lo misc-inst.lo
ostream-inst.lo sstream-inst.lo streambuf-inst.lo string-inst.lo
wlocale-inst.lo wstring-inst.lo  parallel_settings.lo
compatibility-parallel_list.lo compatibility-parallel_list-2.lo 
../libsupc++/libsupc++convenience.la
libtool: link: /opt/gcc/build_w/./gcc/xgcc -shared-libgcc
-B/opt/gcc/build_w/./gcc -nostdinc++
-L/opt/gcc/build_w/x86_64-apple-darwin10.7.0/i386/libstdc++-v3/src
-L/opt/gcc/build_w/x86_64-apple-darwin10.7.0/i386/libstdc++-v3/src/.libs
-B/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/bin/
-B/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/lib/ -isystem
/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/include -isystem
/opt/gcc/gcc4.7w/x86_64-apple-darwin10.7.0/sys-include  -m32 -dynamiclib
-Wl,-undefined -Wl,dynamic_lookup -o .libs/libstdc++.6.dylib  .libs/atomic.o
.libs/bitmap_allocator.o .libs/pool_allocator.o .libs/mt_allocator.o
.libs/codecvt.o .libs/compatibility.o .libs/compatibility-c++0x.o
.libs/compatibility-debug_list.o .libs/compatibility-debug_list-2.o
.libs/compatibility-list.o .libs/compatibility-list-2.o .libs/complex_io.o
.libs/ctype.o .libs/debug.o .libs/functexcept.o .libs/functional.o
.libs/globals_io.o .libs/hash_c++0x.o .libs/hash_tr1.o .libs/hashtable_c++0x.o
.libs/hashtable_tr1.o .libs/ios.o .libs/ios_failure.o .libs/ios_init.o
.libs/ios_locale.o .libs/limits.o .libs/list.o .libs/locale.o
.libs/locale_init.o .libs/locale_facets.o .libs/localename.o
.libs/math_stubs_float.o .libs/math_stubs_long_double.o .libs/stdexcept.o
.libs/strstream.o .libs/system_error.o .libs/tree.o .libs/istream.o
.libs/placeholders.o .libs/regex.o .libs/shared_ptr.o .libs/streambuf.o
.libs/mutex.o .libs/condition_variable.o .libs/chrono.o .libs/thread.o
.libs/future.o .libs/valarray.o .libs/atomicity.o .libs/codecvt_members.o
.libs/collate_members.o .libs/ctype_configure_char.o .libs/ctype_members.o
.libs/messages_members.o .libs/monetary_members.o .libs/numeric_members.o
.libs/time_members.o .libs/basic_file.o .libs/c++locale.o
.libs/allocator-inst.o .libs/concept-inst.o .libs/ext-inst.o
.libs/fstream-inst.o .libs/ios-inst.o .libs/iostream-inst.o
.libs/istream-inst.o .libs/locale-inst.o .libs/misc-inst.o .libs/ostream-inst.o
.libs/sstream-inst.o .libs/streambuf-inst.o .libs/string-inst.o
.libs/wlocale-inst.o .libs/wstring-inst.o .libs/parallel_settings.o
.libs/compatibility-parallel_list.o .libs/compatibility-parallel_list-2.o  
-Wl,-force_load,../libsupc++/.libs/libsupc++convenience.a 
-L/opt/gcc/build_w/x86_64-apple-darwin10.7.0/i386/libstdc++-v3/src
-L/opt/gcc/build_w/x86_64-apple-darwin10.7.0/i386/libstdc++-v3/src/.libs -lm 
-m32 -Wl,-single_module -m32 -Wl,-exported_symbols_list
-Wl,libstdc++-symbols.explist   -install_name 
/opt/gcc/gcc4.7w/lib/i386/libstdc++.6.dylib -compatibility_version 7
-current_version 7.16 -Wl,-single_module
ld: warning: cannot export hidden symbol std::basic_stringbuf<char,
std::char_traits<char>, std::allocator<char> >::~basic_stringbuf() from
.libs/complex_io.o
ld: warning: cannot export hidden symbol std::basic_stringbuf<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_stringbuf() from
.libs/complex_io.o
ld: warning: cannot export hidden symbol std::ctype<char>::do_widen(char) const
from .libs/ctype.o
ld: warning: cannot export hidden symbol std::ctype<char>::do_narrow(char,
char) const from .libs/ctype.o
ld: warning: cannot export hidden symbol std::ctype<char>::do_narrow(char
const*, char const*, char, char*) const from .libs/ctype.o
ld: warning: cannot export hidden symbol std::ctype<char>::do_widen(char
const*, char const*, char*) const from .libs/ctype.o
ld: warning: cannot export hidden symbol __gnu_cxx::stdio_sync_filebuf<wchar_t,
std::char_traits<wchar_t> >::~stdio_sync_filebuf() from .libs/misc-inst.o
ld: warning: cannot export hidden symbol __gnu_cxx::stdio_sync_filebuf<wchar_t,
std::char_traits<wchar_t> >::xsputn(wchar_t const*, int) from .libs/misc-inst.o
ld: warning: cannot export hidden symbol __gnu_cxx::stdio_sync_filebuf<wchar_t,
std::char_traits<wchar_t> >::xsgetn(wchar_t*, int) from .libs/misc-inst.o
ld: warning: cannot export hidden symbol __gnu_cxx::stdio_sync_filebuf<char,
std::char_traits<char> >::xsputn(char const*, int) from .libs/misc-inst.o
ld: warning: cannot export hidden symbol __gnu_cxx::stdio_sync_filebuf<char,
std::char_traits<char> >::xsgetn(char*, int) from .libs/misc-inst.o
ld: warning: cannot export hidden symbol __gnu_cxx::stdio_sync_filebuf<char,
std::char_traits<char> >::~stdio_sync_filebuf() from .libs/misc-inst.o
ld: warning: cannot export hidden symbol __gnu_cxx::stdio_sync_filebuf<char,
std::char_traits<char> >::~stdio_sync_filebuf() from .libs/misc-inst.o
ld: warning: cannot export hidden symbol __gnu_cxx::stdio_sync_filebuf<wchar_t,
std::char_traits<wchar_t> >::~stdio_sync_filebuf() from .libs/misc-inst.o
ld: warning: cannot export hidden symbol std::basic_stringbuf<char,
std::char_traits<char>, std::allocator<char> >::~basic_stringbuf() from
.libs/sstream-inst.o
ld: warning: cannot export hidden symbol std::basic_stringbuf<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_stringbuf() from
.libs/sstream-inst.o
ld: warning: cannot export hidden symbol
__cxxabiv1::__pbase_type_info::__pointer_catch(__cxxabiv1::__pbase_type_info
const*, void**, unsigned int) const from
../libsupc++/.libs/libsupc++convenience.a(pbase_type_info.o)
...
make: *** [all] Error 2

Is it a new PR or a sequel of a wrong patch?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]