Reporting Issues
Bug 1845 - update ArmSoftFloatLib to latest upstream version (= 3e)
Summary: update ArmSoftFloatLib to latest upstream version (= 3e)
Status: RESOLVED FIXED
Alias: None
Product: Tianocore Feature Requests
Classification: Unclassified
Component: Code (show other bugs)
Version: Current
Hardware: All All
: Lowest normal
Assignee: Ard Biesheuvel
URL:
Keywords:
Depends on:
Blocks: 1089
  Show dependency tree
 
Reported: 2019-05-27 12:36 UTC by Laszlo Ersek
Modified: 2019-06-03 13:03 UTC (History)
2 users (show)

See Also:
EDK II Code First industry standard specifications: ---
Branch URL:
Release(s) the issue is observed: EDK II Master
The OS the target platform is running: ---
Package: ArmPkg
Release(s) the issues must be fixed: EDK II Master
Tianocore documents:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laszlo Ersek 2019-05-27 12:36:56 UTC
When building OpenSSL 1.1.1b (see bug 1089) for ARM with the GCC5 toolchain(s), the following intrinsic functions are not found, and cause a link failure:

__aeabi_ui2d
__aeabi_d2uiz

While OpenSSL should arguably not use floating point for anything (and in edk2, and generally in UEFI, floating point is discouraged), it seems that upgrading edk2's copy of ArmSoftFloatLib to the latest upstream release (= 3e) is the least painful way to resolve the above symbols.
Comment 1 Laszlo Ersek 2019-05-27 12:37:47 UTC
Ard's v1 series on the list:
[PATCH 0/3] update ArmSoftFloatLib to latest upstream version
http://mid.mail-archive.com/20190524151140.23539-1-ard.biesheuvel@linaro.org
https://edk2.groups.io/g/devel/message/41339
Comment 2 Ard Biesheuvel 2019-05-27 17:00:42 UTC
v2 posted to the list
Comment 3 Laszlo Ersek 2019-05-28 07:22:53 UTC
(In reply to Ard Biesheuvel from comment #2)
> v2 posted to the list

[edk2-devel] [PATCH v2 0/7] update ArmSoftFloatLib to latest upstream version
http://mid.mail-archive.com/20190527205141.12344-1-ard.biesheuvel@linaro.org
https://edk2.groups.io/g/devel/message/41424
Comment 4 Laszlo Ersek 2019-06-03 13:03:12 UTC
v3:

[edk2-devel] [PATCH v3 0/7] update ArmSoftFloatLib to latest upstream version
http://mid.mail-archive.com/20190531124958.8421-1-ard.biesheuvel@linaro.org
https://edk2.groups.io/g/devel/message/41735

From this series, the following patches have been pushed:

85af0b8116f3 ArmPkg: import Berkeley Softfloat library as git submodule
3cc57695df5a ArmPkg/ArmSoftFloatLib: switch to new version of softfloat library
99243102b467 ArmPkg/ArmSoftFloatLib: remove source files that are no longer used
8594c2073cdb ArmPkg/ArmLib ARM: set .fpu to let Clang 7 assemble ArmV7Support.S

The rest is being postponed until after edk2-stable201905.

Another related commit (right on top, and right before the commits for bug 1089):

371e7001e8d5 ("ArmPkg/ArmSoftFloatLib GCC4x: fix build failure", 2019-06-01)