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: parse error before "__thread" compiling glibc-2.2.5 with gcc-3.3


Jeremy McNicoll wrote:
Heres what I did to fix it so I can continue to use 2.2.5

$> perl -pi -e s'/__thread/__thread_param/' ../glibc-2.2.5/linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h
$> perl -pi -e s'/__thread/__thread_param/' ../glibc-2.2.5/linuxthreads/sysdeps/pthread/pthread.h

With that info, I was able to retrieve the patch from cvs.


Can you gimme a link?

It's the second patch listed in http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/linuxthreads/sysdeps/pthread/pthread.h?cvsroot=glibc but since cvs doesn't have the notion of a changeset, you need to fetch each of the three affected files' changes separately. (Beyond what you changed, they changed internals.h as well.)

I'll include the patch when I post my update of Bill's build scripts.
- Dan

--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045


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