> [EMAIL PROTECTED] - Thu Feb 03 06:21:49 2005]:
> 
> Paul
> Cc: porters
> 
> I tried compiling db-3.1.17 with gcc-3.4.3 and then compiling perl-
> 5.8.6 with the same gcc.
> I had problems getting the perl configuration/compilation to see and
> link to the db library,
> and then, when I did, I got a segmentation fault with the same (or
> similar) back trace.
> 
> I then tried to build another XS extension and had more linking
> problems.
> 
> My conclusion is that the fault is with my build of gcc-3.4.3 not with
> db or DB_File.
> 
> I have given up and reinstalled gcc-3.3 and am rebuilding perl-5.8.6
> with that.
> So it will be difficult for me to do further investigation of gcc-
> 3.3.2+ or -3.4+
> 
> Robin
> 
> 
> -----Original Message-----
> From: Paul Marquess [mailto:[EMAIL PROTECTED]
> Sent: 01 February 2005 17:39
> To: 'Robin Barker'
> Subject: RE: [perl #33054] Segmentation fault in DB_File with perl-
> 5.8.6
> gcc-3.3.2
> 
> 
> Hmmm, not sure about mixing'n'matching gcc. Any chance you could try
> building both with the same gcc?
> 
> Paul
> 
> > -----Original Message-----
> > From: Robin Barker [mailto:[EMAIL PROTECTED]
> > Sent: 01 February 2005 17:33
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: [perl #33054] Segmentation fault in DB_File with perl-
> 5.8.6
> > gcc-3.3.2
> >
> > Paul
> >
> > I've been building perl with 64-bit and db since I first compiled
> db-
> > 3.1.17 (in 2000).
> >
> > I successfully built perl-5.8.6 with 64-bit and db-3.1.17 using gcc-
> 3.3
> > I successfully built perl-5.8.6 with 64-bit and db-4.3.27 using gcc-
> 3.4.3
> >
> > So I guess there is some incompatibility between the perl build
> using
> > newer gcc and db built with an older gcc.
> >
> 

I'm running against a current blead on OpenBSD compiled with gcc-2.9.5
and I SEGFAULT as well.  The e>rror I get is:

>perl -Ilib -MDB_File -e1
perl:/home/steve/perl-current/lib/auto/Fcntl/Fcntl.so: undefined symbol
'Perl_Tstack_sp_ptr'
lazy binding failed!
Segmentation fault (core dumped)


Reply via email to