Skip to contentSkip to conversation

New: gen_matypes fails to execute during build of Mesa when using cross toolchain

Buildroot bugzilla at busybox.net 1 participant 3 messages May 8, 2009 – May 19, 2009

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=323

Host: x86 and x86_64
Target: i686
Summary: gen_matypes fails to execute during build of Mesa when
using cross toolchain
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: spambox at nurd.se
CC: buildroot at uclibc.org
Estimated Hours: 0.1

Created an attachment (id=291)
--> (https://bugs.busybox.net/attachment.cgi?id=291)
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.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 323] gen_matypes fails to execute during build of Mesa when using cross toolchain

https://bugs.busybox.net/show_bug.cgi?id=323

--- Comment #1 from Jim Persson <[email protected]> 2009-05-08 08:02:21 UTC --- Created an attachment (id=293)
--> (https://bugs.busybox.net/attachment.cgi?id=293)
Configuration file used in the test

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 323] gen_matypes fails to execute during build of Mesa when using cross toolchain

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=323

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
    Remaining Hours|0.1                         |0.0
         Resolution|                            |FIXED

--- Comment #2 from Peter Korsgaard <[email protected]> 2009-05-19 15:35:35 UTC --- Thanks, committed

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.