Skip to content

Archives files should not be embedded in archives #1122

@d-a-v

Description

@d-a-v

Bug Report

Current behavior

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:

  • 1st .a generated by dot_a_linkage=true (log in CI)
  • 2nd .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.a
  • final error in CI

probable source: #961

Expected behavior

Any of the two, or both ?

  • refuse to add .a archive files in AR command line.
  • skip dot_a_linkage=true libraries ?

Environment

  • CLI version (output of arduino-cli version):

arduino-builder shipped with arduino-ide-hourly-build

  • OS and platform:

ubuntu / any

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy