| Summary: | gen_matypes fails to execute during build of Mesa when using cross toolchain | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Jim Persson <jim-bz> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | buildroot |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | x86 and x86_64 | Target: | i686 |
| Build: | |||
| Attachments: |
patch to build gen_matypes using the host compiler
Configuration file used in the test |
||
Created attachment 293 [details]
Configuration file used in the test
Thanks, committed |
Created attachment 291 [details] patch to build gen_matypes using the host compiler gen_matypes is built with the cross toolchain. In my case i was using the uClibc toolchain and gen_matypes is built depending on uClibc. gen_matypes is executed on the build host during the build in order to generate an .h-file. This execution fails if the build host does not have uClibc. A simple solution is to build gen_matypes using the host compiler. I have attached a proposed patch that fixes the problem: package/x11r7/mesa3d/mesa3d-7.2-gen_matypes-fix.patch Patch have been tested successfully on x86 and x86_64 build hosts using i686 as a target architecture.