public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/10100: [3.4 regression] bootstrap failure on mips-irix6.5 compiling libsupc++/eh_aux_runtime.cc
@ 2003-04-05  4:03 billingd
  0 siblings, 0 replies; 5+ messages in thread
From: billingd @ 2003-04-05  4:03 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, ghazi, jason, mark, nobody

Synopsis: [3.4 regression] bootstrap failure on mips-irix6.5 compiling libsupc++/eh_aux_runtime.cc

State-Changed-From-To: open->closed
State-Changed-By: billingd
State-Changed-When: Sat Apr  5 04:03:43 2003
State-Changed-Why:
    Patch reverted.  Successful bootstrap on irix6.5
    http://gcc.gnu.org/ml/gcc-testresults/2003-04/msg00239.html
    http://gcc.gnu.org/ml/gcc-testresults/2003-04/msg00245.html

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10100


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: c++/10100: [3.4 regression] bootstrap failure on mips-irix6.5 compiling libsupc++/eh_aux_runtime.cc
@ 2003-03-21 20:26 Kaveh R. Ghazi
  0 siblings, 0 replies; 5+ messages in thread
From: Kaveh R. Ghazi @ 2003-03-21 20:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/10100; it has been noted by GNATS.

From: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
To: ro@TechFak.Uni-Bielefeld.DE
Cc: David.Billinghurst@riotinto.com, Franz.Sirl-kernel@lauterbach.com,
        gcc-gnats@gcc.gnu.org, jason@redhat.com, mark@codesourcery.com
Subject: Re: c++/10100: [3.4 regression] bootstrap failure on mips-irix6.5 compiling libsupc++/eh_aux_runtime.cc
Date: Fri, 21 Mar 2003 15:24:17 -0500 (EST)

  > From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
  > 
  > > The failure occurs building libsupc++/eh_aux_runtime.cc:
  > > libsupc++/eh_aux_runtime.cc:42: error: weak
  > >    declaration of `std::exception::exception(const std::exception&)' must
  > >    precede definition
  > > libsupc++/eh_aux_runtime.cc:42: error: weak
  > >    declaration of `std::bad_cast::bad_cast(const std::bad_cast&)' must precede
  > >    definition
  > > libsupc++/eh_aux_runtime.cc:52: error: weak
  > >    declaration of `std::bad_typeid::bad_typeid(const std::bad_typeid&)' must
  > >    precede definition
  > > make[4]: *** [eh_aux_runtime.lo] Error 1
  > 
  > the same problem (PR bootstrap/10053) also affects Tru64 UNIX.  David
  > Billinghurst already identified the culprit:
  > 	http://gcc.gnu.org/ml/gcc-bugs/2003-03/msg00676.html
  > 	http://gcc.gnu.org/ml/gcc-bugs/2003-03/msg00687.html
  > 	Rainer
 
 
 I'm still getting this crash on irix6 as of last night's checkout.
 
 Franz - would you please take a look, and/or consider reverting your
 patch until we can figure out what's wrong?  Bootstrap has been broken
 for over a week now.  See PRs 10100 and 10053.
 
 Thanks.
 --
 Kaveh R. Ghazi			ghazi@caip.rutgers.edu


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: c++/10100: [3.4 regression] bootstrap failure on mips-irix6.5 compiling libsupc++/eh_aux_runtime.cc
@ 2003-03-17 13:06 Rainer Orth
  0 siblings, 0 replies; 5+ messages in thread
From: Rainer Orth @ 2003-03-17 13:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/10100; it has been noted by GNATS.

From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
To: ghazi@caip.rutgers.edu
Cc: gcc-gnats@gcc.gnu.org, mark@codesourcery.com, jason@redhat.com
Subject: Re: c++/10100: [3.4 regression] bootstrap failure on mips-irix6.5 compiling libsupc++/eh_aux_runtime.cc
Date: 17 Mar 2003 14:03:25 +0100

 ghazi@caip.rutgers.edu writes:
 
 > >Number:         10100
 > >Category:       c++
 > >Synopsis:       [3.4 regression] bootstrap failure on mips-irix6.5 compiling libsupc++/eh_aux_runtime.cc
 > >Confidential:   no
 > >Severity:       critical
 > >Priority:       medium
 > >Responsible:    unassigned
 > >State:          open
 > >Class:          rejects-legal
 > >Submitter-Id:   net
 > >Arrival-Date:   Sat Mar 15 16:46:01 UTC 2003
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Kaveh Ghazi
 > >Release:        gcc 3.4 20030315 (experimental)
 > >Organization:
 > >Environment:
 > mips-sgi-irix6.5
 > 
 > >Description:
 > Sometime after March 9th, I'm getting a bootstrap failure on mips-sgi-irix6.5.  The last successful testsuite result was here:
 > http://gcc.gnu.org/ml/gcc-testresults/2003-03/msg00574.html
 > 
 > The failure occurs building libsupc++/eh_aux_runtime.cc:
 > 
 > libsupc++/eh_aux_runtime.cc:42: error: weak
 >    declaration of `std::exception::exception(const std::exception&)' must
 >    precede definition
 > libsupc++/eh_aux_runtime.cc:42: error: weak
 >    declaration of `std::bad_cast::bad_cast(const std::bad_cast&)' must precede
 >    definition
 > libsupc++/eh_aux_runtime.cc:52: error: weak
 >    declaration of `std::bad_typeid::bad_typeid(const std::bad_typeid&)' must
 >    precede definition
 > make[4]: *** [eh_aux_runtime.lo] Error 1
 
 the same problem (PR bootstrap/10053) also affects Tru64 UNIX.  David
 Billinghurst already identified the culprit:
 
 	http://gcc.gnu.org/ml/gcc-bugs/2003-03/msg00676.html
 	http://gcc.gnu.org/ml/gcc-bugs/2003-03/msg00687.html
 
 	Rainer


