This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: 'Missing isnand' still not fixed in 2006-03-01 snapshot


Jerry D. Hedden wrote:
> Using cygwin-inst-20060301.tar.bz2 (dll, exes, libs, headers, etc) from
> the 2006-03-01 (23:10 GMT) snapshot, I'm still getting these errors when
> building Perl:
>
> /c/perl_tmp/perl-5.8.8/libperl.a(pp.o):pp.c:(.text+0x643b): undefined
> reference to `___isnand'
> /c/perl_tmp/perl-5.8.8/libperl.a(pp.o):pp.c:(.text+0x64f2): undefined
> reference to `___isnand'
> /c/perl_tmp/perl-5.8.8/libperl.a(pp.o):pp.c:(.text+0x6506): undefined
> reference to `___isnand'

Corinna Vinschen replied:
> The libraries libcygwin.a and libm.a *do* contain the symbols ___isnand
> and __imp____isnand, though.

I don't think this is correct.  I checked and found isnan and isnanf in
both, but isnand is not in either.  In fact, I check all the libs using:

  for file in /usr/lib/*.a; do strings $file | grep isnand; done

And got no hits.

> You don't show us the link command you're using.  Maybe there's
> something not quite correct?

I reinstalled cygwin-inst-20060301.tar.bz2 (dll, exes, libs, headers,
etc)
from the 2006-03-01 (23:10 GMT) snapshot, and tried once more:

Here's more complete output:

          CCCMD =  gcc -DPERL_CORE -c -DPERL_USE_SAFE_PUTENV
-fno-strict-aliasing -pipe -Wdeclaration-after-statement -O3 -pipe
-frename-registers -fomit-frame-pointer -march=pentium4 -mfpmath=sse
-mmmx -msse -msse2  -Wall
PATH=/c/perl_tmp/perl-5.8.8:.:/home/jhedden/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/djgpp/bin:/c/Program\
Files/WiX:/c/Program\ Files/nant-0.85-rc3/bin:/c/Program\
Files/apache-ant-1.6.3/bin:/c/j2sdk1.4.2_08/bin:/c/Program\
Files/Documentum/Shared:/c/blp/API:/c/oracle/ora92/bin:/c/Program\
Files/Oracle/jre/1.3.1/bin:/c/Program\
Files/Oracle/jre/1.1.8/bin:/c/WINNT/system32:/c/WINNT:/c/WINNT/system32/WBEM:/c/Program\
Files/cvsnt:.:/usr/local:/etc:/usr/lib:/lib:/usr/sbin gcc
-L/c/perl_tmp/perl-5.8.8  -s -L/usr/local/lib -o miniperl
miniperlmain.o opmini.o -lperl -lcrypt -lgdbm_compat
/c/perl_tmp/perl-5.8.8/libperl.a(pp.o):pp.c:(.text+0x643b): undefined
reference to `___isnand'
/c/perl_tmp/perl-5.8.8/libperl.a(pp.o):pp.c:(.text+0x64f2): undefined
reference to `___isnand'
/c/perl_tmp/perl-5.8.8/libperl.a(pp.o):pp.c:(.text+0x6506): undefined
reference to `___isnand'
collect2: ld returned 1 exit status
make: *** [miniperl.exe] Error 1

Reverting to the cygwin-inst-20060224.tar.bz2 (dll, exes, libs, headers,
etc)
snapshot, building Perl successed.  The corresponding section of the
build
output reads:

          CCCMD =  gcc -DPERL_CORE -c -DPERL_USE_SAFE_PUTENV
-fno-strict-aliasing -pipe -Wdeclaration-after-statement -O3 -pipe
-frename-registers -fomit-frame-pointer -march=pentium4 -mfpmath=sse
-mmmx -msse -msse2  -Wall
PATH=/c/perl_tmp/perl-5.8.8:.:/home/jhedden/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/djgpp/bin:/c/Program\
Files/WiX:/c/Program\ Files/nant-0.85-rc3/bin:/c/Program\
Files/apache-ant-1.6.3/bin:/c/j2sdk1.4.2_08/bin:/c/Program\
Files/Documentum/Shared:/c/blp/API:/c/oracle/ora92/bin:/c/Program\
Files/Oracle/jre/1.3.1/bin:/c/Program\
Files/Oracle/jre/1.1.8/bin:/c/WINNT/system32:/c/WINNT:/c/WINNT/system32/WBEM:/c/Program\
Files/cvsnt:.:/usr/local:/etc:/usr/lib:/lib:/usr/sbin gcc
-L/c/perl_tmp/perl-5.8.8  -s -L/usr/local/lib -o miniperl
miniperlmain.o opmini.o -lperl -lcrypt -lgdbm_compat
PATH=/c/perl_tmp/perl-5.8.8:.:/home/jhedden/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/c/djgpp/bin:/c/Program\
Files/WiX:/c/Program\ Files/nant-0.85-rc3/bin:/c/Program\
Files/apache-ant-1.6.3/bin:/c/j2sdk1.4.2_08/bin:/c/Program\
Files/Documentum/Shared:/c/blp/API:/c/oracle/ora92/bin:/c/Program\
Files/Oracle/jre/1.3.1/bin:/c/Program\
Files/Oracle/jre/1.1.8/bin:/c/WINNT/system32:/c/WINNT:/c/WINNT/system32/WBEM:/c/Program\
Files/cvsnt:.:/usr/local:/etc:/usr/lib:/lib:/usr/sbin ./miniperl -w
-Ilib -MExporter -e '<?>' || make minitest

I checked the commands and they read the same.  (The 3rd line shows that
the 'make miniperl' command succeeded and the make continued.)

The only variable in the above is the Cygwin snapshots.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]