This is the mail archive of the 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]

Re: Segmentation fault building libg++ without named returns

Hi John,

Thanks for the patch you sent with your previous email; I observed the
same failures when Mark installed his patch to  warn about using named
return values.  I took a differend approach  than you, i.e. instead of
removing  the code completely, I used  the opposite logic  with a flag
_G_USE_NRV  as  opposed to the  former   _G_NO_NRV; I've attached that
patch to this email.

Regarding the missing   weak symbols,  I'm pretty   much  at a   loss;
building and  doesn't generate all  required  weak
symbols as  it  did  before; even worse,   using  a reduced test  case
doesn't fail to  generate those symbols...  I'll dig  further and keep
you informed.



On Saturday, 9 September 2000, 02:06:54 -0400, wrote:

> > The tFix test fails.  Not sure what is going on here but for most of the
> > other classes there seems to be weak definitions for the class constructors,
> > etc.  Here is the log:
> The failure doesn't occur under hpux 10.20 (only i686 linux).  As noted
> before, there aren't any weak symbol defines in Fix.o when built under
> i686 linux.  For example,
> hpux:
>          U strstreambuf::~strstreambuf(void)
> 00000000 W Fix::~Fix(void)
> 4000000c D Fix::Rep_0
> 40000014 D Fix::Rep_m1
> linux:
>          U strstreambuf::~strstreambuf(void)
> 0000000c D Fix::Rep_0
> 00000014 D Fix::Rep_m1
> Dave
> -- 
> J. David Anglin                        
> National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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