* cdk building
@ 2000-03-11 8:08 Quan Qu
2000-03-11 18:24 ` Dan A. Dickey
0 siblings, 1 reply; 5+ messages in thread
From: Quan Qu @ 2000-03-11 8:08 UTC (permalink / raw)
To: linuxppc-embedded
hello,everybody.I am new to this mail-list.
I am using Mr. wolfgang 's solution below on Redhat6.1 to build CDK.
>Summary: I've put the scripts I'm using to build the PPC Cross
>Development Kit for the MPC8xx CPUs on
>
> ftp://ftp.denx.de/pub/LinuxPPC/usr/src/CDK.tar.gz
>
>or URL where I got the sources from:
>
>ftp://ftp.valinux.com/pub/support/hjl/binutils/binutils-2.9.5.0.22.t
ar.bz2
>ftp://ftp.sunet.se/pub/gnu/egcs/releases/gcc-2.95.2/gcc-core-2.95.2.
tar.bz2
>ftp://ftp.sunet.se/pub/gnu/egcs/releases/gcc-2.95.2/gcc-2.95.2.tar.b
z2
>ftp://ftp.sunet.se/pub/gnu/glibc/glibc-2.1.2.tar.gz
>ftp://ftp.gwdg.de/pub/linux/glibc/2.1.2/glibc-crypt-2.1.2.tar.gz
>ftp://ftp.sunet.se/pub/gnu/glibc/glibc-linuxthreads-2.1.2.tar.gz
>ftp://linuxppc.cs.nmt.edu/pub/mirror/PPC/embedded/mpc8xx-2.2.13.tgz
> (renamed to linux-2.2.13.tar.gz)
I copy the downloaded gzip source to the /LinuxPPC/usr/src/tarballs
,and modify ENVIRONMENT.
then do:
make binutils
make egcs-core
make linux
make glibc
make egcs
everything go smoothly until I reach the glibc. I got linker error:
----------------------------------------------------------
a - elf/dl-addr.os
a - elf/dl-profstub.os
a - elf/dl-origin.os
: /LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/libc_pic.a
powerpc-linux-gcc -nostdlib -nostartfiles -r -o
/LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/elf/librtld.os '-Wl,-('
/LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/elf/dl-allobjs.os
/LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/libc_pic.a -lgcc '-Wl,-)'
/LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/libc_pic.a(init-first.os): In
function
`_dl_start':
init-first.os(.text+0x128): multiple definition of `_dl_start'
/LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/elf/dl-allobjs.os(.text+0x680):
first
defined here
/LinuxPPC/CDK/powerpc-linux/bin/ld: Warning: size of symbol
`_dl_start' changed
from 568 to 48 in init-first.os
collect2: ld returned 1 exit status
gmake[4]: *** [/LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/elf/librtld.os]
Error 1
----------------------------------------------------------
it seems that /LinuxPPC/CDK/powerpc-linux/bin/ld can not handle
the dynamic link libary.Does anyone have the same failure ?
and any suggestion? thanks
----
Quan Qu ququan@cityfujisawa.ne.jp
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cdk building
2000-03-11 8:08 cdk building Quan Qu
@ 2000-03-11 18:24 ` Dan A. Dickey
2000-03-12 6:29 ` Quan Qu
0 siblings, 1 reply; 5+ messages in thread
From: Dan A. Dickey @ 2000-03-11 18:24 UTC (permalink / raw)
To: Quan Qu; +Cc: linuxppc-embedded
Quan Qu wrote:
...
> I am using Mr. wolfgang 's solution below on Redhat6.1 to build CDK.
>
> >Summary: I've put the scripts I'm using to build the PPC Cross
> >Development Kit for the MPC8xx CPUs on
> >
> > ftp://ftp.denx.de/pub/LinuxPPC/usr/src/CDK.tar.gz
> >
> >or URL where I got the sources from:
> >
> >ftp://ftp.valinux.com/pub/support/hjl/binutils/binutils-2.9.5.0.22.t
> ar.bz2
...
> I copy the downloaded gzip source to the /LinuxPPC/usr/src/tarballs
> ,and modify ENVIRONMENT.
> then do:
> make binutils
> make egcs-core
> make linux
> make glibc
> make egcs
>
> everything go smoothly until I reach the glibc. I got linker error:
...
> /LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/libc_pic.a(init-first.os): In
> function
> `_dl_start':
> init-first.os(.text+0x128): multiple definition of `_dl_start'
> /LinuxPPC/usr/src/CDK/obj/glibc-2.1.2/elf/dl-allobjs.os(.text+0x680):
> first
> defined here
> /LinuxPPC/CDK/powerpc-linux/bin/ld: Warning: size of symbol
> `_dl_start' changed
> from 568 to 48 in init-first.os
...
I'm not sure why, but I discovered last weekend that
trying to use binutils-2.9.5.0.27 gave me this same problem.
I switched to using binutils-2.9.5.0.22, and this problem
went away. Make sure you are using 22 and not something newer.
Can you let me know what version you were using if not 27?
I'd like to pinpoint the version where this broke.
-Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cdk building
2000-03-11 18:24 ` Dan A. Dickey
@ 2000-03-12 6:29 ` Quan Qu
2000-03-12 10:21 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Quan Qu @ 2000-03-12 6:29 UTC (permalink / raw)
To: Dan A. Dickey; +Cc: linuxppc-embedded
hello,
Yes , I am using 27 and 29. Perhaps it is the problem!
but where can I find complete 22 archive(not diff) ? I search the ftp
servers and found only lasted version 29. Thank you very much.
hope the problem go away if I use 22.
>I'm not sure why, but I discovered last weekend that
>trying to use binutils-2.9.5.0.27 gave me this same problem.
>I switched to using binutils-2.9.5.0.22, and this problem
>went away. Make sure you are using 22 and not something newer.
>Can you let me know what version you were using if not 27?
>I'd like to pinpoint the version where this broke.
> -Dan
>
>
>
----
Quan Qu ququan@cityfujisawa.ne.jp
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cdk building
2000-03-12 6:29 ` Quan Qu
@ 2000-03-12 10:21 ` Wolfgang Denk
2000-03-12 10:54 ` Quan Qu
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2000-03-12 10:21 UTC (permalink / raw)
To: Quan Qu; +Cc: linuxppc-embedded
In message <200003120629.AA00071@shanghai2.cityfujisawa.ne.jp> you wrote:
>
> Yes , I am using 27 and 29. Perhaps it is the problem!
> but where can I find complete 22 archive(not diff) ? I search the ftp
Just ask your next search engine - you are from Japan, so you may
try these:
ftp://ftp.kddlabs.co.jp/.5/Linux/packages/peanut/pkgs/dev+libs/binutils-2.9.5.0.22.tar.bz2
ftp://ftp.eos.hokudai.ac.jp/pub/Linux/kondara/Kondara/SRPMS/SOURCES/binutils-2.9.5.0.22.tar.bz2
ftp://ftp.ipc.chiba-u.ac.jp/pub/linux/Kondara/ftp.kondara.org/Kondara/SRPMS/SOURCES/binutils-2.9.5.0.22.tar.bz2
ftp://sunsite.sut.ac.jp/pub/archives/linux/jp-linux/kondara/Kondara/SRPMS/SOURCES/binutils-2.9.5.0.22.tar.bz2
ftp://ftp.jaist.ac.jp/.arc10/linux/kondara/Kondara-1.1/SRPMS/SOURCES/binutils-2.9.5.0.22.tar.bz2
ftp://ftp.riken.go.jp/pub/Linux/kondara/Kondara/SRPMS/SOURCES/binutils-2.9.5.0.22.tar.bz2
ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/Kondara/Kondara/SRPMS/SOURCES/binutils-2.9.5.0.22.tar.bz2
ftp://ftp.kddlabs.co.jp/.5/Linux/packages/Kondara/pub/Kondara/SRPMS/SOURCES/binutils-2.9.5.0.22.tar.bz2
> servers and found only lasted version 29. Thank you very much.
> hope the problem go away if I use 22.
If you really cannot find it (sic!) and don't mind a *big* email
message I can send you binutils-2.9.5.0.22.tar.bz2 by email. But it's
over 5 MB, or nearly 7 MB when MIME-encoded. You have been warned...
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
To understand a program you must become both the machine and the
program.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cdk building
2000-03-12 10:21 ` Wolfgang Denk
@ 2000-03-12 10:54 ` Quan Qu
0 siblings, 0 replies; 5+ messages in thread
From: Quan Qu @ 2000-03-12 10:54 UTC (permalink / raw)
To: Wolfgang Denk; +Cc: linuxppc-embedded
thanks you for info of URL below, it is about only 5M ,I will try to
download by myself.
>
>In message <200003120629.AA00071@shanghai2.cityfujisawa.ne.jp> you
wrote:
>>
>> Yes , I am using 27 and 29. Perhaps it is the problem!
>> but where can I find complete 22 archive(not diff) ? I search the
ftp
>
>Just ask your next search engine - you are from Japan, so you
may
>try these:
>
>ftp://ftp.kddlabs.co.jp/.5/Linux/packages/peanut/pkgs/dev+libs/binut
ils-2.9.5.0.22.tar.bz2
>ftp://ftp.eos.hokudai.ac.jp/pub/Linux/kondara/Kondara/SRPMS/SOURCES/
binutils-2.9.5.0.22.tar.bz2
>ftp://ftp.ipc.chiba-u.ac.jp/pub/linux/Kondara/ftp.kondara.org/Kondar
a/SRPMS/SOURCES/binutils-2.9.5.0.22.tar.bz2
>ftp://sunsite.sut.ac.jp/pub/archives/linux/jp-linux/kondara/Kondara/
SRPMS/SOURCES/binutils-2.9.5.0.22.tar.bz2
>ftp://ftp.jaist.ac.jp/.arc10/linux/kondara/Kondara-1.1/SRPMS/SOURCES
/binutils-2.9.5.0.22.tar.bz2
>ftp://ftp.riken.go.jp/pub/Linux/kondara/Kondara/SRPMS/SOURCES/binuti
ls-2.9.5.0.22.tar.bz2
>ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/Kondara/Kondara/SRPMS/SOU
RCES/binutils-2.9.5.0.22.tar.bz2
>ftp://ftp.kddlabs.co.jp/.5/Linux/packages/Kondara/pub/Kondara/SRPMS/
SOURCES/binutils-2.9.5.0.22.tar.bz2
>
>> servers and found only lasted version 29. Thank you very much.
>> hope the problem go away if I use 22.
>
>If you really cannot find it (sic!) and don't mind a *big*
email
>message I can send you binutils-2.9.5.0.22.tar.bz2 by email. But
it's
>over 5 MB, or nearly 7 MB when MIME-encoded. You have been warned...
>
>Wolfgang Denk
>
>--
>Software Engineering: Embedded and Realtime Systems, Embedded
Linux
>Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email:
wd@denx.de
>To understand a program you must become both the machine and
the
>program.
>
>
>
----
Quan Qu ququan@cityfujisawa.ne.jp
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-03-12 10:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-11 8:08 cdk building Quan Qu
2000-03-11 18:24 ` Dan A. Dickey
2000-03-12 6:29 ` Quan Qu
2000-03-12 10:21 ` Wolfgang Denk
2000-03-12 10:54 ` Quan Qu
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).