Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build SoftFloat with MSVC #17

Merged
merged 1 commit into from
Oct 3, 2024
Merged

Conversation

serge-s
Copy link
Contributor

@serge-s serge-s commented Sep 29, 2024

Fixes these errors:

LibSoftfloat.lib(netf2.obj) : error LNK2001: unresolved external symbol _softfloat_float128_eq
LibSoftfloat.lib(lttf2.obj) : error LNK2001: unresolved external symbol _softfloat_float128_lt
LibSoftfloat.lib(letf2.obj) : error LNK2001: unresolved external symbol _softfloat_float128_le

Signed-off-by: Sergey Sudnitsyn [email protected]

Fixes these errors:
```
LibSoftfloat.lib(netf2.obj) : error LNK2001: unresolved external symbol _softfloat_float128_eq
LibSoftfloat.lib(lttf2.obj) : error LNK2001: unresolved external symbol _softfloat_float128_lt
LibSoftfloat.lib(letf2.obj) : error LNK2001: unresolved external symbol _softfloat_float128_le
```

Signed-off-by: Sergey Sudnitsyn [[email protected]](mailto:[email protected])
@serge-s
Copy link
Contributor Author

serge-s commented Sep 29, 2024

Not sure about this - another option is to avoid including softfloat-for-gcc.h completely like it is done in e.g. fpgetmask.c:

#ifdef SOFTFLOAT_FOR_GCC
#include "softfloat-for-gcc.h"
#endif

Or just wrap the whole softfloat-for-gcc.h in ifdef SOFTFLOAT_FOR_GCC / endif

@serge-s serge-s marked this pull request as ready for review September 29, 2024 18:10
@serge-s serge-s requested a review from a user September 29, 2024 18:10
@mdkinney
Copy link
Member

The expected Signed-off-by format would be:

Signed-off-by: Sergey Sudnitsyn [email protected]

@serge-s
Copy link
Contributor Author

serge-s commented Sep 29, 2024

The expected Signed-off-by format would be:

Signed-off-by: Sergey Sudnitsyn [email protected]

I thought I've put it exactly like this?

@mdkinney
Copy link
Member

mdkinney commented Oct 2, 2024

Here are the details on the commit message format:

https://github.com/tianocore/tianocore.github.io/wiki/Commit-Message-Format

@mdkinney mdkinney merged commit e3839c6 into tianocore:master Oct 3, 2024
5 checks passed
@serge-s serge-s deleted the arm_softfloat branch October 3, 2024 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants