In some case, library archives generated thanks to dot_a_linkage=true are put into objs.a,
resulting in an archive file embedded into another archive file.
Example in ESP8266Audio CI:
.a generated by dot_a_linkage=true (log in CI).a generated by arduino-builder (because of a too large number of generated files ?) (log in CI)ar cru p/libraries/ESP8266HTTPClient/objs.a p/libraries/ESP8266HTTPClient/ESP8266HTTPClient.aprobable source: https://github.com/arduino/arduino-cli/pull/961
Any of the two, or both ?
.a archive files in AR command line.dot_a_linkage=true libraries ?arduino-cli version):arduino-builder shipped with arduino-ide-hourly-build
ubuntu / any
Should be fixed by #1140, @d-a-v may you test with the latest nightly?
Is Arduino-IDE-nightly including arduino-builder/cli nightly ?
@d-a-v no. You can see the version of arduino-builder used in the nightly Arduino CLI build here:
https://github.com/arduino/Arduino/blob/master/build/build.xml#L102
<property name="ARDUINO-BUILDER-VERSION" value="1.5.5" />
and the version of Arduino CLI used in that version of arduino-builder (confusing because they didn't push a 1.5.5 tag) here:
https://github.com/arduino/arduino-builder/blob/f959e8b154e695eaa3bfaac18f0310a854e228b8/go.mod#L7
github.com/arduino/arduino-cli v0.0.0-20201210103408-bf7a3194bb63
The CLI nightly is here: https://arduino.github.io/arduino-cli/latest/installation/#nightly-builds
As @per1234 said the Arduino IDE nightly does not get the CLI updates automatically, we have to manually update it.
@d-a-v if you need the patch in the Arduino IDE nightly I can push it quickly.
@per1234 @cmaglie Thanks !
Yes, that would allow @earlephilhower to try the fix in CI as described in OP.
Yes, that would allow @earlephilhower to try the fix in CI as described in OP.
Ok, the nightly of the Arduino IDE has been updated.
Thank you!
I can confirm the nightly build works successfully with the library that was seeing the issue before.
Thanks for the test!
Closing as fixed...
Most helpful comment
Thank you!
I can confirm the nightly build works successfully with the library that was seeing the issue before.