Comments (2)
Thanks for your report! Indeed the host directory is currently "polluted" with various build utilities that are needed for the toolchain build, but not for using the toolchain. We should clean them up. I think we should use the package-file-list.txt file to keep only the files that are installed by the toolchain packages.
However, what you're pointing about Bison is a real Buildroot bug: a SDK with host-bison installed is not properly fixed after relocate-sdk.sh.
from toolchains-builder.
Thanks for your report! Indeed the host directory is currently "polluted" with various build utilities that are needed for the toolchain build, but not for using the toolchain. We should clean them up. I think we should use the package-file-list.txt file to keep only the files that are installed by the toolchain packages.
Yes, makes sense.
However, what you're pointing about Bison is a real Buildroot bug: a SDK with host-bison installed is not properly fixed after relocate-sdk.sh.
Ah, I wasn't sure to which extent Buildroot toolchains support relocation since it gets complicated quite fast... but in the case of Bison it would seem enough to replace the bison
binary with a wrapper script that sets BISON_PKGDATADIR
based on this in src/output.c
:
char const *
pkgdatadir (void)
{
char const *cp = getenv ("BISON_PKGDATADIR");
return cp ? cp : PKGDATADIR;
}
from toolchains-builder.
Related Issues (20)
- Is it possible to add host tools to the SDK/ cross-tool chain ? HOT 1
- 'not found' Issue when trying to use toolchain HOT 1
- Document usage HOT 1
- [x86-core2] "CPU ISA level is lower than required" issue with glibc 2.33 HOT 4
- Support -no-canonical-prefixes argument to gcc HOT 3
- Big Endian Support? HOT 2
- riscv64/glibc lacks gdb HOT 1
- Add a more generic x86-64 toolchain HOT 15
- musl 1.2.2 builds HOT 1
- The aarch64 toolchain (gcc 10.2) isn't working HOT 6
- aclocal is broken for sparc64--glibc--stable-2021.11-1 HOT 3
- Toolchain platform name HOT 1
- Binutils 2.37 issue with bleeding-edge toolchain 2021.11-1 HOT 1
- Please support older kernels HOT 6
- GCC D cross-compiler HOT 1
- Builds for arm64 hosts HOT 10
- gold linker from binutils HOT 6
- 2021.11-1: mips64-n32 issues with glibc > 34 HOT 1
- why not have mips64-n64 HOT 2
- build-toolchain.sh doesn't flag all supported options HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from toolchains-builder.