docs/manual/prerequisite.txt:
PATCH v3 1/1 docs/manual/prerequisite.txt:
Add required packages to be able to build on Redhat/Debian x86_64 with prebuilt x86 tools.
v3:
- Add quotes between g++-multilib as noticed by Baruch Siach <[email protected]>
--- docs/manual/prerequisite.txt | 4 ++++ 1 file changed, 4 insertions(+)
docs/manual/prerequisite.txt +4 -0
@@ -87,3 +87,7 @@ corresponding tool on the host system: * Graph generation tools: ** +graphviz+ to use 'graph-depends' and '<pkg>-graph-depends' ** +python-matplotlib+ to use 'graph-build' + +* 32-bit compatibility libraries for precompiled executables: +** +glibc.i686+ and +zlib.i686+ (Redhat/Fedora) +** +libc6:i386+ and `g++-multilib` (Debian/Ubuntu)
Signature · 1 line
2.13.6
PATCH v3 1/1 docs/manual/prerequisite.txt:
Hello David,
Why does this patch has a prefix named "i-g-t" ? Are you working on intel-gpu-tools besides working of Buildroot ?
ALso, the commit title is not complete, it lacks a description.
Quoted 5 lines · David De Grave (Essensium/Mind)
Add required packages to be able to build on Redhat/Debian
x86_64with prebuilt x86 tools.v3:
- Add quotes betweeng++-multilibas noticed by Baruch Siach <[email protected]>
The changelog should be ...
Quoted 3 lines
Signed-off-by David De Grave (Essensium/Mind) <[email protected]>---
... here, so that it doesn't become part of the Git commit log once the patch is applied.
docs/manual/prerequisite.txt corresponding tool on the host system: · line 91
Quoted 13 lines
docs/manual/prerequisite.txt | 4 ++++ 1 file changed, 4 insertions(+)docs/manual/prerequisite.txt +2
-0@@ -87,3 +87,7 @@ corresponding tool on the host system: * Graph generation tools: ** +graphviz+ to use 'graph-depends' and '<pkg>-graph-depends' ** +python-matplotlib+ to use 'graph-build' + +* 32-bit compatibility libraries for precompiled executables:
I think we should explicit a little bit in which situations this is needed. Maybe:
On 64-bit machines, 32-bit compatibility libraries may be needed to run pre-built executables, such as external toolchains, or pre-built host tools. To install such libraries, install the following packages:
docs/manual/prerequisite.txt corresponding tool on the host system: · line 93
Quoted 2 lines
docs/manual/prerequisite.txt +2
-0+** +glibc.i686+ and +zlib.i686+ (Redhat/Fedora) +** +libc6:i386+ and `g++-multilib` (Debian/Ubuntu)
However, overall, I'm not too happy with this, because we don't tell the user exactly when such dependencies are needed. Isn't the check in support/dependencies/dependencies.sh for the availability of 32-bit libraries sufficient ? If it doesn't cover some cases, then it would perhaps be better to extend support/dependencies/dependencies.sh rather than having a fuzzy requirement in the documentation, where we don't explicitly and clearly say in which situations such or such dependency is necessary.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH v3 1/1 docs/manual/prerequisite.txt:
Hi Thomas,
Thanks for your reply and good advices.
Quoted 5 lines · Thomas Petazzoni
Hello David,
Why does this patch has a prefix named "i-g-t" ? Are you working on intel-gpu-tools besides working of Buildroot ?
I noticed it too and didn't catch that it was due to that. Indeed, I was working on the
intel-gpu-tools package when I switched to another branch. No idea how I ended up
with that prefix... Will take care of this for the next time.
Quoted 8 lines
ALso, the commit title is not complete, it lacks a description.
Quoted 2 lines
Signed-off-by David De Grave (Essensium/Mind) <[email protected]>---
... here, so that it doesn't become part of the Git commit log once the patch is applied.
Yes.. I noticed it too but the patch was already submitted. So, I though to wait for a reaction
before changing it. And it seems it was a good idea because, like you pointed it out below,
I don't think anymore it's the way to go ...
Quoted 12 lines
docs/manual/prerequisite.txt corresponding tool on the host system: · line 93
Quoted 2 lines
docs/manual/prerequisite.txt +2
-0+** +glibc.i686+ and +zlib.i686+ (Redhat/Fedora) +** +libc6:i386+ and `g++-multilib` (Debian/Ubuntu)However, overall, I'm not too happy with this, because we don't tell the user exactly when such dependencies are needed. Isn't the check in
support/dependencies/dependencies.shfor the availability of 32-bit libraries sufficient ? If it doesn't cover some cases, then it would perhaps be better to extendsupport/dependencies/dependencies.shrather than having a fuzzy requirement in the documentation, where we don't explicitly and clearly say in which situations such or such dependency is necessary.
I'm still a beginner in buildroot and didn't know about that script, sorry for my lack of
knowledges in this... I work hard to learn as much as I can however :-).
I'm actually looking into reproducing the error I was faced and see if I can update that
script to output a better error with fix proposals, depending on the host os.
I also prefer such a solution. When the problem comes, the solution is proposed, who
make things more easy and efficient and avoid wasting time in reading some other docs.
We read already a lot of them, if we can avoid some more. let's do it :-)
Quoted 8 lines
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering
https://bootlin.com
Thanks for your feedback and have a nice day.
Signature · 15 lines
Cordialement, Kind Regards, *David De Grave* Senior Embedded Software Developer Gsm : +32(0)496.364.960 | Tel : +32-16-28.65.00 | Fax : +32-16-28a.65.01 Essensium-Mind <http://www.mind.be/> - Gaston Geenslaan 9, B-3001 Leuven, Belgium *>>> Visit our new website:* *https://www.mind.be/ <https://www.mind.be/>** <<<* -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180628/36310749/attachment.html>