PelionIoT / mbed-edge

Edge Core
https://izumanetworks.com
Apache License 2.0
25 stars 32 forks source link

Added a patch which links `libm` with fccstorage #72

Closed whygoyal closed 3 years ago

whygoyal commented 3 years ago

This is required when compiling the parsec_se_driver library with cargo and rustc version 1.55.0. Adding this temporary fix for the release. Need to upstream this patch and remove it in later releases.

Fixes -

/usr/bin/ld: ../../lib/mbed-cloud-client/factory-configurator-client/../../pal-platform/Middleware/parsec_se_driver/parsec_se_driver/target/release/libparsec_se_driver.a(std-008055cc7d873802.std.cf1c8f7e-cgu.0.rcgu.o): undefined reference to symbol 'fma@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
whygoyal commented 3 years ago

This also require change in the CI script. Raised the PR to add the patch before the build - https://github.com/PelionIoT/edge-ci/pull/437. Hopefully this fixes the PR checks.

prakharbhatt007 commented 3 years ago

We don't need this now as the PR is now passing.

whygoyal commented 3 years ago

Closed in favor of #73