2002-11-18 00:38:54

by Shanti Katta

[permalink] [raw]
Subject: Compiling packages from source on Ultrasparc

Hi,
I understand that userland is 32-bit on Ultrasparc. I am trying to
compile user-mode-linux on Ultrasparc, and I guess I need to compile it
in 32-bit mode for it to run as a normal user-level process. UML make
use of certain files in asm-{base-arch} during compilation. Now, to
compile uml in 32-bit mode, I did not include any flags in
makefiles(like -m64, -mcpu=ultrasparc) that would include 64-bit
specific asm code.
My question is that, what difference does it make when I compile UML, in
a sparc32 shell, as compared to the above process without executing the
sparc32 shell. I understand that if compiled in sparc32 shell, it
recognizes the host-arch as "sparc" instead of "sparc64". But other than
that, does it make any other difference? I am also not sure, which is
the right method for compiling UML.
Any pointers will be appreciated.

-Shanti




2002-11-18 01:16:09

by Ben Collins

[permalink] [raw]
Subject: Re: Compiling packages from source on Ultrasparc

On Sun, Nov 17, 2002 at 08:00:11PM -0500, Shanti Katta wrote:
> Hi,
> I understand that userland is 32-bit on Ultrasparc. I am trying to
> compile user-mode-linux on Ultrasparc, and I guess I need to compile it
> in 32-bit mode for it to run as a normal user-level process. UML make
> use of certain files in asm-{base-arch} during compilation. Now, to
> compile uml in 32-bit mode, I did not include any flags in
> makefiles(like -m64, -mcpu=ultrasparc) that would include 64-bit
> specific asm code.
> My question is that, what difference does it make when I compile UML, in
> a sparc32 shell, as compared to the above process without executing the
> sparc32 shell. I understand that if compiled in sparc32 shell, it
> recognizes the host-arch as "sparc" instead of "sparc64". But other than
> that, does it make any other difference? I am also not sure, which is
> the right method for compiling UML.
> Any pointers will be appreciated.

To compile it as a 32bit app, use the sparc32 wrapper to be safe, or
pass sparc as the target arch for UML.

--
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo - http://www.deqo.com/

2002-11-18 05:28:48

by David Miller

[permalink] [raw]
Subject: Re: Compiling packages from source on Ultrasparc

From: Shanti Katta <[email protected]>
Date: 17 Nov 2002 20:00:11 -0500

I understand that userland is 32-bit on Ultrasparc. I am trying to
compile user-mode-linux on Ultrasparc,

Maybe after you post about this ordeal 500 more times, someone
will answer.

2002-11-18 16:47:42

by Shanti Katta

[permalink] [raw]
Subject: Re: Compiling packages from source on Ultrasparc

On Mon, 2002-11-18 at 00:33, David S. Miller wrote:
> From: Shanti Katta <[email protected]>
> Date: 17 Nov 2002 20:00:11 -0500
>
> I understand that userland is 32-bit on Ultrasparc. I am trying to
> compile user-mode-linux on Ultrasparc,
>
> Maybe after you post about this ordeal 500 more times, someone
> will answer.
Take this to be posted 500 more times...does it really work?

-Shanti

2002-11-18 19:39:18

by David Miller

[permalink] [raw]
Subject: Re: Compiling packages from source on Ultrasparc

From: Shanti Katta <[email protected]>
Date: 18 Nov 2002 12:09:03 -0500

On Mon, 2002-11-18 at 00:33, David S. Miller wrote:
> Maybe after you post about this ordeal 500 more times, someone
> will answer.

Take this to be posted 500 more times...does it really work?

My point is that when you post a question 2 or more times
and nobody responds, posting the question some more isn't
going to arrive you at a response.

So please stop.

2002-11-18 23:18:08

by Shanti Katta

[permalink] [raw]
Subject: Re: Compiling packages from source on Ultrasparc

On Mon, 2002-11-18 at 14:41, David S. Miller wrote:

> My point is that when you post a question 2 or more times
> and nobody responds, posting the question some more isn't
> going to arrive you at a response.

I did receive some constructive responses to my posts and AFAIK I have
never posted the same question twice. Although, all those posts relate
to different aspects of the same problem.

> So please stop.

How else am I supposed to get help?

-Shanti