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

Add docs for common issues #37

Open
tonistiigi opened this issue Sep 25, 2021 · 2 comments
Open

Add docs for common issues #37

tonistiigi opened this issue Sep 25, 2021 · 2 comments
Milestone

Comments

@tonistiigi
Copy link
Owner

tonistiigi commented Sep 25, 2021

For example:

@tonistiigi tonistiigi added this to the 1.1 milestone Oct 10, 2021
@tonistiigi tonistiigi modified the milestones: 1.1, 1.2 Nov 29, 2021
@Entropy512
Copy link

As far as documentation, I ran into a similar issue to #34 - cyclonedds' official recommendation is to build cyclonedds for the host, then to build for a cross target, which will find the host idlc binary

This double-build scenario works on a non-native target, but the double-build process interferes with itself on a non-native target (although I did not try building a redundant/vestigial idlc for the target, as cyclonedds installs different cmake configurations depending on whether idlc was built or not...)

protobuf is similar - it requires a double-build in cross compile environments. It turns out that since idlc/protoc/etc aren't hugely CPU-consuming, it winds up much easier to do
QEMU_LD_PREFIX=/$(xx-info) make

for a single build for the target arch

@tonistiigi
Copy link
Owner Author

@Entropy512 If the software you are building is common enough to be useful for others, then feel free to post the details here(or under discussions). Either the Dockerfiles you have built or Dockerfiles you have tried but don't know how to get working.

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

No branches or pull requests

2 participants