gcc/libstdc++-v3/libsupc++
Benjamin Kosnik ac6d1200be re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++)
2012-09-18  Benjamin Kosnik  <bkoz@redhat.com>

        PR libstdc++/28811
        PR libstdc++/54482
        * configure.ac (glibcxx_lt_pic_flag,
          glibcxx_compiler_pic_flag,
          glibcxx_compiler_shared_flag): New. Use them.
        (lt_prog_compiler_pic_CXX): Set via glibcxx_*_flag(s) above.
        (pic_mode): Set to default.
        (PIC_CXXFLAGS): Remove.
        * Makefile.am (PICFLAG, PICFLAG_FOR_TARGET): Remove. Comment.
        * libsupc++/Makefile.am: Use glibcxx_ld_pic_flag and
          glibcxx_compiler_shared_flag. Comment.
        * src/c++11/Makefile.am: Same.
        * src/c++98/Makefile.am: Same.
        * src/Makefile.am: Use glibcxx_compiler_pic_flag.

        * Makefile.in: Regenerated.
        * aclocal.m4: Same.
        * configure: Same.
        * doc/Makefile.in: Same.
        * include/Makefile.in: Same.
        * libsupc++/Makefile.in: Same.
        * po/Makefile.in: Same.
        * python/Makefile.in: Same.
        * src/Makefile.in: Same.
        * src/c++11/Makefile.in: Same.
        * src/c++98/Makefile.in: Same.
        * testsuite/Makefile.in: Same.

        * src/c++11/compatibility-atomic-c++0x.cc: Use
          _GLIBCXX_SHARED instead of PIC to designate shared-only
          code blocks.
        * src/c++11/compatibility-c++0x.cc: Same.
        * src/c++11/compatibility-thread-c++0x.cc: Same.
        * src/c++98/compatibility-list-2.cc: Same.
        * src/c++98/compatibility.cc: : Same.

        * testsuite/17_intro/shared_with_static_deps.cc: New.

        * doc/xml/manual/build_hacking.xml: Separate configure from
        make/build issues, add build details.

From-SVN: r191509
2012-09-20 02:10:22 +00:00
..
array_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
atexit_arm.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
atomic_lockfree_defines.h acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Remove size-specific macros. 2011-12-01 02:20:32 +00:00
bad_alloc.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
bad_cast.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
bad_typeid.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
class_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
cxxabi_forced.h re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
cxxabi.h re PR target/51135 (SIGSEGV during exception cleanup on win32) 2011-12-16 19:43:06 +01:00
del_op.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
del_opnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
del_opv.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
del_opvnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
dyncast.cc vmi_class_type_info.cc (__do_dyncast): Use src2dst hint to defer searching bases that don't overlap the desired address. 2009-07-06 18:13:51 -04:00
eh_alloc.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_arm.cc arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. 2011-09-13 12:48:33 +00:00
eh_aux_runtime.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
eh_call.cc arm.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. 2011-09-13 12:48:33 +00:00
eh_catch.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_exception.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
eh_globals.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_personality.cc eh_personality.cc (__gxx_personality_seh0): New function. 2012-07-19 07:29:24 +00:00
eh_ptr.cc PR libstdc++/51798 continued. 2012-02-10 18:20:43 +00:00
eh_term_handler.cc re PR libstdc++/43852 (Embedded systems friendly libstdc++) 2012-09-10 00:08:48 +01:00
eh_terminate.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
eh_throw.cc PR libstdc++/51798 continued. 2012-02-10 18:20:43 +00:00
eh_tm.cc PR libstdc++/51798 continued. 2012-02-10 18:20:43 +00:00
eh_type.cc re PR libstdc++/49818 (libsupc++ does not export __cxa_get_globals or related functions) 2011-10-10 19:03:39 +00:00
eh_unex_handler.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
enum_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
exception re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
exception_defines.h re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
exception_ptr.h re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
function_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
fundamental_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
guard_error.cc re PR libstdc++/43863 (Unused recursive_init_error class defined with -fno-exceptions) 2011-02-09 23:22:27 +00:00
guard.cc re PR libstdc++/54172 (__cxa_guard_acquire thread-safety issue) 2012-09-11 17:22:54 +02:00
hash_bytes.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
hash_bytes.h PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00
initializer_list initializer_list: Do not declare anything if __GXX_EXPERIMENTAL_CXX0X__ is not defined. 2011-12-05 23:16:16 +00:00
Makefile.am re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) 2012-09-20 02:10:22 +00:00
Makefile.in re PR libstdc++/28811 (--with-pic vs static libraries and libstdc++) 2012-09-20 02:10:22 +00:00
nested_exception.cc re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
nested_exception.h re PR libstdc++/51438 (std::exception and derived classes are not compatible with std::nested_exception and C++11 in general) 2011-12-06 20:03:25 +00:00
new re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_handler.cc re PR libstdc++/44647 (std::nothrow and std::bad_alloc are coupled) 2010-10-05 09:41:57 +00:00
new_op.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_opnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_opv.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
new_opvnt.cc re PR c++/50594 (Option -fwhole-program discards replaced new operator for std::string) 2011-10-12 18:40:58 +00:00
pbase_type_info.cc ios_locale.cc: Fixes for -pedantic. 2010-02-17 05:43:24 +00:00
pmem_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
pointer_type_info.cc ios_locale.cc: Fixes for -pedantic. 2010-02-17 05:43:24 +00:00
pure.cc re PR libstdc++/43852 (Embedded systems friendly libstdc++) 2012-09-10 00:08:48 +01:00
si_class_type_info.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
tinfo2.cc re PR libstdc++/52562 ([C++11] Most type_info functions not noexcept) 2012-03-12 15:12:40 +00:00
tinfo.cc re PR libstdc++/52562 ([C++11] Most type_info functions not noexcept) 2012-03-12 15:12:40 +00:00
tinfo.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
typeinfo re PR libstdc++/52562 ([C++11] Most type_info functions not noexcept) 2012-03-12 15:12:40 +00:00
unwind-cxx.h re PR target/51135 (SIGSEGV during exception cleanup on win32) 2011-12-16 19:43:06 +01:00
vec.cc re PR libstdc++/36104 (gnu-versioned-namespace is broken) 2011-01-15 00:27:10 +00:00
vmi_class_type_info.cc vmi_class_type_info.cc (__do_dyncast): Use src2dst hint to defer searching bases that don't overlap the desired address. 2009-07-06 18:13:51 -04:00
vterminate.cc PR libstdc++/36104 part four 2011-01-30 22:39:36 +00:00