Android Native GCC 4.9.2 Build Fails at Dynamic libgcc

Cyd Haselton chaselton@gmail.com
Mon Dec 22 18:21:00 GMT 2014


Original email is here:  https://gcc.gnu.org/ml/gcc-help/2014-11/msg00050.html
Summary:  Attempting to bootstrap 4.9.0 from 4.8.0 on Android fails at
building shared libgcc_s_so...specifically when linking the shared
lib...throwing an "undefined reference to dlopen" within the
fakechroot environment I am using.

Since that email...and after wise advice from same...I've bootstrapped
4.8.3 from 4.8.0 and attempted to bootstrap 4.9.2 from 4.8.3.  I'm
still running into the same error and I can't seem to figure out the
cause.

For the last build attempt, I added -ldl to t-slibgcc in
$srcdir/libgcc/config (recommended previously) and to the
LD_DYNAMIC_OPTION for libasan and libtsan in gnu-user.h (because I
noticed differences between the build compiler spec file and that of
xgcc).  Build still failed at the same place.

Any advice/tips would be very much appreciated.

Cyd



More information about the Gcc-help mailing list