public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PROBLEM: while building kernel 2.6.8.1. for Alpha (Miata)
@ 2004-10-16 15:09 Erwin Schoenmakers
  2004-10-16 15:17 ` Ivan Kokshaysky
  0 siblings, 1 reply; 6+ messages in thread
From: Erwin Schoenmakers @ 2004-10-16 15:09 UTC (permalink / raw)
  To: linux-kernel


Dear Kernel Developers,

PROBLEM: while building kernel 2.6.8.1. for Alpha (Miata)

I first have configured the linux kernel using menuconfig option.
When I try to build linux kernel 2.6.8.1. on a DEC Alpha (Miata) on
Debian Linux 3.0r2 the following error occurs:

CC        arch/alpha/kernel/traps.o
arch/alpha/kernel/traps.c: In function `opDEC_check':
arch/alpha/kernel/traps.c:55: parse error before `['
make[1]: *** [arch/alpha/kernel/traps.o] Error 1
make: *** [arch/alpha/kernel] Error 2

What could be wrong?

Do I need to install another version of the gnu compiler/assembler?
I have installed:
   gcc version 2.95.4
   as version 2.12.90.0.1 using BFD version 2.12.90.0.1

Best Regards,

Erwin Schoenmakers










^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM: while building kernel 2.6.8.1. for Alpha (Miata)
  2004-10-16 15:09 PROBLEM: while building kernel 2.6.8.1. for Alpha (Miata) Erwin Schoenmakers
@ 2004-10-16 15:17 ` Ivan Kokshaysky
  2004-10-16 15:30   ` Adrian Bunk
  0 siblings, 1 reply; 6+ messages in thread
From: Ivan Kokshaysky @ 2004-10-16 15:17 UTC (permalink / raw)
  To: Erwin Schoenmakers; +Cc: linux-kernel

On Sat, Oct 16, 2004 at 05:09:22PM +0200, Erwin Schoenmakers wrote:
> Do I need to install another version of the gnu compiler/assembler?
> I have installed:
>    gcc version 2.95.4
>    as version 2.12.90.0.1 using BFD version 2.12.90.0.1

Yes. Your toolchain is way too old.

Ivan.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM: while building kernel 2.6.8.1. for Alpha (Miata)
  2004-10-16 15:17 ` Ivan Kokshaysky
@ 2004-10-16 15:30   ` Adrian Bunk
  2004-10-16 15:58     ` Ivan Kokshaysky
  0 siblings, 1 reply; 6+ messages in thread
From: Adrian Bunk @ 2004-10-16 15:30 UTC (permalink / raw)
  To: Ivan Kokshaysky; +Cc: Erwin Schoenmakers, linux-kernel

On Sat, Oct 16, 2004 at 07:17:04PM +0400, Ivan Kokshaysky wrote:
> On Sat, Oct 16, 2004 at 05:09:22PM +0200, Erwin Schoenmakers wrote:
> > Do I need to install another version of the gnu compiler/assembler?
> > I have installed:
> >    gcc version 2.95.4
> >    as version 2.12.90.0.1 using BFD version 2.12.90.0.1
> 
> Yes. Your toolchain is way too old.

What are the required versions on Alpha?

According to Documentation/Changes, Erwin's versions were OK.

> Ivan.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM: while building kernel 2.6.8.1. for Alpha (Miata)
  2004-10-16 15:30   ` Adrian Bunk
@ 2004-10-16 15:58     ` Ivan Kokshaysky
  2004-10-16 17:21       ` Adrian Bunk
  0 siblings, 1 reply; 6+ messages in thread
From: Ivan Kokshaysky @ 2004-10-16 15:58 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Erwin Schoenmakers, linux-kernel

On Sat, Oct 16, 2004 at 05:30:17PM +0200, Adrian Bunk wrote:
> What are the required versions on Alpha?

IIRC, gcc >= 3.3.4, binutils >= 2.13.

> According to Documentation/Changes, Erwin's versions were OK.

Probably it needs to be updated. I doubt if these versions
work on x86_64 at all, for example.

Ivan.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM: while building kernel 2.6.8.1. for Alpha (Miata)
  2004-10-16 15:58     ` Ivan Kokshaysky
@ 2004-10-16 17:21       ` Adrian Bunk
  2004-10-16 22:06         ` Ivan Kokshaysky
  0 siblings, 1 reply; 6+ messages in thread
From: Adrian Bunk @ 2004-10-16 17:21 UTC (permalink / raw)
  To: Ivan Kokshaysky; +Cc: Erwin Schoenmakers, linux-kernel

On Sat, Oct 16, 2004 at 07:58:47PM +0400, Ivan Kokshaysky wrote:
> On Sat, Oct 16, 2004 at 05:30:17PM +0200, Adrian Bunk wrote:
> > What are the required versions on Alpha?
> 
> IIRC, gcc >= 3.3.4, binutils >= 2.13.

The gcc dependency sounds pretty tough.

Why isn't even gcc 3.3.3 able to produce a kernel on Alpha?

> > According to Documentation/Changes, Erwin's versions were OK.
> 
> Probably it needs to be updated. I doubt if these versions
> work on x86_64 at all, for example.

That's the smaller problem. Since you can't build a gcc 2.95 for amd64 
noone can try using it for building the kernel...

> Ivan.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PROBLEM: while building kernel 2.6.8.1. for Alpha (Miata)
  2004-10-16 17:21       ` Adrian Bunk
@ 2004-10-16 22:06         ` Ivan Kokshaysky
  0 siblings, 0 replies; 6+ messages in thread
From: Ivan Kokshaysky @ 2004-10-16 22:06 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: Erwin Schoenmakers, linux-kernel

On Sat, Oct 16, 2004 at 07:21:54PM +0200, Adrian Bunk wrote:
> The gcc dependency sounds pretty tough.

Sorry, I was thinking of some miscompilation problems unrelated to kernel.
 
> Why isn't even gcc 3.3.3 able to produce a kernel on Alpha?

Actually, gcc 3.1 should be sufficient.

Ivan.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-10-16 22:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-16 15:09 PROBLEM: while building kernel 2.6.8.1. for Alpha (Miata) Erwin Schoenmakers
2004-10-16 15:17 ` Ivan Kokshaysky
2004-10-16 15:30   ` Adrian Bunk
2004-10-16 15:58     ` Ivan Kokshaysky
2004-10-16 17:21       ` Adrian Bunk
2004-10-16 22:06         ` Ivan Kokshaysky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox