Neil Williams wrote: > Package: mesa > Version: 7.0.2-2 > Severity: normal > User: [EMAIL PROTECTED] > Usertags: crossbuilt > > *** Please type your report below this line *** > > mesa appears to configure the package according to the DEB_BUILD_GNU_TYPE > which leads to bizarre behaviour when trying to cross build. > e.g. trying to cross build for arm in each case: > amd64 uses -m64 which is not recognised by arm-linux-gnu-gcc > i386 attempts to build x86 code > powerpc - appears to proceed. > > When cross building for arm, the package should configure as it would > on an arm box, independent of which architecture is being used to build > for arm. > > Some of the detection code may need to be changed upstream but during a > normal Debian build, --build == --host so this should not be difficult. > > To cross build, mesa needs to look at the --host argument and maybe > fallback to --build only if --host is not given or is the same as > --build. >
The Mesa build system is horrible, I don't think anybody in the team will seriously want to look at this problem unfortunately. There is a bit of work being done upstream to cleanup things, but it will take time... Brice -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

