title: Please advise regarding symbols _setjmp, longjmp and others designated as "W" (weak) in libc.a
body: <p>I am trying to cross-compile Fortran code to run on x86_64 processor, and built a cross-compiler x86_64-linux-android-gfortran to do so.  I am using the -static flag on the compile because that's how, based on previous experience, I was successfully able to execute the resulting binary on an Android device.  My problem is this: when building one Fortran module, I am getting undefined references to _setjmp, longjmp, and a few others.  I have linked into the compile, Android NDK revision 21, libc.a.  When I broke out the libc.a archive, and did &quot;nm *.o&quot; on the resulting object files, I see that _setjmp and longjmp are defined as &quot;W&quot; (weak).  Is there some way around this?  I do not understand what &quot;weak&quot; means despite checking one definition.  Please, can someone advise me on this and how I can fix?
  TIA,
  Steve</p>