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

fix unknown argument: '-ffile-prefix-map' error by only build default target #9690

Merged

Conversation

xylophone21
Copy link
Collaborator

Problem

Android IDE mode build failed with error
clang++: error: unknown argument: '-ffile-prefix-map=/Users/austinhsieh/repos/connectedhomeip/out/android_arm64=out'

Change overview

Only build 'default' target in IDE mode, same as script mode

Testing

How was this tested? (at least one bullet point required)

  • Build and run basic test in CHIPTools

@andy31415 andy31415 merged commit 0b6c0ba into project-chip:master Sep 14, 2021
@github-actions
Copy link

Size increase report for "esp32-example-build" from 29e6bcd

File Section File VM
chip-bridge-app.elf .flash.text 76 76
chip-ipv6only-app.elf .flash.text 172 172
chip-shell.elf .flash.text 60 60
Full report output
BLOAT REPORT

Files found only in the build output:
    report.csv

Comparing ./master_artifact/chip-bridge-app.elf and ./pull_artifact/chip-bridge-app.elf:

sections,vmsize,filesize
.flash.text,76,76
[Unmapped],0,-76

Comparing ./master_artifact/chip-ipv6only-app.elf and ./pull_artifact/chip-ipv6only-app.elf:

sections,vmsize,filesize
[Unmapped],0,3924
.flash.text,172,172

Comparing ./master_artifact/chip-persistent-storage.elf and ./pull_artifact/chip-persistent-storage.elf:

sections,vmsize,filesize

Comparing ./master_artifact/chip-all-clusters-app.elf and ./pull_artifact/chip-all-clusters-app.elf:

sections,vmsize,filesize

Comparing ./master_artifact/chip-pigweed-app.elf and ./pull_artifact/chip-pigweed-app.elf:

sections,vmsize,filesize

Comparing ./master_artifact/chip-shell.elf and ./pull_artifact/chip-shell.elf:

sections,vmsize,filesize
.flash.text,60,60
[Unmapped],0,-60

Comparing ./master_artifact/chip-lock-app.elf and ./pull_artifact/chip-lock-app.elf:

sections,vmsize,filesize

Comparing ./master_artifact/chip-temperature-measurement-app.elf and ./pull_artifact/chip-temperature-measurement-app.elf:

sections,vmsize,filesize


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants