[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#451648: mesa: configures for the build, not the host - broken cross builds.



Package: mesa
Version: 7.0.2-2
Severity: normal
User: codehelp@debian.org
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.

See also:
http://lists.debian.org/debian-devel/2007/11/msg00116.html

-- System Information:
Debian Release: lenny/sid
  APT prefers experimental
  APT policy: (500, 'experimental'), (500, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.22-3-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash


-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpXnD2P1ImYn.pgp
Description: PGP signature


Reply to: