This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

PATCH: i386-unknown-freebsd4.6 baseline and shell portability


OK, simple fix for portability first.  The local bash manual page
mentioned the exact semantic meaning of '>& word' is '>word 2>&1'.
The latter means the same in classic Bourne shell and Korn shell.  The
former came into bash from csh.

Next, add baseline for i386-unknown-freebsd4.6 as requested (not shown
in this post due to size).  Tested on i386-unknown-freebsd4.6 in
already bootstrapped tree and installed on mainline as obvious.  For
the record (same difference as i686-pc-linux-gnu):

0 added symbols 
3 missing symbols 
        _ZNSt24__default_alloc_templateILb1ELi0EE10reallocateEPvjj
        _ZSt24__uninitialized_copy_auxIN9__gnu_cxx17__normal_iteratorIPKSsSt6vectorISsSaISsEEEEPSsET0_T_SA_S9_12__false_type
        _ZSt26__uninitialized_fill_n_auxIPSsjSsET_S1_T0_RKT1_12__false_type
0 incompatible symbols 

	* testsuite/abi_check.cc: Enhance shell portability.
	* config/abi/i386-unknown-freebsd4.6: Add.
	* config/abi/i386-unknown-freebsd4.6/baseline_symbols.txt: New file.

Index: testsuite/abi_check.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/abi_check.cc,v
retrieving revision 1.1
diff -c -r1.1 abi_check.cc
*** testsuite/abi_check.cc	22 Aug 2002 20:06:01 -0000	1.1
--- testsuite/abi_check.cc	23 Aug 2002 01:31:29 -0000
***************
*** 244,250 ****
        << bslash << "n" << quote << ", $4, $8; else if ($4 == " 
        << quote << "OBJECT" << quote << ") printf " << quote
        << "%s:%s:%s" << bslash << "n" << quote << ", $4, $3, $8;}' | "
!       << "sort >& " << test_file;
    if (system(cmd.str().c_str()) != 0)
      {
        cerr << "Unable to generate the list of exported symbols." << endl;
--- 244,250 ----
        << bslash << "n" << quote << ", $4, $8; else if ($4 == " 
        << quote << "OBJECT" << quote << ") printf " << quote
        << "%s:%s:%s" << bslash << "n" << quote << ", $4, $3, $8;}' | "
!       << "sort > " << test_file << " 2>&1";
    if (system(cmd.str().c_str()) != 0)
      {
        cerr << "Unable to generate the list of exported symbols." << endl;


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