delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/05/20/02:59:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_CX,TW_GC,TW_IB,TW_JL,TW_LG,TW_YM,T_FILL_THIS_FORM_SHORT
X-Spam-Check-By: sourceware.org
From: "DEWI - N. Zacharias" <N DOT Zacharias AT dewi DOT de>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Thu, 20 May 2010 08:58:21 +0200
Subject: AW: [bulk] - Re: Missing stack_chk type functions
Message-ID: <8CCC8F85C5F2784387A32FAD835FB4E602DD771948@server03>
References: <8CCC8F85C5F2784387A32FAD835FB4E602DD771946 AT server03> <4BF42A5A DOT 8060805 AT x-ray DOT at>
In-Reply-To: <4BF42A5A.8060805@x-ray.at>
MIME-Version: 1.0
X-CheckCompat: OK
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

Moin Reini,


> Von: Reini Urban [mailto:rurban AT x-ray DOT at]
> Gesendet: Mittwoch, 19. Mai 2010 20:14
> An: cygwin AT cygwin DOT com
> Betreff: [bulk] - Re: Missing stack_chk type functions
>
> DEWI - N. Zacharias schrieb:
> >
> > Hi all,
> > I tried to install the  Win32::GuiTest from cpan.
> > It did not work because
> >
> > g++  -shared GuiTest.o DibSect.o  -o
> blib/arch/auto/Win32/GuiTest/GuiTest.dll  \
> >            /usr/lib/perl5/5.10/i686-cygwin/CORE/cygperl5_10.dll -L/usr/=
lib/w32api
> -lgdi32        \
> >
> > GuiTest.o:GuiTest.cpp:(.text+0x91f0): undefined reference to
> `___stack_chk_guard'
> > GuiTest.o:GuiTest.cpp:(.text+0x96c1): undefined reference to
> `___stack_chk_fail'
> > [...]
> >
> > I found Re: glibc-2.4 __stack_chk_guard/__pointer_chk_guard from 2006
> which is pretty old and refers to using distcc
> > So I don't know whats the problem today.
>
> You need to install gcc4 and set it as default with set-gcc-default-4.sh

That was not the solution (gcc4 was already installed ) and running  set-gc=
c-default-4.sh makes no difference

 g++ -v
Using built-in specs.
Target: i686-pc-cygwin
Configured with: /gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4=
.3.4/configure --srcdir=3D/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/=
src/gcc-4.3.4 --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sb=
indir=3D/usr/sbin --libexecdir=3D/usr/lib --datadir=3D/usr/share --localsta=
tedir=3D/var --sysconfdir=3D/etc --infodir=3D/usr/share/info --mandir=3D/us=
r/share/man --datadir=3D/usr/share --infodir=3D/usr/share/info --mandir=3D/=
usr/share/man -v --with-gmp=3D/usr --with-mpfr=3D/usr --enable-bootstrap --=
enable-version-specific-runtime-libs --with-slibdir=3D/usr/bin --libexecdir=
=3D/usr/lib --enable-static --enable-shared --enable-shared-libgcc --disabl=
e-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exc=
eptions --enable-languages=3Dada,c,c++,fortran,java,objc,obj-c++ --disable-=
symvers --enable-libjava --program-suffix=3D-4 --enable-libgomp --enable-li=
bssp --enable-libada --enable-threads=3Dposix --with-arch=3Di686 --with-tun=
e=3Dgeneric --enable-libgcj-sublibs CC=3Dgcc-4 CXX=3Dg++-4 CC_FOR_TARGET=3D=
gcc-4 CXX_FOR_TARGET=3Dg++-4 GNATMAKE_FOR_TARGET=3Dgnatmake GNATBIND_FOR_TA=
RGET=3Dgnatbind AS=3D/opt/gcc-tools/bin/as.exe AS_FOR_TARGET=3D/opt/gcc-too=
ls/bin/as.exe LD=3D/opt/gcc-tools/bin/ld.exe LD_FOR_TARGET=3D/opt/gcc-tools=
/bin/ld.exe --with-ecj-jar=3D/usr/share/java/ecj.jar
Thread model: posix
gcc version 4.3.4 20090804 (release) 1 (GCC)


Have a nice day
Norbert

> --
> Reini Urban
> http://phpwiki.org/  http://murbreak.at/
>
> --
> 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


--------------------------------------------------------------------------
Dipl. Phys.
Norbert Zacharias
Wind Measurements & Power Curve Measurements
DEWI GmbH
Ebertstrasse 96
26382 Wilhelmshaven
Germany


Tel.:   +49 4421 4808 876

Fax:    +49 4421 4808 843


Email:  N DOT Zacharias AT dewi DOT de
Home:   http://http://www.dewi.de

DEWI GmbH - Deutsches Windenergie-Institut, Wilhelmshaven
Commercial Register No.: Amtsgericht Oldenburg, HRB 130241
Managing Director: Jens Peter Molly
Chairman of the supervisory board: Ministerialrat Dr. Niels K=E4mpny

P Please consider the environment before printing this email.



--
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