^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: c++/10100: [3.4 regression] bootstrap failure on mips-irix6.5 compiling libsupc++/eh_aux_runtime.cc
@ 2003-03-16 10:06 Billinghurst, David (CRTS)
  0 siblings, 0 replies; 5+ messages in thread
From: Billinghurst, David (CRTS) @ 2003-03-16 10:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/10100; it has been noted by GNATS.

From: "Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com>
To: <ghazi@caip.rutgers.edu>,
	<gcc-gnats@gcc.gnu.org>
Cc: <mark@codesourcery.com>
Subject: RE: c++/10100: [3.4 regression] bootstrap failure on mips-irix6.5 compiling libsupc++/eh_aux_runtime.cc 
Date: Sun, 16 Mar 2003 20:58:21 +1100

 The regression was introduced by this change
 
 2003-03-09  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
 
         * varasm.c (make_decl_one_only): Use declare_weak().
 
 http://gcc.gnu.org/ml/gcc-patches/2003-03/msg00720.html
 
 
 See also bootstrap/10053: weak declaration must precede definition =
 errors on OSF 4.0d in libsupc++


^ permalink raw reply	[flat|nested] 5+ messages in thread

* c++/10100: [3.4 regression] bootstrap failure on mips-irix6.5 compiling libsupc++/eh_aux_runtime.cc
@ 2003-03-15 16:46 ghazi
  0 siblings, 0 replies; 5+ messages in thread
From: ghazi @ 2003-03-15 16:46 UTC (permalink / raw)
  To: gcc-gnats; +Cc: mark, jason


>Number:         10100
>Category:       c++
>Synopsis:       [3.4 regression] bootstrap failure on mips-irix6.5 compiling libsupc++/eh_aux_runtime.cc
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 15 16:46:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kaveh Ghazi
>Release:        gcc 3.4 20030315 (experimental)
>Organization:
>Environment:
mips-sgi-irix6.5

