[Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references

2007-01-25 Thread bkoz at gcc dot gnu dot org


--- Comment #11 from bkoz at gcc dot gnu dot org  2007-01-25 15:30 ---
Subject: Bug 29722

Author: bkoz
Date: Thu Jan 25 15:30:32 2007
New Revision: 121175

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=121175
Log:
2007-01-24  Benjamin Kosnik  [EMAIL PROTECTED]

PR libstdc++/29722 continued
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add
libsupc++ library directory.
* testsuite/abi/cxx_runtime_only_linkage.cc: Remove hard-coded
path specification.


Modified:
branches/gcc-4_2-branch/libstdc++-v3/ChangeLog
   
branches/gcc-4_2-branch/libstdc++-v3/testsuite/abi/cxx_runtime_only_linkage.cc
branches/gcc-4_2-branch/libstdc++-v3/testsuite/lib/libstdc++.exp


-- 


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



[Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references

2007-01-24 Thread bkoz at gcc dot gnu dot org


--- Comment #8 from bkoz at gcc dot gnu dot org  2007-01-24 13:58 ---

Ooops. Yep, I'll try to fix this.


-- 


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



[Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references

2007-01-24 Thread bkoz at gcc dot gnu dot org


--- Comment #9 from bkoz at gcc dot gnu dot org  2007-01-24 14:40 ---
Created an attachment (id=12949)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12949action=view)
multilib patch


Hey Paolo, can you try this please?


-- 


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



[Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references

2007-01-24 Thread bkoz at gcc dot gnu dot org


--- Comment #10 from bkoz at gcc dot gnu dot org  2007-01-24 15:04 ---
Subject: Bug 29722

Author: bkoz
Date: Wed Jan 24 15:03:40 2007
New Revision: 121117

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=121117
Log:
2007-01-24  Benjamin Kosnik  [EMAIL PROTECTED]

PR libstdc++/29722 continued
* testsuite/lib/libstdc++.exp (v3_target_compile_as_c): Add
libsupc++ library directory.
* testsuite/abi/cxx_runtime_only_linkage.cc: Remove hard-coded
path specification.


Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/testsuite/abi/cxx_runtime_only_linkage.cc
trunk/libstdc++-v3/testsuite/lib/libstdc++.exp


-- 


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



[Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references

2007-01-21 Thread pcarlini at suse dot de


--- Comment #7 from pcarlini at suse dot de  2007-01-21 16:39 ---
Benjamin, I'm noticing that the hard-coded path on top of the new
cxx_runtime_only_linkage.cc test doesn't play well with multilib and fails at
link-time, see, e.g., for unix/-m32 on x86_64-linux:

  http://gcc.gnu.org/ml/gcc-testresults/2007-01/msg00722.html

This is the error I'm seeing, can we do something about it?

/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible ../libsupc++/.libs/libsupc++.a when searching for
-lsupc++

/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
cannot find -lsupc++

collect2: ld returned 1 exit status

compiler exited with status 1
output is:
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
skipping incompatible ../libsupc++/.libs/libsupc++.a when searching for
-lsupc++

/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
cannot find -lsupc++

collect2: ld returned 1 exit status


-- 

pcarlini at suse dot de changed:

   What|Removed |Added

 CC||pcarlini at suse dot de


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



[Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #7 from chaoyingfu at gcc dot gnu dot org  2006-12-01 00:35 
---
Subject: Bug 29722

Author: chaoyingfu
Date: Fri Dec  1 00:32:38 2006
New Revision: 119391

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119391
Log:
Merged revisions 118545-118650 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118545 | burnus | 2006-11-07 05:27:53 -0800 (Tue, 07 Nov 2006) | 29 lines

  fortran/
  2006-11-06  Tobias Burnus  [EMAIL PROTECTED]

  PR fortran/29601
  * symbol.c (check_conflict, gfc_add_volatile): Add volatile support.
  * decl.c (match_attr_spec, gfc_match_volatile): Add volatile support.
  * gfortran.h (symbol_attribute): Add volatile_ to struct.
  * resolve.c (was_declared): Add volatile support.
  * trans-decl.c (gfc_finish_var_decl): Add volatile support.
  * match.h: Declare gfc_match_volatile.
  * parse.c (decode_statement): Recognize volatile.
  * modules.c (ab_attribute, attr_bits, mio_symbol_attribute):
Add volatile support.
  * dump-parse-tree.c (gfc_show_attr): Add volatile support.


  testsuite/
  2006-11-06  Tobias Burnus  [EMAIL PROTECTED]

  PR fortran/29601
  * gfortran.dg/volatile.f90: Add.
  * gfortran.dg/volatile2.f90: Add.
  * gfortran.dg/volatile3.f90: Add.
  * gfortran.dg/volatile4.f90: Add.
  * gfortran.dg/volatile5.f90: Add.
  * gfortran.dg/volatile6.f90: Add.
  * gfortran.dg/volatile7.f90: Add.

  r118546 | davidu | 2006-11-07 06:08:55 -0800 (Tue, 07 Nov 2006) | 3 lines

* config/mips/mips.h (ISA_HAS_PREFETCHX): Add ISA_MIPS32R2 to the
list.

  r118547 | jiez | 2006-11-07 06:24:58 -0800 (Tue, 07 Nov 2006) | 3 lines

* gcc.c (process_command): Treat -b as normal switch if its argument
has no dash.

  r118550 | davidu | 2006-11-07 06:28:08 -0800 (Tue, 07 Nov 2006) | 5 lines

* config/mips/mips.c (mips_rtx_cost_optimize_size): New table of
costs when optimizing for size.
(override_options): Use mips_rtx_cost_optimize_size table for cost
calculations.

  r118552 | jules | 2006-11-07 07:16:07 -0800 (Tue, 07 Nov 2006) | 6 lines

* floatformat.c (get_field): Fix segfault with little-endian word
order on 64-bit hosts.
(put_field): Likewise.
(min): Move definition.

  r118553 | pault | 2006-11-07 07:17:17 -0800 (Tue, 07 Nov 2006) | 17 lines

  2006-11-07 Paul Thomas [EMAIL PROTECTED]

PR fortran/29539
PR fortran/29634
* decl.c (variable_decl): Add test for presence of proc_name.
* error.c (gfc_error_flag_test): New function.
* gfortran.h : Prototype for gfc_error_flag_test.

  2006-11-07 Paul Thomas [EMAIL PROTECTED]

PR fortran/29539
* gfortran.dg/gfortran.dg/blockdata_3.f90: New test.

PR fortran/29634
* gfortran.dg/gfortran.dg/derived_function_interface_1.f90: New
test.

  r118554 | bkoz | 2006-11-07 08:55:49 -0800 (Tue, 07 Nov 2006) | 49 lines

  2006-11-07  Benjamin Kosnik  [EMAIL PROTECTED]

* include/ext/pb_ds/exception.hpp (pb_ds): Modify for -fno-exceptions.
(__throw_container_error): New. Conditionalize based on __EXCEPTIONS.
(__throw_insert_error): New.
(__throw_join_error): New.
(__throw_resize_error): New.
* include/ext/pb_ds/detail/resize_policy/
hash_prime_size_policy_imp.hpp: Use them.
* include/ext/pb_ds/detail/resize_policy/
hash_exponential_size_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_standard_resize_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp
* include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp
* include/ext/pb_ds/detail/pat_trie_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/
split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_no_store_hash_fn_imps.hpp: Same.

[Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references

2006-11-08 Thread bkoz at gcc dot gnu dot org


--- Comment #4 from bkoz at gcc dot gnu dot org  2006-11-08 11:58 ---
Subject: Bug 29722

Author: bkoz
Date: Wed Nov  8 11:57:52 2006
New Revision: 118581

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=118581
Log:
2006-11-07  Benjamin Kosnik  [EMAIL PROTECTED]

PR libstdc++/29722
* include/ext/concurrence.h (concurrence_lock_error): New.
(concurrence_unlock_error): New.
(__throw_concurrence_lock_error): New.
(__throw_concurrence_unlock_error): New.
(__mutex): Use functions.
(__recursive_mutex): Same.
* testsuite/abi/cxx_runtime_only_linkage.cc: New.

* include/ext/pb_ds/exception.hpp: Keep exception classes defined
even when -fno-exceptions is passed, consistent with other usage.

2006-11-07  Benjamin Kosnik  [EMAIL PROTECTED]

* include/ext/pb_ds/exception.hpp (pb_ds): Modify for -fno-exceptions.
(__throw_container_error): New. Conditionalize based on __EXCEPTIONS.
(__throw_insert_error): New.
(__throw_join_error): New.
(__throw_resize_error): New.
* include/ext/pb_ds/detail/resize_policy/
hash_prime_size_policy_imp.hpp: Use them.
* include/ext/pb_ds/detail/resize_policy/
hash_exponential_size_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp: Same.
* include/ext/pb_ds/detail/resize_policy/
hash_standard_resize_policy_imp.hpp: Same.
* include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp
* include/ext/pb_ds/detail/cc_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/pat_trie_/insert_join_fn_imps.hpp
* include/ext/pb_ds/detail/pat_trie_/split_join_branch_bag.hpp
* include/ext/pb_ds/detail/pat_trie_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/bin_search_tree_/
split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
insert_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/gp_hash_table_map_/
resize_no_store_hash_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/left_child_next_sibling_heap_/
constructors_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/ov_tree_map_/split_join_fn_imps.hpp: Same.
* include/ext/pb_ds/detail/list_update_map_/
constructor_destructor_fn_imps.hpp: Same.
* include/ext/pb_ds/exception.hpp: Same.
* src/functexcept.cc: Qualify abort with std.

2006-11-07  Benjamin Kosnik  [EMAIL PROTECTED]

* include/ext/pb_ds/exception.hpp: Add translation support to
exception strings.
* include/ext/concurrence.h: Same.
* include/tr1/array: Same.


Added:
   
branches/gcc-4_2-branch/libstdc++-v3/testsuite/abi/cxx_runtime_only_linkage.cc
Modified:
branches/gcc-4_2-branch/libstdc++-v3/ChangeLog
branches/gcc-4_2-branch/libstdc++-v3/include/ext/concurrence.h
   
branches/gcc-4_2-branch/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp
   
branches/gcc-4_2-branch/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/split_join_fn_imps.hpp
   
branches/gcc-4_2-branch/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/constructors_destructor_fn_imps.hpp
   
branches/gcc-4_2-branch/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/split_join_fn_imps.hpp
   
branches/gcc-4_2-branch/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/constructor_destructor_fn_imps.hpp
   
branches/gcc-4_2-branch/libstdc++-v3/include/ext/pb_ds/detail/cc_hash_table_map_/resize_fn_imps.hpp
   
branches/gcc-4_2-branch/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/constructor_destructor_fn_imps.hpp
   
branches/gcc-4_2-branch/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/insert_no_store_hash_fn_imps.hpp
   
branches/gcc-4_2-branch/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/insert_store_hash_fn_imps.hpp
   
branches/gcc-4_2-branch/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/resize_fn_imps.hpp
   
branches/gcc-4_2-branch/libstdc++-v3/include/ext/pb_ds/detail/gp_hash_table_map_/resize_no_store_hash_fn_imps.hpp
   

[Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references

2006-11-08 Thread bkoz at gcc dot gnu dot org


--- Comment #5 from bkoz at gcc dot gnu dot org  2006-11-08 11:58 ---

Fixed in mainline/gcc-4_2-branch.


-- 

bkoz at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.2.0


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



[Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references

2006-11-08 Thread bkoz at gcc dot gnu dot org


--- Comment #6 from bkoz at gcc dot gnu dot org  2006-11-08 11:58 ---

Fixed.


-- 

bkoz at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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



[Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references

2006-11-07 Thread bkoz at gcc dot gnu dot org


--- Comment #3 from bkoz at gcc dot gnu dot org  2006-11-07 18:36 ---
Subject: Bug 29722

Author: bkoz
Date: Tue Nov  7 18:36:32 2006
New Revision: 118564

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=118564
Log:
2006-11-07  Benjamin Kosnik  [EMAIL PROTECTED]

PR libstdc++/29722
* include/ext/concurrence.h (concurrence_lock_error): New.
(concurrence_unlock_error): New.
(__throw_concurrence_lock_error): New.
(__throw_concurrence_unlock_error): New.
(__mutex): Use functions.
(__recursive_mutex): Same.
* testsuite/abi/cxx_runtime_only_linkage.cc: New.

* include/ext/pb_ds/exception.hpp: Keep exception classes defined
even when -fno-exceptions is passed, consistent with other usage.


Added:
trunk/libstdc++-v3/testsuite/abi/cxx_runtime_only_linkage.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/ext/concurrence.h
trunk/libstdc++-v3/include/ext/pb_ds/exception.hpp


-- 


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



[Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references

2006-11-06 Thread bkoz at gcc dot gnu dot org


-- 

bkoz at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |bkoz at gcc dot gnu dot org
   |dot org |
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2006-11-06 11:10:02
   date||


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



[Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references

2006-11-06 Thread bkoz at gcc dot gnu dot org


--- Comment #2 from bkoz at gcc dot gnu dot org  2006-11-06 11:11 ---

I'm on it.


-- 


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



[Bug libstdc++/29722] Linking with libsupc++.a creates link time undefined references

2006-11-05 Thread pcarlini at suse dot de


--- Comment #1 from pcarlini at suse dot de  2006-11-05 10:17 ---
Benjamin, can you have a look? I can reproduce, the issue seems confirmed.


-- 

pcarlini at suse dot de changed:

   What|Removed |Added

 CC||bkoz at redhat dot com


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