linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ELDK 3.1.1 support for x86_64 host architecture
@ 2005-04-13 22:35 larry_chen
  2005-04-14  5:48 ` Wolfgang Denk
  0 siblings, 1 reply; 9+ messages in thread
From: larry_chen @ 2005-04-13 22:35 UTC (permalink / raw)
  To: linuxppc-embedded


I've noticed that the ELDK build and install scripts do NOT
support x86_64 host architecture.

What support for x86_64 host architecture ever attempted
by anyone?

Thanks in advance.

Regards,
Larry

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

* Re: ELDK 3.1.1 support for x86_64 host architecture
  2005-04-13 22:35 larry_chen
@ 2005-04-14  5:48 ` Wolfgang Denk
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Denk @ 2005-04-14  5:48 UTC (permalink / raw)
  To: larry_chen; +Cc: linuxppc-embedded

In message <26F517960E0A454BAC0748B5C33D5DEA18A722@wcosmb05.cos.agilent.com> you wrote:
> 
> I've noticed that the ELDK build and install scripts do NOT
> support x86_64 host architecture.

Which sort of host system is this (Processor(s), RAM, Linux distribution) ?

> What support for x86_64 host architecture ever attempted
> by anyone?

It works fine here on several Athlon / Opteron systems running Fedora
Core 2 and Fedora Core 3; for example:

-> cat /etc/issue
Fedora Core release 2 (Tettnang)
Kernel \r on an \m

-> uname -a
Linux pollux 2.6.10-1.770_FC2smp #1 SMP Sat Feb 26 19:46:59 EST 2005 x86_64 x86_64 x86_64 GNU/Linux
-> cat /proc/cpuinfo 
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 5
model name      : AMD Opteron(tm) Processor 246
stepping        : 10
cpu MHz         : 2004.596
cache size      : 1024 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 pni syscall nx mmxext lm 3dnowext 3dnow
bogomips        : 3940.35
TLB size        : 1088 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 5
model name      : AMD Opteron(tm) Processor 246
stepping        : 10
cpu MHz         : 2004.596
cache size      : 1024 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 pni syscall nx mmxext lm 3dnowext 3dnow
bogomips        : 4005.88
TLB size        : 1088 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

-> type ppc_8xx-gcc
ppc_8xx-gcc is /opt/eldk/usr/bin/ppc_8xx-gcc
-> ppc_8xx-gcc -v
Reading specs from /opt/eldk-3.1.1/usr/bin/../lib/gcc-lib/ppc-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --with-newlib --enable-languages=c,c++ --disable-libgcj --host=i386-redhat-linux --target=ppc-linux
Thread model: posix
gcc version 3.3.3 (DENX ELDK 3.1.1 3.3.3-9)


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Neckties strangle clear thinking.                       -- Lin Yutang

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

* RE: ELDK 3.1.1 support for x86_64 host architecture
@ 2005-04-14 21:09 larry_chen
  0 siblings, 0 replies; 9+ messages in thread
From: larry_chen @ 2005-04-14 21:09 UTC (permalink / raw)
  To: wd, larry_chen; +Cc: linuxppc-embedded

Hi Wolfgang,

I have tried both an install and a build from scratch of v3.1.1;
both fail due to various scripting problems having to due with
unsupported HOST_ARCH of x86_64.