>Description:
Sometime after March 9th, I'm getting a bootstrap failure on mips-sgi-irix6.5.  The last successful testsuite result was here:
http://gcc.gnu.org/ml/gcc-testresults/2003-03/msg00574.html

The failure occurs building libsupc++/eh_aux_runtime.cc:

libsupc++/eh_aux_runtime.cc:42: error: weak
   declaration of `std::exception::exception(const std::exception&)' must
   precede definition
libsupc++/eh_aux_runtime.cc:42: error: weak
   declaration of `std::bad_cast::bad_cast(const std::bad_cast&)' must precede
   definition
libsupc++/eh_aux_runtime.cc:52: error: weak
   declaration of `std::bad_typeid::bad_typeid(const std::bad_typeid&)' must
   precede definition
make[4]: *** [eh_aux_runtime.lo] Error 1


>How-To-Repeat:
Target mips-sgi-irix6.5 and compile eh_aux_runtime.ii with

cc1plus -fpreprocessed eh_aux_runtime.ii -quiet -dumpbase eh_aux_runtime.cc -auxbase-strip eh_aux_runtime.o -g -g -O2 -O2 -Wall -Wno-format -W -Wwrite-strings -Winline -version -fno-implicit-templates -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -o eh_aux_runtime.s

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="eh_aux_runtime.ii"
Content-Disposition: inline; filename="eh_aux_runtime.ii"

# 1 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/eh_aux_runtime.cc"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/eh_aux_runtime.cc"
# 31 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/eh_aux_runtime.cc"
# 1 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/typeinfo" 1
# 38 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/typeinfo"
# 1 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/exception" 1
# 40 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/exception"
extern "C++" {

namespace std
{
# 52 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/exception"
  class exception
  {
  public:
    exception() throw() { }
    virtual ~exception() throw();


    virtual const char* what() const throw();
  };



  class bad_exception : public exception
  {
  public:
    bad_exception() throw() { }


    virtual ~bad_exception() throw();
  };


  typedef void (*terminate_handler) ();

  typedef void (*unexpected_handler) ();


  terminate_handler set_terminate(terminate_handler) throw();


  void terminate() __attribute__ ((__noreturn__));


  unexpected_handler set_unexpected(unexpected_handler) throw();


  void unexpected() __attribute__ ((__noreturn__));
# 100 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/exception"
  bool uncaught_exception() throw();
}

namespace __gnu_cxx
{
# 115 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/exception"
  void __verbose_terminate_handler ();
}

}
# 39 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/typeinfo" 2

extern "C++" {

namespace __cxxabiv1
{
  class __class_type_info;
}
# 55 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/typeinfo"
namespace std
{






  class type_info
  {
  public:




    virtual ~type_info();

  private:

    type_info& operator=(const type_info&);
    type_info(const type_info&);

  protected:
    const char *__name;

  protected:
    explicit type_info(const char *__n): __name(__n) { }

  public:



    const char* name() const
    { return __name; }


    bool before(const type_info& __arg) const;



    bool operator==(const type_info& __arg) const;
# 106 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/typeinfo"
    bool operator!=(const type_info& __arg) const
    { return !operator==(__arg); }


  public:

    virtual bool __is_pointer_p() const;

    virtual bool __is_function_p() const;







    virtual bool __do_catch(const type_info *__thr_type, void **__thr_obj,
                            unsigned __outer) const;


    virtual bool __do_upcast(const __cxxabiv1::__class_type_info *__target,
                             void **__obj_ptr) const;
  };






  class bad_cast : public exception
  {
  public:
    bad_cast() throw() { }


    virtual ~bad_cast() throw();
  };


  class bad_typeid : public exception
  {
  public:
    bad_typeid () throw() { }


    virtual ~bad_typeid() throw();
  };
}

}
# 32 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/eh_aux_runtime.cc" 2

# 1 "/caip/u58/ghazi/gcc-testing/build/mips-sgi-irix6.5/libstdc++-v3/include/cstdlib" 1
# 48 "/caip/u58/ghazi/gcc-testing/build/mips-sgi-irix6.5/libstdc++-v3/include/cstdlib" 3

# 1 "/caip/u58/ghazi/gcc-testing/build/mips-sgi-irix6.5/libstdc++-v3/include/mips-sgi-irix6.5/bits/c++config.h" 1 3
# 35 "/caip/u58/ghazi/gcc-testing/build/mips-sgi-irix6.5/libstdc++-v3/include/mips-sgi-irix6.5/bits/c++config.h" 3
# 1 "/caip/u58/ghazi/gcc-testing/build/mips-sgi-irix6.5/libstdc++-v3/include/mips-sgi-irix6.5/bits/os_defines.h" 1 3
# 36 "/caip/u58/ghazi/gcc-testing/build/mips-sgi-irix6.5/libstdc++-v3/include/mips-sgi-irix6.5/bits/c++config.h" 2 3
# 50 "/caip/u58/ghazi/gcc-testing/build/mips-sgi-irix6.5/libstdc++-v3/include/cstdlib" 2 3
# 1 "/caip/u58/ghazi/gcc-testing/build/mips-sgi-irix6.5/libstdc++-v3/include/cstddef" 1 3
# 47 "/caip/u58/ghazi/gcc-testing/build/mips-sgi-irix6.5/libstdc++-v3/include/cstddef" 3

# 1 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stddef.h" 1 3 4
# 151 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stddef.h" 3 4
typedef int ptrdiff_t;
# 213 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stddef.h" 3 4
typedef unsigned int size_t;
# 49 "/caip/u58/ghazi/gcc-testing/build/mips-sgi-irix6.5/libstdc++-v3/include/cstddef" 2 3

namespace std
{
  using ::ptrdiff_t;
  using ::size_t;
}
# 51 "/caip/u58/ghazi/gcc-testing/build/mips-sgi-irix6.5/libstdc++-v3/include/cstdlib" 2 3

# 1 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stdlib.h" 1 3 4
# 13 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stdlib.h" 3 4
extern "C" {

#ident "$Revision: 1.78 $"
# 43 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stdlib.h" 3 4
# 1 "/usr/include/standards.h" 1 3 4
# 19 "/usr/include/standards.h" 3 4
#ident "$Id: standards.h,v 1.19 1997/12/15 21:30:25 jph Exp $"
# 44 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stdlib.h" 2 3 4
# 1 "/usr/include/sgidefs.h" 1 3 4
# 16 "/usr/include/sgidefs.h" 3 4
extern "C" {


#ident "$Revision: 1.11 $"
# 136 "/usr/include/sgidefs.h" 3 4
typedef int __int32_t;
typedef unsigned __uint32_t;
# 183 "/usr/include/sgidefs.h" 3 4
typedef long long __int64_t;
typedef unsigned long long __uint64_t;
# 219 "/usr/include/sgidefs.h" 3 4
typedef __int32_t __psint_t;
typedef __uint32_t __psunsigned_t;
# 241 "/usr/include/sgidefs.h" 3 4
typedef __int32_t __scint_t;
typedef __uint32_t __scunsigned_t;






}
# 45 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stdlib.h" 2 3 4
# 99 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stdlib.h" 3 4
typedef struct {
         int quot;
         int rem;
        } div_t;

typedef struct {
         long quot;
         long rem;
        } ldiv_t;
# 131 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stdlib.h" 3 4
typedef int ssize_t;
# 162 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stdlib.h" 3 4
# 1 "/usr/include/locale_attr.h" 1 3 4
# 19 "/usr/include/locale_attr.h" 3 4
extern "C" {

#ident "$Revision: 1.4 $"
# 44 "/usr/include/locale_attr.h" 3 4
typedef struct {

    unsigned int _class [ 257 ];
    signed short _lower [ 257 ];
    signed short _upper [ 257 ];

    char _cswidth [ 7 ];
    char _fill [ 1 ];



} __ctype_t;


typedef int (*__isset_func_t)(int);




        typedef long wint_t;






typedef int (*__iscodeset_func_t)(int, wint_t);


typedef struct __attr {

    __ctype_t * _ctype_tbl;

    struct _csinfo {
        unsigned char _eucwidth[3];
        unsigned char _scrwidth[3];
        unsigned char _mb_cur_max;
    } _csinfo;

    struct _euc_func {
        int _is_euc;
        __isset_func_t _isset2;
        __isset_func_t _isset3;
        __iscodeset_func_t _iscodeset;
    } _euc_func;

    struct _collate_res {
        unsigned char _coll_as_cmp;
    } _collate_res;

    void * _fill[15];
} __attr_t;




extern __attr_t __libc_attr;


}
# 163 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stdlib.h" 2 3 4
# 173 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stdlib.h" 3 4
extern double atof(const char *);
extern int atoi(const char *);
extern long int atol(const char *);
extern double strtod(const char *, char **);
extern long int strtol(const char *, char **, int);
extern unsigned long int strtoul(const char *, char **, int);
extern int rand(void);
extern void srand(unsigned int);
extern void *calloc(size_t, size_t);
extern void free(void *);
extern void *malloc(size_t);
extern void *realloc(void *, size_t);







extern void abort(void);
extern int atexit(void (*)(void));
extern void exit(int);




extern char *getenv(const char *);
extern int system(const char *);
extern void *bsearch(const void *, const void *, size_t, size_t,
        int (*)(const void *, const void *));
extern void qsort(void *, size_t, size_t,
        int (*)(const void *, const void *));




inline int abs(int x) {return x > 0 ? x : -x;}
# 219 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stdlib.h" 3 4
extern div_t div(int, int);
extern long int labs(long);




extern ldiv_t ldiv(long, long);
extern int mbtowc(wchar_t *, const char *, size_t);
extern int mblen(const char *, size_t);
extern int wctomb(char *, wchar_t);
extern size_t mbstowcs(wchar_t *, const char *, size_t);
extern size_t wcstombs(char *, const wchar_t *, size_t);



extern int putenv(const char *);
extern double drand48(void);
extern double erand48(unsigned short [3]);
extern long lrand48(void);
extern long nrand48(unsigned short [3]);
extern long mrand48(void);
extern long jrand48(unsigned short [3]);
extern void srand48(long);
extern void lcong48(unsigned short int [7]);
extern void setkey(const char *);
extern unsigned short * seed48(unsigned short int [3]);




extern long a64l(const char *);
extern char *ecvt(double, int, int *, int *);
extern char *fcvt(double, int, int *, int *);
extern char *gcvt(double, int, char *);
extern int getsubopt(char **, char * const *, char **);
extern int grantpt(int);
extern char *initstate(unsigned int, char *, size_t);
extern char *l64a(long);
extern char *mktemp(char *);
extern int mkstemp(char *);
extern char *ptsname(int);
extern long random(void);
extern char *realpath(const char *, char *);
extern char *setstate(const char *);
extern void srandom(unsigned);
extern int ttyslot(void);
extern int unlockpt(int);
extern void *valloc(size_t);







extern int rand_r(unsigned int *);




# 1 "../../../../egcc-CVS20030314/include/getopt.h" 1 3 4
# 27 "../../../../egcc-CVS20030314/include/getopt.h" 3 4
extern "C" {
# 36 "../../../../egcc-CVS20030314/include/getopt.h" 3 4
extern char *optarg;
# 50 "../../../../egcc-CVS20030314/include/getopt.h" 3 4
extern int optind;




extern int opterr;



extern int optopt;
# 82 "../../../../egcc-CVS20030314/include/getopt.h" 3 4
struct option
{

  const char *name;





  int has_arg;
  int *flag;
  int val;
};
# 121 "../../../../egcc-CVS20030314/include/getopt.h" 3 4
extern int getopt_long (int argc, char *const *argv, const char *shortopts,
                        const struct option *longopts, int *longind);
extern int getopt_long_only (int argc, char *const *argv,
                             const char *shortopts,
                             const struct option *longopts, int *longind);


extern int _getopt_internal (int argc, char *const *argv,
                             const char *shortopts,
                             const struct option *longopts, int *longind,
                             int long_only);
# 141 "../../../../egcc-CVS20030314/include/getopt.h" 3 4
}
# 280 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stdlib.h" 2 3 4
extern int atcheckpoint(void (*)(void));
extern int atrestart(void (*)(void));
extern int dup2(int, int);
extern int getpw(int, char *);
extern char *getcwd(char *, size_t);
extern char *getlogin(void);
extern char *getpass(const char *);
extern int isatty(int);
extern void l3tol(long *, const char *, int);
extern void ltol3(char *, const long *, int);
extern void *memalign(size_t, size_t);
# 300 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stdlib.h" 3 4
extern long double atold(const char *);
extern long double strtold(const char *nptr, char **endptr);
extern char *qecvt(long double, int, int *, int *);
extern char *qfcvt(long double, int, int *, int *);
extern char *qgcvt(long double, int, char *);
extern char *ecvtl(long double, int, int *, int *);
extern char *fcvtl(long double, int, int *, int *);
extern char *gcvtl(long double, int, char *);
# 320 "/caip/u58/ghazi/gcc-testing/build/gcc/include/stdlib.h" 3 4
typedef struct {
         __int64_t quot;
         __int64_t rem;
        } lldiv_t;

extern __int64_t atoll(const char *);
extern __int64_t strtoll(const char *, char **, int);
extern __uint64_t strtoull(const char *, char **, int);
extern __int64_t llabs(__int64_t);




extern lldiv_t lldiv(__int64_t, __int64_t);







extern char *ecvt_r(double, int, int *, int *, char *);
extern char *fcvt_r(double, int, int *, int *, char *);

extern char *qecvt_r(long double, int, int *, int *, char *);
extern char *qfcvt_r(long double, int, int *, int *, char *);
extern char *ecvtl_r(long double, int, int *, int *, char *);
extern char *fcvtl_r(long double, int, int *, int *, char *);






}
# 53 "/caip/u58/ghazi/gcc-testing/build/mips-sgi-irix6.5/libstdc++-v3/include/cstdlib" 2 3
# 84 "/caip/u58/ghazi/gcc-testing/build/mips-sgi-irix6.5/libstdc++-v3/include/cstdlib" 3
namespace std
{
  using ::div_t;
  using ::ldiv_t;

  using ::abort;
  using ::abs;
  using ::atexit;
  using ::atof;
  using ::atoi;
  using ::atol;
  using ::bsearch;
  using ::calloc;
  using ::div;
  using ::exit;
  using ::free;
  using ::getenv;
  using ::labs;
  using ::ldiv;
  using ::malloc;
  using ::mblen;
  using ::mbstowcs;
  using ::mbtowc;
  using ::qsort;
  using ::rand;
  using ::realloc;
  using ::srand;
  using ::strtod;
  using ::strtol;
  using ::strtoul;
  using ::system;
  using ::wcstombs;
  using ::wctomb;

  inline long
  abs(long __i) { return labs(__i); }

  inline ldiv_t
  div(long __i, long __j) { return ldiv(__i, __j); }
}
# 34 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/eh_aux_runtime.cc" 2
# 1 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/unwind-cxx.h" 1
# 41 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/unwind-cxx.h"
# 1 "../../../../egcc-CVS20030314/gcc/unwind.h" 1
# 32 "../../../../egcc-CVS20030314/gcc/unwind.h"
extern "C" {






typedef unsigned _Unwind_Word __attribute__((__mode__(__word__)));
typedef signed _Unwind_Sword __attribute__((__mode__(__word__)));



typedef unsigned _Unwind_Ptr __attribute__((__mode__(__pointer__)));

typedef unsigned _Unwind_Internal_Ptr __attribute__((__mode__(__pointer__)));





typedef unsigned _Unwind_Exception_Class __attribute__((__mode__(__DI__)));



typedef enum
{
  _URC_NO_REASON = 0,
  _URC_FOREIGN_EXCEPTION_CAUGHT = 1,
  _URC_FATAL_PHASE2_ERROR = 2,
  _URC_FATAL_PHASE1_ERROR = 3,
  _URC_NORMAL_STOP = 4,
  _URC_END_OF_STACK = 5,
  _URC_HANDLER_FOUND = 6,
  _URC_INSTALL_CONTEXT = 7,
  _URC_CONTINUE_UNWIND = 8
} _Unwind_Reason_Code;
# 76 "../../../../egcc-CVS20030314/gcc/unwind.h"
struct _Unwind_Exception;

typedef void (*_Unwind_Exception_Cleanup_Fn) (_Unwind_Reason_Code,
                                              struct _Unwind_Exception *);

struct _Unwind_Exception
{
  _Unwind_Exception_Class exception_class;
  _Unwind_Exception_Cleanup_Fn exception_cleanup;
  _Unwind_Word private_1;
  _Unwind_Word private_2;




} __attribute__((__aligned__));




typedef int _Unwind_Action;
# 108 "../../../../egcc-CVS20030314/gcc/unwind.h"
struct _Unwind_Context;


extern _Unwind_Reason_Code _Unwind_RaiseException (struct _Unwind_Exception *);



typedef _Unwind_Reason_Code (*_Unwind_Stop_Fn)
     (int, _Unwind_Action, _Unwind_Exception_Class,
      struct _Unwind_Exception *, struct _Unwind_Context *, void *);

extern _Unwind_Reason_Code _Unwind_ForcedUnwind (struct _Unwind_Exception *,
                                                 _Unwind_Stop_Fn,
                                                 void *);


extern void _Unwind_DeleteException (struct _Unwind_Exception *);



extern void _Unwind_Resume (struct _Unwind_Exception *);






extern _Unwind_Word _Unwind_GetGR (struct _Unwind_Context *, int);
extern void _Unwind_SetGR (struct _Unwind_Context *, int, _Unwind_Word);

extern _Unwind_Ptr _Unwind_GetIP (struct _Unwind_Context *);
extern void _Unwind_SetIP (struct _Unwind_Context *, _Unwind_Ptr);

extern void *_Unwind_GetLanguageSpecificData (struct _Unwind_Context *);

extern _Unwind_Ptr _Unwind_GetRegionStart (struct _Unwind_Context *);
# 160 "../../../../egcc-CVS20030314/gcc/unwind.h"
typedef _Unwind_Reason_Code (*_Unwind_Personality_Fn)
     (int, _Unwind_Action, _Unwind_Exception_Class,
      struct _Unwind_Exception *, struct _Unwind_Context *);




struct SjLj_Function_Context;
extern void _Unwind_SjLj_Register (struct SjLj_Function_Context *);
extern void _Unwind_SjLj_Unregister (struct SjLj_Function_Context *);

extern _Unwind_Reason_Code _Unwind_SjLj_RaiseException
     (struct _Unwind_Exception *);
extern _Unwind_Reason_Code _Unwind_SjLj_ForcedUnwind
     (struct _Unwind_Exception *, _Unwind_Stop_Fn, void *);
extern void _Unwind_SjLj_Resume (struct _Unwind_Exception *);
# 198 "../../../../egcc-CVS20030314/gcc/unwind.h"
extern _Unwind_Ptr _Unwind_GetDataRelBase (struct _Unwind_Context *);
extern _Unwind_Ptr _Unwind_GetTextRelBase (struct _Unwind_Context *);




extern void * _Unwind_FindEnclosingFunction (void *pc);


}
# 42 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/unwind-cxx.h" 2

namespace __cxxabiv1
{





struct __cxa_exception
{

  std::type_info *exceptionType;
  void (*exceptionDestructor)(void *);



  std::unexpected_handler unexpectedHandler;
  std::terminate_handler terminateHandler;


  __cxa_exception *nextException;



  int handlerCount;



  int handlerSwitchValue;
  const unsigned char *actionRecord;
  const unsigned char *languageSpecificData;
  _Unwind_Ptr catchTemp;
  void *adjustedPtr;


  _Unwind_Exception unwindHeader;
};


struct __cxa_eh_globals
{
  __cxa_exception *caughtExceptions;
  unsigned int uncaughtExceptions;
};






extern "C" __cxa_eh_globals *__cxa_get_globals () throw();
extern "C" __cxa_eh_globals *__cxa_get_globals_fast () throw();


extern "C" void *__cxa_allocate_exception(std::size_t thrown_size) throw();


extern "C" void __cxa_free_exception(void *thrown_exception) throw();


extern "C" void __cxa_throw (void *thrown_exception,
                             std::type_info *tinfo,
                             void (*dest) (void *))
     __attribute__((noreturn));


extern "C" void *__cxa_begin_catch (void *) throw();
extern "C" void __cxa_end_catch ();
extern "C" void __cxa_rethrow () __attribute__((noreturn));


extern "C" void __cxa_bad_cast ();
extern "C" void __cxa_bad_typeid ();






extern "C" void __cxa_call_unexpected (void *) __attribute__((noreturn));



extern void __terminate(std::terminate_handler) __attribute__((noreturn));
extern void __unexpected(std::unexpected_handler) __attribute__((noreturn));


extern std::terminate_handler __terminate_handler;
extern std::unexpected_handler __unexpected_handler;




const _Unwind_Exception_Class __gxx_exception_class
= ((((((((_Unwind_Exception_Class) 'G'
         << 8 | (_Unwind_Exception_Class) 'N')
        << 8 | (_Unwind_Exception_Class) 'U')
       << 8 | (_Unwind_Exception_Class) 'C')
      << 8 | (_Unwind_Exception_Class) 'C')
     << 8 | (_Unwind_Exception_Class) '+')
    << 8 | (_Unwind_Exception_Class) '+')
   << 8 | (_Unwind_Exception_Class) '\0');


extern "C" _Unwind_Reason_Code __gxx_personality_v0
     (int, _Unwind_Action, _Unwind_Exception_Class,
      struct _Unwind_Exception *, struct _Unwind_Context *);


extern "C" _Unwind_Reason_Code __gxx_personality_sj0
     (int, _Unwind_Action, _Unwind_Exception_Class,
      struct _Unwind_Exception *, struct _Unwind_Context *);


static inline __cxa_exception *
__get_exception_header_from_obj (void *ptr)
{
  return reinterpret_cast<__cxa_exception *>(ptr) - 1;
}


static inline __cxa_exception *
__get_exception_header_from_ue (_Unwind_Exception *exc)
{
  return reinterpret_cast<__cxa_exception *>(exc + 1) - 1;
}

}
# 35 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/eh_aux_runtime.cc" 2
# 1 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/exception_defines.h" 1
# 36 "../../../../egcc-CVS20030314/libstdc++-v3/libsupc++/eh_aux_runtime.cc" 2


extern "C" void
__cxa_bad_cast ()
{

  throw std::bad_cast();



}

extern "C" void
__cxa_bad_typeid ()
{

  throw std::bad_typeid();



}


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-04-05  4:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-05  4:03 c++/10100: [3.4 regression] bootstrap failure on mips-irix6.5 compiling libsupc++/eh_aux_runtime.cc billingd
  -- strict thread matches above, loose matches on Subject: below --
2003-03-21 20:26 Kaveh R. Ghazi
2003-03-17 13:06 Rainer Orth
2003-03-16 10:06 Billinghurst, David (CRTS)
2003-03-15 16:46 ghazi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).