Bug#323570: kernel-source-2.4.27: Build fails with default gcc 4.0

2005-08-19 Thread Horms
On Fri, Aug 19, 2005 at 02:59:05PM +0100, George B. wrote:
> On 8/19/05, Horms <[EMAIL PROTECTED]> wrote:
> > On Thu, Aug 18, 2005 at 01:05:10PM +0100, George B. wrote:
> > > On 8/18/05, Horms <[EMAIL PROTECTED]> wrote:
> > > >
> > > >
> > > > Yes, it should do just that.
> > >
> > > Sorry, which one? Automatically use gcc-3.3, or default to gcc-4.0?
> > 
> > Sorry for being unclear. If you build kernel-source-2.4.27 2.4.27-11
> > then it should use gcc-3.3 for the build, even if your default
> > gcc is gcc-4.0. To be more specific, if you inspect the makefile
> > you will see that it actually sets the compiler to be gcc-3.3,
> > rather than gcc.
> > 
> > Of course if you use a different Makefile, say to build
> > out of tree modules, or force the compiler to something else,
> > this system breaks down. I'm not sure there is a good solution to
> > that problem. But unpacking the kernel-source tar ball and doing
> > a build should work as long as you have gcc-3.3 installed,
> > which is a recomendation of the package.
> 
> Well, if it fails when building a module I will just go and bug the
> maintaner for that module source. ;-)

Thats pretty much what I was thinking needs to happen.
Lets see how it goes.

-- 
Horms


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#323570: kernel-source-2.4.27: Build fails with default gcc 4.0

2005-08-19 Thread George B.
On 8/19/05, Horms <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 18, 2005 at 01:05:10PM +0100, George B. wrote:
> > On 8/18/05, Horms <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > Yes, it should do just that.
> >
> > Sorry, which one? Automatically use gcc-3.3, or default to gcc-4.0?
> 
> Sorry for being unclear. If you build kernel-source-2.4.27 2.4.27-11
> then it should use gcc-3.3 for the build, even if your default
> gcc is gcc-4.0. To be more specific, if you inspect the makefile
> you will see that it actually sets the compiler to be gcc-3.3,
> rather than gcc.
> 
> Of course if you use a different Makefile, say to build
> out of tree modules, or force the compiler to something else,
> this system breaks down. I'm not sure there is a good solution to
> that problem. But unpacking the kernel-source tar ball and doing
> a build should work as long as you have gcc-3.3 installed,
> which is a recomendation of the package.

Well, if it fails when building a module I will just go and bug the
maintaner for that module source. ;-)

Thanks for your help.

George.



Bug#323570: kernel-source-2.4.27: Build fails with default gcc 4.0

2005-08-18 Thread Horms
On Thu, Aug 18, 2005 at 01:05:10PM +0100, George B. wrote:
> On 8/18/05, Horms <[EMAIL PROTECTED]> wrote:
> >
> > 
> > Yes, it should do just that.
> 
> Sorry, which one? Automatically use gcc-3.3, or default to gcc-4.0?

Sorry for being unclear. If you build kernel-source-2.4.27 2.4.27-11
then it should use gcc-3.3 for the build, even if your default
gcc is gcc-4.0. To be more specific, if you inspect the makefile
you will see that it actually sets the compiler to be gcc-3.3,
rather than gcc.

Of course if you use a different Makefile, say to build
out of tree modules, or force the compiler to something else,
this system breaks down. I'm not sure there is a good solution to
that problem. But unpacking the kernel-source tar ball and doing
a build should work as long as you have gcc-3.3 installed, 
which is a recomendation of the package.

-- 
Horms


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#323570: kernel-source-2.4.27: Build fails with default gcc 4.0

2005-08-18 Thread George B.
On 8/18/05, Horms <[EMAIL PROTECTED]> wrote:
>
>
> Yes, it should do just that.

Sorry, which one? Automatically use gcc-3.3, or default to gcc-4.0?



Bug#323570: kernel-source-2.4.27: Build fails with default gcc 4.0

2005-08-17 Thread George B.
On 8/17/05, Thiemo Seufer <[EMAIL PROTECTED]> wrote:
>
> The 2.4.27-11 uploaded today depends on gcc-3.3 and should solve that
> problem. (It is not yet installed in the archive but available from
> http://packages.vergenet.net/pending/ )

:-)

Will it automatically use gcc-3.3 when compiling? With me it defaulted
to gcc-4.0.


George.



Bug#323570: kernel-source-2.4.27: Build fails with default gcc 4.0

2005-08-17 Thread Thiemo Seufer
George B. wrote:
> Package: kernel-source-2.4.27
> Version: 2.4.27-10
> Severity: important
> 
> *** Please type your report below this line ***
> 
> Hello,
> 
> Submitting as promised in #31763.
> 
> The package depends on non-specific gcc. This is now gcc 4.0 by default.
> As discussed in #317637, build will fail unless gcc 3.2 is used.

The 2.4.27-11 uploaded today depends on gcc-3.3 and should solve that
problem. (It is not yet installed in the archive but available from
http://packages.vergenet.net/pending/ )


Thiemo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#323570: kernel-source-2.4.27: Build fails with default gcc 4.0

2005-08-17 Thread George B.
Package: kernel-source-2.4.27
Version: 2.4.27-10
Severity: important

*** Please type your report below this line ***

Hello,

Submitting as promised in #31763.

The package depends on non-specific gcc. This is now gcc 4.0 by default.
As discussed in #317637, build will fail unless gcc 3.2 is used.

Possible solutions:

1) Specific dependency on gcc 3.2. The problem is that /usr/bin/gcc may
well be linked to /usr/bin/gcc-4.0, as this is now required by quite a
few programs. I know that I had to manually re-symlink /usr/bin/gcc to
gcc-3 (not sure if it was 3.2, or 3.3 - sorry) in order to get it to
compile. I know that there is some sort of variable I could pass when
building, but I could not get that to work bor some reason.

2) Get it to build with 4.0 :-p


HTH,

George B.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27.20050707
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages kernel-source-2.4.27 depends on:
ii  binutils  2.16.1-2   The GNU assembler, linker and bina
ii  bzip2 1.0.2-8high-quality block-sorting file co
ii  coreutils [fileutils] 5.2.1-2The GNU core utilities

Versions of packages kernel-source-2.4.27 recommends:
ii  gcc   4:4.0.0-2  The GNU C compiler
ii  libc6-dev [libc-dev]  2.3.5-3GNU C Library: Development Librari
ii  make  3.80-9 The GNU version of the "make" util

-- no debconf information