Below is a cut and paste of the install failure. I don't have
the build from scratch failure at the moment (but the initial failures =
were
in ELDK_BUILD and build.sh scripts; search ELDK_BUILD and
build.sh for uname -m and HOST_ARCH. You'll see what I mean :)

[larrchen@rslab46 opt]$ ls -l
total 24
drwxr-xr-x  2 larrchen root 4096 Apr 14 13:46 eldk2
[larrchen@rslab46 opt]$ cd /media/cdrom
[larrchen@rslab46 cdrom]$ ls
brandelf       ELDK_MAKEDEV  install    ppc_6xx   ppc_8xx      sys
common         etc           ppc_4xx    ppc_74xx  README.html  tools
ELDK_FIXOWNER  icons         ppc_4xxFP  ppc_85xx  RPMS         version
[larrchen@rslab46 cdrom]$ ./install -d /opt/eldk2


Do you really want to install into /opt/eldk2 directory[y/n]?: y

Creating directories
Done
Installing cross RPMs

Preparing...                ########################################### =
[100%]
        package rpm-4.1.1-1.8xa_10 is intended for a i386 architecture
can't change dir: No such file or directory
[larrchen@rslab46 cdrom]$

Also, here is soem info on my host machine.

[root@rslab46 cdrom]# cat /etc/issue
Fedora Core release 3 (Heidelberg)
Kernel \r on an \m

[larrchen@rslab46 opt]$ ls -l
[larrchen@rslab46 ~]$ uname -m
x86_64
[larrchen@rslab46 ~]$ uname -a
Linux rslab46.scs.agilent.com 2.6.11-1.14_FC3smp #1 SMP Thu Apr 7 =
19:36:23 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux
[larrchen@rslab46 ~]$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      :                   Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 1
cpu MHz         : 2800.205
cache size      : 1024 KB
physical id     : 0
siblings        : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge =
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall =
lm pni monitor ds_cpl cid cx16 xtpr
bogomips        : 5521.40
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:


processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      :                   Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 1
cpu MHz         : 2800.205
cache size      : 1024 KB
physical id     : 0
siblings        : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge =
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall =
lm pni monitor ds_cpl cid cx16 xtpr
bogomips        : 5586.94
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:

Thanks for your help in this matter.

Best Regards,
Larry Chen

-----Original Message-----
From: wd@denx.de [mailto:wd@denx.de]
Sent: Wednesday, April 13, 2005 10:49 PM
To: larry_chen@agilent.com
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: ELDK 3.1.1 support for x86_64 host architecture=20


In message =
<26F517960E0A454BAC0748B5C33D5DEA18A722@wcosmb05.cos.agilent.com> you =
wrote:
>=20
> I've noticed that the ELDK build and install scripts do NOT
> support x86_64 host architecture.

Which sort of host system is this (Processor(s), RAM, Linux =
distribution) ?

> What support for x86_64 host architecture ever attempted
> by anyone?

It works fine here on several Athlon / Opteron systems running Fedora
Core 2 and Fedora Core 3; for example:

-> cat /etc/issue
Fedora Core release 2 (Tettnang)
Kernel \r on an \m

-> uname -a
Linux pollux 2.6.10-1.770_FC2smp #1 SMP Sat Feb 26 19:46:59 EST 2005 =
x86_64 x86_64 x86_64 GNU/Linux
-> cat /proc/cpuinfo=20
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 5
model name      : AMD Opteron(tm) Processor 246
stepping        : 10
cpu MHz         : 2004.596
cache size      : 1024 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge =
mca cmov pat pse36 clflush mmx fxsr sse sse2 pni syscall nx mmxext lm =
3dnowext 3dnow
bogomips        : 3940.35
TLB size        : 1088 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

processor       : 1
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 5
model name      : AMD Opteron(tm) Processor 246
stepping        : 10
cpu MHz         : 2004.596
cache size      : 1024 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge =
mca cmov pat pse36 clflush mmx fxsr sse sse2 pni syscall nx mmxext lm =
3dnowext 3dnow
bogomips        : 4005.88
TLB size        : 1088 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

-> type ppc_8xx-gcc
ppc_8xx-gcc is /opt/eldk/usr/bin/ppc_8xx-gcc
-> ppc_8xx-gcc -v
Reading specs from =
/opt/eldk-3.1.1/usr/bin/../lib/gcc-lib/ppc-linux/3.3.3/specs
Configured with: ../configure --prefix=3D/usr --mandir=3D/usr/share/man =
--infodir=3D/usr/share/info --enable-shared --enable-threads=3Dposix =
--disable-checking --with-system-zlib --enable-__cxa_atexit =
--with-newlib --enable-languages=3Dc,c++ --disable-libgcj =
--host=3Di386-redhat-linux --target=3Dppc-linux
Thread model: posix
gcc version 3.3.3 (DENX ELDK 3.1.1 3.3.3-9)


Best regards,

Wolfgang Denk

--=20
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Neckties strangle clear thinking.                       -- Lin Yutang

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

* ELDK 3.1.1 support for x86_64 host architecture
@ 2006-08-04  0:11 Michael Carey
  2006-08-04 20:11 ` Wolfgang Denk
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Carey @ 2006-08-04  0:11 UTC (permalink / raw)
  To: linuxppc-embedded

I found the subject "ELDK 3.1.1 support for x86_64 host architecture" in =
the archives (Apr 15 2005) which describes my problem, however there was =
never any posting of a resolution.

When I attempt to run: "./install -d /opt/eldk" I get the following =
output:

Do you really want to install into /opt/eldk directory[y/n]?: y

Creating directories
Done
Installing cross RPMs

Preparing...                ########################################### =
[100%]
        package rpm-4.1.1-1.8xa_10 is intended for a i386 architecture
can't change dir: No such file or directory

The details on my system are:

mcarey@mmtdev:~> cat /etc/issue

Welcome to SUSE LINUX 10.1 (X86-64) - Kernel \r (\l).

mcarey@mmtdev:~> uname -a
Linux mmtdev 2.6.16.13-4-default #1 Wed May 3 04:53:23 UTC 2006 x86_64 =
x86_64 x86_64 GNU/Linux
mcarey@mmtdev:~> cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      :               Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping        : 1
cpu MHz         : 3065.612
cache size      : 1024 KB
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca =
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm =
constant_tsc pni monitor ds_cpl tm2 cid cx16 xtpr
bogomips        : 6140.72
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:

//
Thanks for any help you could provide,
Michael Carey

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

* Re: ELDK 3.1.1 support for x86_64 host architecture
  2006-08-04  0:11 ELDK 3.1.1 support for x86_64 host architecture Michael Carey
@ 2006-08-04 20:11 ` Wolfgang Denk
  2006-08-04 20:43   ` Frank
  2006-08-04 21:00   ` Ben Warren
  0 siblings, 2 replies; 9+ messages in thread
From: Wolfgang Denk @ 2006-08-04 20:11 UTC (permalink / raw)
  To: Michael Carey; +Cc: linuxppc-embedded

In message <44D22E43020000710000243E@webmail.nearfield.com> you wrote:
> I found the subject "ELDK 3.1.1 support for x86_64 host architecture" in the archives (Apr 15 2005) which describes my problem, however there was never any posting of a resolution.

There was none, as  there  is  no  problem.  ELDK  3.1.1  (and  later
versions)  runs  fine on x86_64 hosts, assuming you're using any sane
Linux distribution. For example:

-> ppc_8xx-gcc -v
Reading specs from /opt/eldk-3.1.1/usr/bin/../lib/gcc-lib/ppc-linux/3.3.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --with-newlib --enable-languages=c,c++ --disable-libgcj --host=i386-redhat-linux --target=ppc-linux
Thread model: posix
gcc version 3.3.3 (DENX ELDK 3.1.1 3.3.3-9)
------------------------^^^^^^^^^^
-> uname -a
Linux pollux.denx.de 2.6.10-1.771_FC2smp #1 SMP Mon Mar 28 01:05:47 EST 2005 x86_64 x86_64 x86_64 GNU/Linux
-----------------------------------------------------------------------------^^^^^^
-> cat /etc/issue
Fedora Core release 2 (Tettnang)
...

>         package rpm-4.1.1-1.8xa_10 is intended for a i386 architecture

Your Linux distro is kind of broken.

> The details on my system are:
...
> Welcome to SUSE LINUX 10.1 (X86-64) - Kernel \r (\l).

Yes, SuSE has always found interesting ways to  break  compatibility.
That's  why  I avoid it. IIRC, SuSE provides a special tool "linux32"
which has to be used to run 32-bit applications on a x86_64 system.

Don't ask  me  why  they  need  it.  Other  distros  run  the  32-bit
applications just fine without such intricacy.



Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
There are very few personal problems that cannot be solved through  a
suitable application of high explosives.

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

* Re: ELDK 3.1.1 support for x86_64 host architecture
  2006-08-04 20:11 ` Wolfgang Denk
@ 2006-08-04 20:43   ` Frank
  2006-08-05 19:32     ` Wolfgang Denk
  2006-08-04 21:00   ` Ben Warren
  1 sibling, 1 reply; 9+ messages in thread
From: Frank @ 2006-08-04 20:43 UTC (permalink / raw)
  To: Wolfgang Denk, Michael Carey; +Cc: linuxppc-embedded



--- Wolfgang Denk <wd@denx.de> wrote:

> In message <44D22E43020000710000243E@webmail.nearfield.com>
> you wrote:
> > I found the subject "ELDK 3.1.1 support for x86_64 host
> architecture" in the archives (Apr 15 2005) which describes my
> problem, however there was never any posting of a resolution.
> 
> There was none, as  there  is  no  problem.  ELDK  3.1.1  (and
>  later
> versions)  runs  fine on x86_64 hosts, assuming you're using
> any sane
> Linux distribution. For example:
> 
> -> ppc_8xx-gcc -v
> Reading specs from
> /opt/eldk-3.1.1/usr/bin/../lib/gcc-lib/ppc-linux/3.3.3/specs
> Configured with: ../configure --prefix=/usr
> --mandir=/usr/share/man --infodir=/usr/share/info
> --enable-shared --enable-threads=posix --disable-checking
> --with-system-zlib --enable-__cxa_atexit --with-newlib
> --enable-languages=c,c++ --disable-libgcj
> --host=i386-redhat-linux --target=ppc-linux
> Thread model: posix
> gcc version 3.3.3 (DENX ELDK 3.1.1 3.3.3-9)
> ------------------------^^^^^^^^^^
There is something wrong with your Suse installation. I have
been using ELDK with Suse(9.2 and 10.1) since 2004 without any problems...

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

* Re: ELDK 3.1.1 support for x86_64 host architecture
  2006-08-04 20:11 ` Wolfgang Denk
  2006-08-04 20:43   ` Frank
@ 2006-08-04 21:00   ` Ben Warren
  1 sibling, 0 replies; 9+ messages in thread
From: Ben Warren @ 2006-08-04 21:00 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: Michael Carey, linuxppc-embedded

On Fri, 2006-08-04 at 22:11 +0200, Wolfgang Denk wrote:

> Yes, SuSE has always found interesting ways to  break  compatibility.
> That's  why  I avoid it. IIRC, SuSE provides a special tool "linux32"
> which has to be used to run 32-bit applications on a x86_64 system.
> 
> Don't ask  me  why  they  need  it.  Other  distros  run  the  32-bit
> applications just fine without such intricacy.
> 
> 
I don't know about SUSE, but to get ELDK 4.0 running on my Debian x86_64
server I had to install a package called 'ia32_libs'.

regards,
Ben

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

* Re: ELDK 3.1.1 support for x86_64 host architecture
  2006-08-04 20:43   ` Frank
@ 2006-08-05 19:32     ` Wolfgang Denk
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Denk @ 2006-08-05 19:32 UTC (permalink / raw)
  To: Frank; +Cc: Michael Carey, linuxppc-embedded

In message <20060804204327.16319.qmail@web32202.mail.mud.yahoo.com> you wrote:
> 
> There is something wrong with your Suse installation. I have
> been using ELDK with Suse(9.2 and 10.1) since 2004 without any problems...

Good to hear. But I heard similar reports before. Eventually they are
just missing some compatibility packages. I have no idea. I  keep  my
fingers off SuSE.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Were there fewer fools, knaves would starve.              - Anonymous

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

* ELDK 3.1.1 support for x86_64 host architecture
@ 2006-08-07 17:22 Michael Carey
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Carey @ 2006-08-07 17:22 UTC (permalink / raw)
  To: linuxppc-embedded

Thanks for the help, your clue about linux32 was the key.

I simply used the command:

linux32 ./install -d /opt/eldk

and it worked.

I will continue to look for any missing components in my distribution =
install so I wont run into
this type of problem again.

Regards,
Michael Carey

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

end of thread, other threads:[~2006-08-07 17:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-04  0:11 ELDK 3.1.1 support for x86_64 host architecture Michael Carey
2006-08-04 20:11 ` Wolfgang Denk
2006-08-04 20:43   ` Frank
2006-08-05 19:32     ` Wolfgang Denk
2006-08-04 21:00   ` Ben Warren
  -- strict thread matches above, loose matches on Subject: below --
2006-08-07 17:22 Michael Carey
2005-04-14 21:09 larry_chen
2005-04-13 22:35 larry_chen
2005-04-14  5:48 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).