Re: Long-term mass bug filing for crossbuild support

2007-11-21 Thread Pierre THIERRY
Scribit Neil Williams dies 13/11/2007 hora 17:02: If you want to build an ARM toolchain to crossbuild for amd64 I'm not going to stop you but don't expect me to debug it!! But do your tools make it already possible for me to just ask for the build of toolchains for an arbitrary list of target

Re: Long-term mass bug filing for crossbuild support

2007-11-21 Thread Neil Williams
Pierre THIERRY wrote: Scribit Neil Williams dies 13/11/2007 hora 17:02: If you want to build an ARM toolchain to crossbuild for amd64 I'm not going to stop you but don't expect me to debug it!! But do your tools make it already possible for me to just ask for the build of toolchains for an

Re: Long-term mass bug filing for crossbuild support

2007-11-13 Thread Pierre THIERRY
Scribit Neil Williams dies 11/11/2007 hora 12:44: Emdebian supports amd64, i386 and powerpc as --build. Why aren't all architectures supported by Debian supported? Curiously, Pierre -- [EMAIL PROTECTED] OpenPGP 0xD9D50D8A signature.asc Description: Digital signature

Re: Long-term mass bug filing for crossbuild support

2007-11-13 Thread Neil Williams
On Tue, 13 Nov 2007 17:34:45 +0100 Pierre THIERRY [EMAIL PROTECTED] wrote: Scribit Neil Williams dies 11/11/2007 hora 12:44: Emdebian supports amd64, i386 and powerpc as --build. Why aren't all architectures supported by Debian supported? ? Because I'm referring to --build, not --host ?

Re: Long-term mass bug filing for crossbuild support

2007-11-13 Thread Hector Oron
Hello Pierre, Emdebian supports amd64, i386 and powerpc as --build. Why aren't all architectures supported by Debian supported? Why would you want an ARM/MIPS/M68K build host if you can cross compile for them? Anyway, i believe all arches could be supported, but does not make much sense to

Re: Long-term mass bug filing for crossbuild support

2007-11-11 Thread Neil Williams
On Sun, 11 Nov 2007 00:19:41 +0100 Hendrik Sattler [EMAIL PROTECTED] wrote: Am Samstag 10 November 2007 schrieb Neil Williams: emdebian-tools will support any build system that can be used in debian/rules. The build system should configure itself using only the data provided by

Re: Long-term mass bug filing for crossbuild support

2007-11-10 Thread Kurt Roeckx
On Tue, Nov 06, 2007 at 10:50:51PM +0100, Mike Hommey wrote: AFAIK there's nothing to be fixed here. If you specify both --build and --host, autoconf sees this as a request for cross-compiling. Of course, invoking the native compiler as a cross-compiler should /generally/ give the same

Re: Long-term mass bug filing for crossbuild support

2007-11-10 Thread Hendrik Sattler
Am Dienstag 06 November 2007 schrieb Neil Williams: The most common change is simply to retrieve the cross-building metadata from dpkg-architecture in debian/rules: http://wiki.debian.org/EmdebianGuide Does Emdebian support upcoming cmake-2.6 cross-compile support or is this planned? See:

Re: Long-term mass bug filing for crossbuild support

2007-11-10 Thread Neil Williams
On Sat, 10 Nov 2007 15:02:31 +0100 Hendrik Sattler [EMAIL PROTECTED] wrote: Am Dienstag 06 November 2007 schrieb Neil Williams: The most common change is simply to retrieve the cross-building metadata from dpkg-architecture in debian/rules: http://wiki.debian.org/EmdebianGuide Does

Re: Long-term mass bug filing for crossbuild support

2007-11-10 Thread Hendrik Sattler
Am Samstag 10 November 2007 schrieb Neil Williams: On Sat, 10 Nov 2007 15:02:31 +0100 Hendrik Sattler [EMAIL PROTECTED] wrote: Am Dienstag 06 November 2007 schrieb Neil Williams: The most common change is simply to retrieve the cross-building metadata from dpkg-architecture in

Re: Long-term mass bug filing for crossbuild support

