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] |
> A simpler way to go for the moment is to simply add -fno-unit-at-a-time > to CFLAGS when building glibc-2.2.5 with gcc-3.4.x. That worked. Thanks a lot. --- /ml > -------- Original Message -------- > Subject: Re: crosstool-0.28-rc36: ld.so.1 undefined reference > From: "Dan Kegel" <dank@kegel.com> > Date: Sun, September 26, 2004 9:12 am > To: ml@bitbash.net > Cc: crossgcc@sources.redhat.com > > ml@bitbash.net wrote: > > > gcc-3.4.0-glibc-2.2.5 barfs with a few undefined refereces and multiple > > definitions. The follwing patch seems to take care of the undefined > > reference of __dl_runtime_resolve symbol. > > > > Filename: patches/glibc-2.2.5/glibc-2.2.5-mips-dl-machine-1.60.patch > > Looks good. I'll try it, thanks. > > > Looks like patches/glibs-2.3.2/glibc-2.3.2-allow-gcc-3.4-nounit.patch > > needs to be "ported" to glibc-2.2.5 to fix the multiple definitions of > > 'dummy' in build-glibc/csu/crtn.S and undefined reference to > > 'i_am_not_a_leaf' in build-glibc/csu/crti.S. Also, there are multiple > > definitions to '_init' and '_fini' in build-glibc/csu/crtn.S. The > > linuxthreads 2.3.2 nounit.patch should also be "ported" to linuxthreads > > 2.2.5 ?? > > Yes. I haven't gotten around to that. > > A simpler way to go for the moment is to simply add -fno-unit-at-a-time > to CFLAGS when building glibc-2.2.5 with gcc-3.4.x. > That's a bit awkward to add to my demo scripts at the moment. > Maybe I should add an EXTRA_TARGET_CFLAGS variable to crosstool.sh, > and set it only from toolcombo .dat files. Then > gcc-3.4.2-glibc-2.2.5.dat could set > EXTRA_TARGET_CFLAGS="-fno-unit-at-a-time" > > - 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] |