This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: crosstool-0.28-rc36: ld.so.1 undefined reference


Using _dl_init instead of _dl_init_intenal works. It built the toolchain
(I did not test it though). 

Now I'm trying to cross compile gcc-3.4.0-glibc-2.2.5. Looks like I need
to install host gcc3.2 or later. Does host_gcc3.2 require
>host_glibc2.2.5?


---
/ml


> -------- Original Message --------
> Subject: Re: crosstool-0.28-rc36: ld.so.1 undefined reference
> From: "Dan Kegel" <dank@kegel.com>
> Date: Sat, September 25, 2004 8:10 am
> To: ml@bitbash.net
> Cc: crossgcc@sources.redhat.com
> 
> ml@bitbash.net wrote:
> > I'm trying to use crosstool to build mips-linux cross compiler. If I
> > use gcc-3.2.3-glibc-2.2.3.dat file, the cross compiler is built without
> > any problems. If I use gcc-3.2.3-glibc-2.2.5.dat file, the build fails
> > with the following error.
> > ld.so.1: undefined reference to _dl_init_internal
> 
> Try editing
> crosstool-0.28-rc36/patches/glibc-2.2.5/glibc-2.2.5-mips-dl-machine-1.59.patch
> and change the word _dl_init_internal to _dl_init.
> I think I went too far in CVS there...
> - Dan


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]