X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org X-Authority-Analysis: v=1.1 cv=WuXMWYvVhgJ0xqJhYkg/xQ3lnAmVtx0VD90QdnQhRns= c=1 sm=0 a=qOpDIw2QUJwA:10 a=8nJEP1OIZ-IA:10 a=qCTYjJJ2g1SgQhsHZAUATw==:17 a=l7Y9EBvAAAAA:8 a=_giaiB0gxPQgKSdruj4A:9 a=eab3YvEBnyPvRwTUjH8yjUdJKVQA:4 a=wPNLvfGTeEIA:10 a=qCTYjJJ2g1SgQhsHZAUATw==:117 Message-ID: <4BDDB6E2.8080707@dunslane.net> Date: Sun, 02 May 2010 13:31:14 -0400 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.12) Gecko/20071019 Fedora/1.0.9-3.fc6 pango-text SeaMonkey/1.0.9 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: PostgreSQL plperl crash on Cygwin 1.7.5 References: <4BDD9A39 DOT 4050506 AT dunslane DOT net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Reini Urban wrote: > 2010/5/2 Andrew Dunstan : > >> On Cygwin version 1.7.5 I am trying to run set up a member of the PostgreSQL >> Buildfarm . We have a >> current Cygwin member (run by me) using Cygwin version 1.5.25, which for the >> most part runs without major problems. >> >> The good news is that even on the latest code, both stable and development, >> PostgreSQL builds and its core regression tests run with 100% success. >> >> The bad news is that I get a segfault when trying to run the regression >> tests for the embedded PLPerl language. The test fails when it tries to load >> Postgres' plperl.dll. >> > > Hi Andrew, > > This is because cygwin perl is compiled with gcc-4 and -fstack-protector > and you are trying with gcc-3 without -fstack-protector. > > Installing gcc-4 and doing the configure with > CC=gcc-4 should do the trick. > > Oh, cool, thanks Reini. I'm testing this now. If standard packages like perl are compiled with gcc-4, shouldn't it be the default? cheers andrew -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple