This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Cross compiling gcc for ARM and dependency on libgcc_s.so.1 for pthread_cancel
- From: Vincent Forbes <vwfst55 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 26 Nov 2010 22:31:42 -0500
- Subject: Cross compiling gcc for ARM and dependency on libgcc_s.so.1 for pthread_cancel
I am trying to finalize a cross compiler build for the ARM
preprocessor. When doing the test suites, pthread_cancel() causes a
SIBABRT and the error describes that pthread_cancel requires
libgcc_s.so.1 to work. The libgcc_eh.a and libgcc_s.so.1 libraries
are not included in the target system to allow more room for storage
in an embedded system. In order to allow for additional programs when
needed, the C++ compiler is being included. The unwind library that
the C++ compiler needs for exception handling is causing the thread
cancel function to abort. Would passing --disable-threads prevent the
unwind library from causing the SIGABRT and would threads still work
in the target?
One thing that does concern me is that even if --disable-threads is
the solution, there would still unwind issues.