Skip to content

Updates#16

Open
jeikabu wants to merge 6 commits into
ctron:masterfrom
jeikabu:master
Open

Updates#16
jeikabu wants to merge 6 commits into
ctron:masterfrom
jeikabu:master

Conversation

@jeikabu
Copy link
Copy Markdown

@jeikabu jeikabu commented Apr 11, 2020

  • ESP-IDF to v4.0
  • LLVM to 9.0.1
  • Rust to 1.42

jeikabu added 4 commits April 11, 2020 18:51
- ESP-IDF to v3.3.2
- LLVM to 9.0.1
- Rust to 1.42
- Before source'ing $IDF_PATH/export.sh, check if IDF_TOOLS_EXPORT_CMD is unset.  This means it hasn't been source'd yet.
- image-project assumes a particular target, config, and binary name.  If image.sh exists, assume that is a more appropriate replacement and run it instead.
- quick-build allows for quicker build iteration with less "safety"
- --release is no longer required, forward command-line flags like in PR ctron#12 since it works just as well for --features as --release
- Need to avoid LTO changes that result in gcc linking with compiler_builtins.rlib `error adding symbols: file format not recognized`
@bvanderveen
Copy link
Copy Markdown

bvanderveen commented Jun 7, 2020

Master branch currently isn't working for me. This branch is. FWIW. I don't remember the exact error message but at some point in the past two weeks, I cleaned and rebuilt my projects and build-project failed before getting to my code. I ended up at this issue: rust-osdev/cargo-xbuild#75

@jeikabu
Copy link
Copy Markdown
Author

jeikabu commented Jun 7, 2020

Yeah it's a bug with xbuild. You'll have to rebuild the docker image because the one on quay has an older xbuild.
And to clarify the specific version of xbuild used here, the latest versions use llvm features not yet ported.
Further, if it's helpful, as mentioned in rust-osdev/cargo-xbuild#72 this very similar project may permit you to use the latest xbuild.

jeikabu added 2 commits June 8, 2020 18:01
- Normalize dockerfile to be more similar to https://github.com/reitermarkus/cross-xtensa
- Clean temp files, reduces docker image from 12GB to 8GB
- Remove legacy scripts/templates/etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants