Search

unresolved external symbol __ftol2_sse by HermannS

Closed
as By Design Help for as By Design

2
Sign in to vote
0
Sign in to vote
Sign in
to vote
Type: Bug
ID: 107716
Opened: 4/21/2005 1:11:47 AM
Access Restriction: Public
0
Workaround(s)
0
User(s) can reproduce this bug
If I create a project, which has linking against default libraries
turned off ( see FDBK24347 ) and try to compile it, I get the error
message error LNK2019: unresolved external symbol __ftol2_sse

ok. ftol2_sse is not there in my runtime libraries, but:
I have turned off the SSE extension set in the project settings:
See Property/Code Generation/Enable Enhanced Instruction Set

==> Code is generated by the compiler , which does not reflect
    the settings given.
Details (expand)
Product Language
English
Version
Visual Studio 2005 Beta 2
Category
Visual C++ Development
Operating System
Windows 2000 Professional
Operating System Language
US English
Steps to Reproduce
Take the .zip from the attachement and recompile 68k\LinkTunnel\LinkTunnel.sln in the RT Debug configuration
Actual Results
error LNK2019: unresolved external symbol __ftol2_sse even if
no SSE instructions set code generation if set in porject
settings
Expected Results
cl.exe should use __ftol2 if no SSE Instruction set is
selected, and no link error should occur
File Attachments
1 attachments
Sign in to post a comment.
Posted by Microsoft on 4/25/2005 at 10:38 AM
Thank you for submitting this to us. We will investigate and keep you informed.
Visual C++ Team
Posted by Microsoft on 4/25/2005 at 3:43 PM
We changed the entry point to ftol2 in Whidbey so it is now ftol2_sse, but the mechanism stays the same. This change does not mean that we are going to generate SSE[2] code for ftol; there is an internal check in CRT ftol2_sse that decides whether SSE version is available. This is no different than making reference to ftol2 and then deciding to call ftol2_sse because machine supports SSE and it is faster to compute ftol that way. Sorry if this is a bit confusing; we'll try to update our docs to better explain what ftol2_sse does.
Posted by HermannS on 4/26/2005 at 1:01 PM
ok. close the case.

Have to tell Tenasys (Intime) about your changes, so that they can adapt their runtim elibs to supprt ftol_sse instead of ftol.

thanks Hermann