* Kernel compile
@ 2002-12-23 18:38 jbhuffman
2002-12-24 11:16 ` Marcel Pol
2002-12-24 23:08 ` Markus
0 siblings, 2 replies; 10+ messages in thread
From: jbhuffman @ 2002-12-23 18:38 UTC (permalink / raw)
Is is possible to compile a kernel for redhat linux to run on an alpha
box on an intel box? I've been trying to do this for some time and
cannot get it to work. Any suggestion?
TIA,
Jarad
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Kernel compile
2002-12-23 18:38 Kernel compile jbhuffman
@ 2002-12-24 11:16 ` Marcel Pol
2002-12-24 19:43 ` Scott Wood
2002-12-24 23:08 ` Markus
1 sibling, 1 reply; 10+ messages in thread
From: Marcel Pol @ 2002-12-24 11:16 UTC (permalink / raw)
jbhuffman wrote:
> Is is possible to compile a kernel for redhat linux to run on an alpha
> box on an intel box? I've been trying to do this for some time and
> cannot get it to work. Any suggestion?
You need to cross-compile it then.
The problem is that gcc2 cannot cross-compile on a 32bit host for a 64bit
target. Gcc 3.0 also cannot do that I believe. I'm not sure if gcc 3.2 can
do that. I haven't looked at it recently, I just bought a bigger disk :-)
But you're not being very informative... What exactly have you been doing?
Like, which compiler do you use, and which problem do you run into?
--
Marcel Pol
Linux 2.4.20-2mdk.ringwrld.1, up 2 days, 20:21
Registered User #163523
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Kernel compile
2002-12-24 11:16 ` Marcel Pol
@ 2002-12-24 19:43 ` Scott Wood
2002-12-24 22:10 ` Marcel Pol
0 siblings, 1 reply; 10+ messages in thread
From: Scott Wood @ 2002-12-24 19:43 UTC (permalink / raw)
On Tue, 24 Dec 2002 12:16:17 +0100, Marcel Pol <devnull@chaosmongers.org> wrote:
> jbhuffman wrote:
>
>> Is is possible to compile a kernel for redhat linux to run on an alpha
>> box on an intel box? I've been trying to do this for some time and
>> cannot get it to work. Any suggestion?
>
> You need to cross-compile it then.
> The problem is that gcc2 cannot cross-compile on a 32bit host for a 64bit
> target. Gcc 3.0 also cannot do that I believe. I'm not sure if gcc 3.2 can
> do that. I haven't looked at it recently, I just bought a bigger disk :-)
I've compiled kernels for sparc64 on an x86 Linux box using gcc
3.0.1. 2.95.2 was also willing to make the attempt, but the results
were a bit buggy (in ways that appear unrelated to word size, such as
confusion between caller and callee saved registers). Given that
most Linux sparc distributions currently use a 32-bit userland, there
would be quite a few problems if what you say were correct.
OTOH, there may be alpha-specific issues, but 32->64 is not
universally broken.
-Scott
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Kernel compile
2002-12-24 19:43 ` Scott Wood
@ 2002-12-24 22:10 ` Marcel Pol
0 siblings, 0 replies; 10+ messages in thread
From: Marcel Pol @ 2002-12-24 22:10 UTC (permalink / raw)
Scott Wood wrote:
> On Tue, 24 Dec 2002 12:16:17 +0100, Marcel Pol <devnull@chaosmongers.org>
> wrote:
>> jbhuffman wrote:
>>
>>> Is is possible to compile a kernel for redhat linux to run on an alpha
>>> box on an intel box? I've been trying to do this for some time and
>>> cannot get it to work. Any suggestion?
>>
>> You need to cross-compile it then.
>> The problem is that gcc2 cannot cross-compile on a 32bit host for a 64bit
>> target. Gcc 3.0 also cannot do that I believe. I'm not sure if gcc 3.2
>> can do that. I haven't looked at it recently, I just bought a bigger disk
>> :-)
>
> I've compiled kernels for sparc64 on an x86 Linux box using gcc
> 3.0.1. 2.95.2 was also willing to make the attempt, but the results
> were a bit buggy (in ways that appear unrelated to word size, such as
> confusion between caller and callee saved registers). Given that
> most Linux sparc distributions currently use a 32-bit userland, there
> would be quite a few problems if what you say were correct.
>
> OTOH, there may be alpha-specific issues, but 32->64 is not
> universally broken.
Oh, ok. That was what I gathered, but maybe it was user error then, or
something else.
Thanks for correcting.
--
Marcel Pol
Linux 2.4.20-2mdk.ringwrld.1, up 3 days, 7:21
Registered User #163523
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Kernel compile
2002-12-23 18:38 Kernel compile jbhuffman
2002-12-24 11:16 ` Marcel Pol
@ 2002-12-24 23:08 ` Markus
2002-12-25 4:55 ` Angelo Brigante, Jr.
1 sibling, 1 reply; 10+ messages in thread
From: Markus @ 2002-12-24 23:08 UTC (permalink / raw)
hi !
maybe off-topic...
i'm using redhat 7.2 with the standard kernel (2.4.9 ?)
which kernel-sources should i download to have a more-or-less
uptodate version ? will 2.4.20 compile and run on alpha ?
thanks, markus
jbhuffman wrote:
> Is is possible to compile a kernel for redhat linux to run on an alpha
> box on an intel box? I've been trying to do this for some time and
> cannot get it to work. Any suggestion?
>
> TIA,
> Jarad
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Kernel compile
2002-12-24 23:08 ` Markus
@ 2002-12-25 4:55 ` Angelo Brigante, Jr.
2002-12-25 10:47 ` Måns Rullgård
0 siblings, 1 reply; 10+ messages in thread
From: Angelo Brigante, Jr. @ 2002-12-25 4:55 UTC (permalink / raw)
Markus wrote:
> which kernel-sources should i download to have a more-or-less
> uptodate version ? will 2.4.20 compile and run on alpha ?
Yes. I am running the Slackware Alpha port with a 2.4.20 kernel on a PWS
500a.
--
E-mail: The first three letters of my first name AT my last name DOT org
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Kernel compile
2002-12-25 4:55 ` Angelo Brigante, Jr.
@ 2002-12-25 10:47 ` Måns Rullgård
2003-01-05 19:37 ` Angelo Brigante, Jr.
0 siblings, 1 reply; 10+ messages in thread
From: Måns Rullgård @ 2002-12-25 10:47 UTC (permalink / raw)
"Angelo Brigante, Jr." <see@my.sig.invalid> writes:
> > which kernel-sources should i download to have a more-or-less
> > uptodate version ? will 2.4.20 compile and run on alpha ?
>
> Yes. I am running the Slackware Alpha port with a 2.4.20 kernel on a
> PWS 500a.
There's a bug in stxcpy (I think) for Alpha in 2.4.20. Maybe it
doesn't affect the ev56, but be careful anyway. It's fixed in
2.4.21-pre1.
--
M�ns Rullg�rd
mru@users.sf.net
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Kernel compile
2002-12-25 10:47 ` Måns Rullgård
@ 2003-01-05 19:37 ` Angelo Brigante, Jr.
2003-01-05 22:14 ` Falk Hueffner
0 siblings, 1 reply; 10+ messages in thread
From: Angelo Brigante, Jr. @ 2003-01-05 19:37 UTC (permalink / raw)
M�ns Rullg�rd wrote:
> "Angelo Brigante, Jr." <see@my.sig.invalid> writes:
>
>
>>>which kernel-sources should i download to have a more-or-less
>>>uptodate version ? will 2.4.20 compile and run on alpha ?
>>
>>Yes. I am running the Slackware Alpha port with a 2.4.20 kernel on a
>>PWS 500a.
>
>
> There's a bug in stxcpy (I think) for Alpha in 2.4.20. Maybe it
> doesn't affect the ev56, but be careful anyway. It's fixed in
> 2.4.21-pre1.
>
What does this bug affect? I've been having problems with the 2.4.20
kernel and reading CDs. A lot of the filenames are chopped off and the
files can't be read. If I go back to the 2.2.19 kernel all is well.
Probably something I have configured wrong.
--
E-mail: The first three letters of my first name AT my last name DOT org
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Kernel compile
2003-01-05 19:37 ` Angelo Brigante, Jr.
@ 2003-01-05 22:14 ` Falk Hueffner
2003-01-06 3:27 ` Angelo Brigante, Jr.
0 siblings, 1 reply; 10+ messages in thread
From: Falk Hueffner @ 2003-01-05 22:14 UTC (permalink / raw)
"Angelo Brigante, Jr." <see@my.sig.invalid> writes:
> M�ns Rullg�rd wrote:
> > There's a bug in stxcpy (I think) for Alpha in 2.4.20. Maybe it
> > doesn't affect the ev56, but be careful anyway. It's fixed in
> > 2.4.21-pre1.
>
>
> What does this bug affect? I've been having problems with the 2.4.20
> kernel and reading CDs. A lot of the filenames are chopped off and the
> files can't be read. If I go back to the 2.2.19 kernel all is
> well. Probably something I have configured wrong.
No, you've hit the stxcpy bug. Use 2.4.21-pre or 2.4.19.
--
Falk
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Kernel compile
2003-01-05 22:14 ` Falk Hueffner
@ 2003-01-06 3:27 ` Angelo Brigante, Jr.
0 siblings, 0 replies; 10+ messages in thread
From: Angelo Brigante, Jr. @ 2003-01-06 3:27 UTC (permalink / raw)
Falk Hueffner wrote:
> "Angelo Brigante, Jr." <see@my.sig.invalid> writes:
>
>
>>M�ns Rullg�rd wrote:
>>
>>>There's a bug in stxcpy (I think) for Alpha in 2.4.20. Maybe it
>>>doesn't affect the ev56, but be careful anyway. It's fixed in
>>>2.4.21-pre1.
>>
>>
>>What does this bug affect? I've been having problems with the 2.4.20
>>kernel and reading CDs. A lot of the filenames are chopped off and the
>>files can't be read. If I go back to the 2.2.19 kernel all is
>>well. Probably something I have configured wrong.
>
>
> No, you've hit the stxcpy bug. Use 2.4.21-pre or 2.4.19.
>
Thanks! 2.4.19 is working great. I should have headed M�ns's advice earlier.
--
E-mail: The first three letters of my first name AT my last name DOT org
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-01-06 3:27 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-23 18:38 Kernel compile jbhuffman
2002-12-24 11:16 ` Marcel Pol
2002-12-24 19:43 ` Scott Wood
2002-12-24 22:10 ` Marcel Pol
2002-12-24 23:08 ` Markus
2002-12-25 4:55 ` Angelo Brigante, Jr.
2002-12-25 10:47 ` Måns Rullgård
2003-01-05 19:37 ` Angelo Brigante, Jr.
2003-01-05 22:14 ` Falk Hueffner
2003-01-06 3:27 ` Angelo Brigante, Jr.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox