delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/02/15:49:43

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=sSauFczE/WgqiiCzXA/oBWyKBnhW4IlIwzxEkojSyMI= c=1 sm=0 a=qOpDIw2QUJwA:10 a=8nJEP1OIZ-IA:10 a=qCTYjJJ2g1SgQhsHZAUATw==:17 a=l7Y9EBvAAAAA:8 a=_giaiB0gxPQgKSdruj4A:9 a=fkg00zHpHdyU6Zjp2LuFAK1JFNoA:4 a=wPNLvfGTeEIA:10 a=qCTYjJJ2g1SgQhsHZAUATw==:117
Message-ID: <4BDDD748.7000500@dunslane.net>
Date: Sun, 02 May 2010 15:49:28 -0400
From: Andrew Dunstan <andrew AT dunslane DOT net>
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> <AANLkTinBvuQZWH33HxWddBWk4mDjPQsS8NPA9jftg7pr AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTinBvuQZWH33HxWddBWk4mDjPQsS8NPA9jftg7pr@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <http://www.pgbuildfarm.org/cgi-bin/show_status.pl>. 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.
>
>   

Sadly, this doesn't fix it. And if I add  CFLAGS=-fstack-protector to 
the build it doesn't even finish linking let alone run. I get errors like:

    /home/Andrew/bf/root/HEAD/pgsql.1428/src/interfaces/libpq/fe-auth.c:967:
    undefined reference to `___stack_chk_guard'

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019