develooper Front page | perl.perl5.porters | Postings from February 2005

RE: [perl #33054] Segmentation fault in DB_File with perl-5.8.6 gcc-3.3.2

Thread Next
From:
Robin Barker
Date:
February 3, 2005 06:21
Subject:
RE: [perl #33054] Segmentation fault in DB_File with perl-5.8.6 gcc-3.3.2
Message ID:
533D273D4014D411AB1D00062938C4D90849C5A3@hotel.npl.co.uk
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:paul.marquess@ntlworld.com]
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:Robin.Barker@npl.co.uk]
> Sent: 01 February 2005 17:33
> To: 'paul.marquess@ntlworld.com'
> 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.
> 
> Robin
> 
> 
> -------------------------------------------------------------------
> This e-mail and any attachments may contain confidential and/or
> privileged material; it is for the intended addressee(s) only.
> If you are not a named addressee, you must not use, retain or
> disclose such information.
> 
> NPL Management Ltd cannot guarantee that the e-mail or any
> attachments are free from viruses.
> 
> NPL Management Ltd. Registered in England and Wales. No: 2937881
> Registered Office: Teddington, Middlesex, United Kingdom TW11 0LW.
> -------------------------------------------------------------------

-------------------------------------------------------------------
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Teddington, Middlesex, United Kingdom TW11 0LW.
-------------------------------------------------------------------

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About