This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


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