Web lists-archives.com

Re: Symbols _fe_dfl_env and _fe_nomask_env not exported on x86_64

On 2018-07-20 01:00, Houder wrote:

This STC fails to compile on Cygwin for x86_64:

// gcc -Wall -o stc-fenv stc-fenv.c
// Linux: gcc -Wall -o stc-fenv stc-fenv.c -lm
#define _GNU_SOURCE
#include <fenv.h>

int main()

64-@@ gcc -Wall -o stc-fenv stc-fenv.c
undefined reference to `_fe_nomask_env'
undefined reference to `_fe_dfl_env'
collect2: error: ld returned 1 exit status

However the STC does compile on x86.

Where has the machinery gone wrong?

File winsup/CVSChangeLogs.old/cygwin/ChangeLog.64 bit contains: (line 761 ff)

2013-02-08  Corinna Vinschen  <corinna@xxxxxxxxxxx>

        * cygwin64.din (BASE): Set to 0x180040000.
        (_fe_dfl_env): Remove useless symbol.
        (_fe_nomask_env): Remove useless symbol.

File cygwin64.din does not exist anymore (as far as I can tell).

Has it been renamed x68_64.din?



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