Mailinglist Archive: opensuse-kernel (119 mails)
| < Previous | Next > |
Re: [opensuse-kernel] Issues with USB 2.0 on one machine.
- From: Jan Kara <jack@xxxxxxx>
- Date: Thu, 30 Aug 2007 10:29:18 +0200
- Message-id: <20070830082918.GA16336@xxxxxxxxxxxx>
On Wed 29-08-07 20:54:16, Martin Møller wrote:
> Well... make menuconfig worked, but subsequent build of the kernel failed... 2.5 need gcc 3.<something>, doesn't it?
>
> I have disabled module support, but running 'make bzImage' results in the following with gcc 4.2
<snip>
> gcc -Wp,-MD,./.sched.o.d -D__KERNEL__ -I/usr/src/TESTS/linux-2.5.37/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/TESTS/linux-2.5.37/arch/i386/mach-generic -nostdinc -iwithprefix include -fno-omit-frame-pointer -DKBUILD_BASENAME=sched -c -o sched.o sched.c
> In file included from /usr/src/TESTS/linux-2.5.37/include/asm/thread_info.h:13,
> from /usr/src/TESTS/linux-2.5.37/include/linux/thread_info.h:11,
> from /usr/src/TESTS/linux-2.5.37/include/linux/spinlock.h:12,
> from /usr/src/TESTS/linux-2.5.37/include/linux/capability.h:44,
> from /usr/src/TESTS/linux-2.5.37/include/linux/sched.h:9,
> from /usr/src/TESTS/linux-2.5.37/include/linux/mm.h:4,
> from sched.c:19:
> /usr/src/TESTS/linux-2.5.37/include/asm/processor.h:80: error: array type has incomplete element type
...
Oh yes, even our SLES9 kernels are not compilable with gcc 4.2.
> At gcc.gnu.org I can find two versions of gcc 3:
>
> GCC 3.4.4 May 18, 2005
> GCC 3.3.6 May 3, 2005
>
> Given that I *do* have to compile a compiler, which one would be preferable for kernel builds?
>
> Should I go as low as 2.x?
In the README file in kernel tarball, there is usually written a version
of gcc the kernel is supposed to compile with. Or similar information
should be in Documentation/Changes.
As far as I remember gcc 2.95 was a norm for quite a long time. We even
packaged it to a separate package quite some time after newer versions were
available....
Honza
--
Jan Kara <jack@xxxxxxx>
SuSE CR Labs
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx
> Well... make menuconfig worked, but subsequent build of the kernel failed... 2.5 need gcc 3.<something>, doesn't it?
>
> I have disabled module support, but running 'make bzImage' results in the following with gcc 4.2
<snip>
> gcc -Wp,-MD,./.sched.o.d -D__KERNEL__ -I/usr/src/TESTS/linux-2.5.37/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -I/usr/src/TESTS/linux-2.5.37/arch/i386/mach-generic -nostdinc -iwithprefix include -fno-omit-frame-pointer -DKBUILD_BASENAME=sched -c -o sched.o sched.c
> In file included from /usr/src/TESTS/linux-2.5.37/include/asm/thread_info.h:13,
> from /usr/src/TESTS/linux-2.5.37/include/linux/thread_info.h:11,
> from /usr/src/TESTS/linux-2.5.37/include/linux/spinlock.h:12,
> from /usr/src/TESTS/linux-2.5.37/include/linux/capability.h:44,
> from /usr/src/TESTS/linux-2.5.37/include/linux/sched.h:9,
> from /usr/src/TESTS/linux-2.5.37/include/linux/mm.h:4,
> from sched.c:19:
> /usr/src/TESTS/linux-2.5.37/include/asm/processor.h:80: error: array type has incomplete element type
...
Oh yes, even our SLES9 kernels are not compilable with gcc 4.2.
> At gcc.gnu.org I can find two versions of gcc 3:
>
> GCC 3.4.4 May 18, 2005
> GCC 3.3.6 May 3, 2005
>
> Given that I *do* have to compile a compiler, which one would be preferable for kernel builds?
>
> Should I go as low as 2.x?
In the README file in kernel tarball, there is usually written a version
of gcc the kernel is supposed to compile with. Or similar information
should be in Documentation/Changes.
As far as I remember gcc 2.95 was a norm for quite a long time. We even
packaged it to a separate package quite some time after newer versions were
available....
Honza
--
Jan Kara <jack@xxxxxxx>
SuSE CR Labs
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx
| < Previous | Next > |