delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/07/20/08:01:22

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=L4OUpaUwKs49CWRtflMLCCQGfMfoMaCoERPWEWGKDtmxRGu/P7gaj
Uy8WcxlT85xyXK9+NJ4wFcrGQ9gnTWyTEzl118NkfK1HKexZziFaeCD4N2eHvBX4
amccVJcm303aFieFhUgV1s7vhb7VNAuxKsqVJaryeWLi++mRv8uJiQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=51FUfVAeaWv3hGEh5km9ADTctrE=; b=mQ1aK5zQaSftahAiXZgeBFinlIQR
q25l7l6lH/GQ/Ldb06UfkPk9ifmiLVC6eXgoq6rSb2aH0O/1LxXj+QhBv/V70r1u
0IexNP0/RxHRqeGjjwgtJA9O4SAuqf73Ow455OLhc8/pbDIdqSZ1hc+fu61TGsXL
mYyPIzM4LFFSmiI=
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-101.0 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,KAM_NUMSUBJECT,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=
X-HELO: mout.kundenserver.de
Date: Fri, 20 Jul 2018 14:01:06 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Symbols _fe_dfl_env and _fe_nomask_env not exported on x86_64
Message-ID: <20180720120106.GK27673@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <7a7e499a7abcb1ae5f614ee38b4530ec AT xs4all DOT nl>
MIME-Version: 1.0
In-Reply-To: <7a7e499a7abcb1ae5f614ee38b4530ec@xs4all.nl>
User-Agent: Mutt/1.9.2 (2017-12-15)

--k1G2Bc0EDIhoSmEt
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jul 20 01:00, Houder wrote:
> L.S.,
>=20
> This STC fails to compile on Cygwin for x86_64:
>=20
> // gcc -Wall -o stc-fenv stc-fenv.c
> // Linux: gcc -Wall -o stc-fenv stc-fenv.c -lm
> #define _GNU_SOURCE
> #include <fenv.h>
>=20
> int main()
> {
>     fesetenv(FE_DFL_ENV);
>     fesetenv(FE_NOMASK_ENV);
> }
>=20
> 64-@@ gcc -Wall -o stc-fenv stc-fenv.c
> /tmp/cchxZMgV.o:stc-fenv.c:(.rdata$.refptr._fe_nomask_env[.refptr._fe_nom=
ask_env]+0x0):
> undefined reference to `_fe_nomask_env'
> /tmp/cchxZMgV.o:stc-fenv.c:(.rdata$.refptr._fe_dfl_env[.refptr._fe_dfl_en=
v]+0x0):
> undefined reference to `_fe_dfl_env'
> collect2: error: ld returned 1 exit status
>=20
> However the STC does compile on x86.
>=20
> Where has the machinery gone wrong?

The symbol export files were not correctly set up back then.  I pushed a
patch.  New snapshots should be uploaded shortly to
https://cygwin.com/snapshots/


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--k1G2Bc0EDIhoSmEt
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAltRzwIACgkQ9TYGna5E
T6Cghg/+NPwYurTC/JH7R8ThtlSbM0XGGQ26pBAjZZn4yu+aYC7BcjRMH1JS7N63
W3JSE3w84MZzi4tcEEi3nscdWwwdOU3/GVIH2ymzt5lC6ikg9EmTXPlqzFl0JDLm
Y1snWir/KlCZO+8LeI63pUojU4tqejE3K8FVB6zvuL6VithRix3ntjdfUQhV2dAm
veb3vlaw2GwgpiU2lXd1KqUPZQbB0CpgmroO/amB+ksyih2f/dET/5FYIUVuEe3N
ynHlTv69ws3odZi6d+pYB0ZwC8UdCxfl9/8whR22M4m900sf1MN5nZ+PcGBtF2x4
iEQi6N1ZvsDuVAzhbvu2beoNHj/jrtTa/4e7jg4okCJywGBamF1GTN/EO1sCe7jW
cejJiP8aGWgqaE/mPKVvkh5xSwHUJXcGDRrBRRcqWu2n7kfpwozT1H9F7uHGsGzT
x++e/lwEuopru3ME2tRekkkn2BjC4cpUpx4F9VSBZgEwQCmKkKGtzMLn6qDIOwK2
ySG4git3vBqkjkV5sTMr9Jj8ircipGejJ6JMQwa3GxUyWSmSQ3rwG+VnQY+sbx5x
o4plaHu436k9K7fpKgLoh62sr33+EgKvm7ku+EaImpk6j/iP1deEM7/Q5jIiZ6bI
IehxagdWHqvv35Xc2M8WW4FvF8Wq2KuAj8AMnQaVde5c7xWhiG8=
=pbfr
-----END PGP SIGNATURE-----

--k1G2Bc0EDIhoSmEt--

- Raw text -


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