2007-11-08 Thread Thiemo Seufer
Neil Williams wrote: [snip] As noted elsewhere in this thread, --build can be specified alone but is usually only used for specialist builds for i686 on i386 etc. I fail to see the merit of proposing that packages add --build to the normal Debian build for no reason. One reason is that a

Re: Long-term mass bug filing for crossbuild support

2007-11-07 Thread Neil Williams
On Tue, 06 Nov 2007 17:18:57 -0800 Russ Allbery [EMAIL PROTECTED] wrote: Neil Williams [EMAIL PROTECTED] writes: The most common change is simply to retrieve the cross-building metadata from dpkg-architecture in debian/rules: http://wiki.debian.org/EmdebianGuide

Re: Long-term mass bug filing for crossbuild support

2007-11-07 Thread Neil Williams
On Wed, 07 Nov 2007 09:43:34 -0800 Russ Allbery [EMAIL PROTECTED] wrote: Neil Williams [EMAIL PROTECTED] writes: Russ Allbery [EMAIL PROTECTED] wrote: This is a bad suggestion and was apparently made without referring to the existing Debian instructions for how to handle packages that

Re: Long-term mass bug filing for crossbuild support

2007-11-07 Thread Mike Hommey
On Wed, Nov 07, 2007 at 09:43:34AM -0800, Russ Allbery wrote: Neil Williams [EMAIL PROTECTED] writes: Russ Allbery [EMAIL PROTECTED] wrote: This is a bad suggestion and was apparently made without referring to the existing Debian instructions for how to handle packages that use Autoconf

Re: Long-term mass bug filing for crossbuild support

2007-11-07 Thread Neil Williams
On Wed, 7 Nov 2007 12:05:55 -0500 Steve Langasek [EMAIL PROTECTED] wrote: No, it's used to prevent upstream packages from *wrongly* building for i686 on the i386 architecture, as I've now stated several times in this thread. But why should that be added as part of a fix for cross-building? It

Re: Long-term mass bug filing for crossbuild support

2007-11-07 Thread Russ Allbery
Neil Williams [EMAIL PROTECTED] writes: Russ Allbery [EMAIL PROTECTED] wrote: This is a bad suggestion and was apparently made without referring to the existing Debian instructions for how to handle packages that use Autoconf and friends. Your assumption is wrong, I'm afraid. For one reason

Re: Long-term mass bug filing for crossbuild support

2007-11-07 Thread Felipe Sateler
Neil Williams wrote: As noted elsewhere in this thread, --build can be specified alone but is usually only used for specialist builds for i686 on i386 etc. I fail to see the merit of proposing that packages add --build to the normal Debian build for no reason. As also noted elsewhere on this

Re: Long-term mass bug filing for crossbuild support

