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: glibc-2.3.5 addon for ColdFire trouble using crosstool


>> Its an old one, binary shipped a part of the BSP.  I've hacked
>> together a gdbserver from 6.3, and it seems to work about the
>> same. I'll have to go bacn and look again just to be sure.
>
>You used the matching gdb-6.3, right?  I suspect
>it's not a good idea to mix versions.

Yes, matching gdb/gdbserver.  I've played with so many variants I'm
not sure if it worked any better.

>> Perhaps you might want to think about adding a build of gdb and for
>> those targets that can, a gdbserver... It would come in real handy...
>
>On my list...

Cool!  Yell if you need help in a couple of weeks when I'm back from
vacation.

>> That's the problem, the first printf doesn't even come out :)
>
>Sorry, I meant "write to fd 1" debugging, and putting
>the "write to fd 1"'s inside the libc source!

I don't think that will help since libpthread intercepts the calls to
put in the synchronization(I believe), and its the sycnhronization
that I think is failing me.  Now that I have source, it should be
easier to figure out in which library everything is going totally wrong...

>> I'm trying to rebuild the ehtire toolchain tossing in '-g' since it
>> doesn't seem that crosstool adds it in by default for the build of
>> glibc...
>
>Hmm, should it?  Red Hat does...

I think my problem stems from having to specify '-mcfv4e' in
TARGET_CFLAGS and TARGET_LDFLAGS when building glibc since the
m68k-linux compiler can build for either m68k, or coldfire, and I
don't see '-g' in crosstool.sh

-- 
Peter Barada
peter@the-baradas.com

------
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]