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: configure: error: compiler support for __thread is required


Ryan.Oliver@pha.com.au wrote:
-lgcc_eh is not needed if you built a static gcc, libgcc_eh.a is only
created when you build a shared gcc.
When built static, all _eh symbols are included in libgcc.a

Simple fix is to remove -lgcc_eh from the link...
ie: edit Makeconfig
change
 static-gnulib := -lgcc -lgcc_eh
to
 static-gnulib := -lgcc

Oops, gnulib needs changing in Makeconfig too change gnulib := -lgcc $(libgcc_eh) to gnulib := -lgcc

Just that last bit seems like enough. i.e. apply the 2nd hunk of http://sources.redhat.com/ml/libc-alpha/2003-09/msg00104.html I'm starting a build from scratch to see if I've caught all the problems. - Dan p.s. I'm starting to find other people affected by this, e.g. http://www.rocklinux.net/pipermail/rock-devel/2004-July/000629.html


-- My technical stuff: http://kegel.com My politics: see http://www.misleader.org for examples of why I'm for regime change

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