2007-11-07 Thread Neil Williams
On Wed, 7 Nov 2007 20:06:55 +0100 Mike Hommey [EMAIL PROTECTED] wrote: How about making the snippet available in a .mk file that could just be included, so that whenever there is an enhancement, everyone can take advantage of it (but then, the snippet would need extra care to stay

Re: Long-term mass bug filing for crossbuild support

2007-11-07 Thread Gabor Gombas
On Wed, Nov 07, 2007 at 06:54:04PM +, Neil Williams wrote: So it is preferable for me to add --build to native builds even in a patch that is meant to only affect the cross build? I'm sure some maintainers will query why I'm setting --build outside the crossbuild. Provide two distinct

Re: Long-term mass bug filing for crossbuild support

2007-11-07 Thread Steve Langasek
On Wed, Nov 07, 2007 at 08:18:12AM +, Neil Williams wrote: Actually, /usr/share/doc/autotools-dev/README.Debian.gz differs from that by specifying $(confflags) instead of SYSTEM and using 'export'. I don't see what benefit arises from the only other difference, ?= instead of =. When

Re: Long-term mass bug filing for crossbuild support

2007-11-07 Thread Russ Allbery
Neil Williams [EMAIL PROTECTED] writes: Russ Allbery [EMAIL PROTECTED] wrote: Well, then I'm even more mystified as to why you contradicted those instructions and told people not to pass --build to configure for non-cross-compile builds. So it is preferable for me to add --build to native

Long-term mass bug filing for crossbuild support

2007-11-06 Thread Neil Williams
This is one of the changes sought by Emdebian to support using Debian on embedded devices where storage space is far from cheap and involves running counter to the current Debian default of install everything that works, every time, every package.

Re: Long-term mass bug filing for crossbuild support

2007-11-06 Thread Steve Langasek
On Tue, Nov 06, 2007 at 01:04:48PM +, Neil Williams wrote: Emdebian has currently built 91 Debian source packages in the preparation of the basic root filesystem and other testing of the toolset. All of those have involved some level of patches to support cross-building with CDBS packages

Re: Long-term mass bug filing for crossbuild support

2007-11-06 Thread Mike Hommey
On Tue, Nov 06, 2007 at 01:04:48PM +, Neil Williams wrote: This is one of the changes sought by Emdebian to support using Debian on embedded devices where storage space is far from cheap and involves running counter to the current Debian default of install everything that works, every

Re: Long-term mass bug filing for crossbuild support

2007-11-06 Thread Neil Williams
On Tue, 6 Nov 2007 13:08:30 -0500 Steve Langasek [EMAIL PROTECTED] wrote: On Tue, Nov 06, 2007 at 01:04:48PM +, Neil Williams wrote: Emdebian has currently built 91 Debian source packages in the preparation of the basic root filesystem and other testing of the toolset. All of those

Re: Long-term mass bug filing for crossbuild support

2007-11-06 Thread Neil Williams
On Tue, 6 Nov 2007 19:35:41 +0100 Mike Hommey [EMAIL PROTECTED] wrote: On Tue, Nov 06, 2007 at 01:04:48PM +, Neil Williams wrote: The most common change is simply to retrieve the cross-building metadata from dpkg-architecture in debian/rules: http://wiki.debian.org/EmdebianGuide

Re: Long-term mass bug filing for crossbuild support

2007-11-06 Thread Steve Langasek
On Tue, Nov 06, 2007 at 07:23:39PM +, Neil Williams wrote: On Tue, 6 Nov 2007 19:35:41 +0100 Mike Hommey [EMAIL PROTECTED] wrote: On Tue, Nov 06, 2007 at 01:04:48PM +, Neil Williams wrote: The most common change is simply to retrieve the cross-building metadata from

Re: Long-term mass bug filing for crossbuild support

2007-11-06 Thread Mike Hommey
On Tue, Nov 06, 2007 at 02:52:37PM -0500, Steve Langasek wrote: On Tue, Nov 06, 2007 at 07:23:39PM +, Neil Williams wrote: On Tue, 6 Nov 2007 19:35:41 +0100 Mike Hommey [EMAIL PROTECTED] wrote: On Tue, Nov 06, 2007 at 01:04:48PM +, Neil Williams wrote: The most common

Re: Long-term mass bug filing for crossbuild support

2007-11-06 Thread Mike Hommey
On Tue, Nov 06, 2007 at 03:13:58PM -0500, Steve Langasek wrote: On Tue, Nov 06, 2007 at 09:07:54PM +0100, Mike Hommey wrote: There is no need to specify --host when not cross-compiling, and specifying it will result in autoconf believing that the compiler should be invoked as a

Re: Long-term mass bug filing for crossbuild support

2007-11-06 Thread Steve Langasek
On Tue, Nov 06, 2007 at 09:07:54PM +0100, Mike Hommey wrote: There is no need to specify --host when not cross-compiling, and specifying it will result in autoconf believing that the compiler should be invoked as a cross-compiler. Sometimes this has strange side effects as well. Hadn't

Re: Long-term mass bug filing for crossbuild support

2007-11-06 Thread Neil Williams
On Tue, 6 Nov 2007 14:52:37 -0500 Steve Langasek [EMAIL PROTECTED] wrote: On Tue, Nov 06, 2007 at 07:23:39PM +, Neil Williams wrote: Shouldn't packages be using these --build and --host arguments already even if not cross-building ? No. There is no need to specify --build and

Re: Long-term mass bug filing for crossbuild support

2007-11-06 Thread Russ Allbery
Neil Williams [EMAIL PROTECTED] writes: The most common change is simply to retrieve the cross-building metadata from dpkg-architecture in debian/rules: http://wiki.debian.org/EmdebianGuide DEB_HOST_GNU_TYPE=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE=$(shell