This is the mail archive of the crossgcc@sourceware.org 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: arm gnueabi problem with tls. (request for help)


--- Steven Newbury <s_j_newbury@yahoo.co.uk> wrote:

> 
> --- Khem Raj <khem@mvista.com> wrote:
> 
> > Steven Newbury said the following on 04/12/2006 12:19 PM:
> > >> Looking back at the work I'd done to get it all working I realised that
> I
> > had
> > >> it working at one point! I actually broke it when I was cleaning my
> > patches
> > >> up.
> > >>  I'll give more details in a later post.
> > >>
> > >>     
> > > Can anybody help me here?  I am missing the unwind symbols from libgcc
> when
> > > glibc attempts to link for the final time. I cannot understand why. 
> > UNWIND_H
> > > is being set to arm/unwind-arm.h and config.gcc is including t-bpapi.
> > >
> > > I can post my patches if it helps, but somebody must know how this all
> fits
> > together..
> > >
> > > Steve
> > >
> > > Send instant messages to your online friends
> http://uk.messenger.yahoo.com 
> > >
> > > --
> > > For unsubscribe information see http://sourceware.org/lists.html#faq
> > >
> > >   
> > While configuring the gcc which you will use to build glibc you should 
> > use this configure option--disable-libunwind-exceptions (assuming you 
> > are using GCC 4.1)
> > and set libc_cv_forced_unwind=yes in config.cache while building glibc.
> > 
> > Hope that helps
> > 
> Thanks, --disable-libunwind-exceptions got removed when I was trying 4.2. 
> Hopefully that's it! Building now, fingers crossed!
> 
Nope that's not it.

arm-iwmmxt-linux-gnueabi-gcc -nostdlib -nostartfiles -static -o
/var/tmp/portage/glibc-20060410/work/build-default-arm-iwmmxt-linux-gnueabi-nptl/elf/sln
  
/var/tmp/portage/glibc-20060410/work/build-default-arm-iwmmxt-linux-gnueabi-nptl/csu/crt1.o
/var/tmp/portage/glibc-20060410/work/build-default-arm-iwmmxt-linux-gnueabi-nptl/csu/crti.o
`arm-iwmmxt-linux-gnueabi-gcc --print-file-name=crtbegin.o`
/var/tmp/portage/glibc-20060410/work/build-default-arm-iwmmxt-linux-gnueabi-nptl/elf/sln.o

/var/tmp/portage/glibc-20060410/work/build-default-arm-iwmmxt-linux-gnueabi-nptl/libc.a
-lgcc  
/var/tmp/portage/glibc-20060410/work/build-default-arm-iwmmxt-linux-gnueabi-nptl/libc.a
`arm-iwmmxt-linux-gnueabi-gcc --print-file-name=crtend.o`
/var/tmp/portage/glibc-20060410/work/build-default-arm-iwmmxt-linux-gnueabi-nptl/csu/crtn.o
make[4]: Entering directory
`/usr/tmp/portage/glibc-20060410/work/glibc-20060410/stdlib'
/var/tmp/portage/glibc-20060410/work/build-default-arm-iwmmxt-linux-gnueabi-nptl/libc.a(libc-start.o):(.ARM.exidx+0x0):
undefined reference to `__aeabi_unwind_cpp_pr0'
/var/tmp/portage/glibc-20060410/work/build-default-arm-iwmmxt-linux-gnueabi-nptl/libc.a(iofclose.o):(.ARM.exidx+0x0):
undefined reference to `__aeabi_unwind_cpp_pr0'
...
This continues for every object in libc.a that references the unwind functions
including _Unwind_Resume.


Steve


		
___________________________________________________________ 
Switch an email account to Yahoo! Mail, you could win FIFA World Cup tickets. http://uk.mail.yahoo.com

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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