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

Re: Bug#328707: kernel-source-2.4.27: Compile fails



In-Reply-To=<20051029092747.GA31336@andebjor.csbnet.se>

micah <micah@riseup.net> [2005-10-29 02:26]:
>
> I had this same problem and solved it by changing my symlink for > /usr/bin/gcc to point to gcc-3.3 instead of 4.0 for the duration of > the 2.4 compile. Clearly this isn't the best solution, but its a > work-around.

I'm afraid this doesn't work for me as the compilation ends in the exact
same error message.

Horms wrote:
>
> Strange, kernel-source-2.4.27-11 should be using gcc-3.3, as I
> patched the top-level Makefile to do so. But I think I am seeing
> this problem too, so I guess there is a hole in there somewhere.

In my original report I had gcc pointing to gcc-4.0 but still you can
see that gcc-3.3 was used to compile process.c. I imagine that gcc-4.0
could have messed up earlier in the process and that this manifests
itself in this way when compiling process.c but, with my limited
knowledge in this area, this doesn't seem likely.

/Björn

I met this problem as well lately, and the way I "solved" it was to momentarily downgrade binutils from 2.16.1cvs20051117-1 (current version from Debian testing) to the version in Debian stable (2.15-6) (since the error is reported by the GNU assembler 'as'). It seems that there is a problem between gcc-3.3 and binutils (at least for 'as').

--
François Duranleau
LIGUM, Université de Montréal

"Just as a drop of water causes ripples in a pond,
 where there is anger and fear, there is conflict."
                                   - Folken, in _The Vision of Escaflowne_

Reply to: