Hi, I've been tinkering with a port to Android M and got stuck when trying to link the b2g binary. The error is about hidden symbols that cannot be resolved by the linker, such as the ones below:
/home/mozilla/Projects/mozilla/src/B2G-master-emulator-m/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9.x-google/../../../../arm-linux-androideabi/bin/ld: error: hidden symbol '_ZN7android10BufferItemD1Ev' is not defined locally /home/mozilla/Projects/mozilla/src/B2G-master-emulator-m/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9.x-google/../../../../arm-linux-androideabi/bin/ld: error: hidden symbol '_ZNK7android5Fence3dupEv' is not defined locally The respective libraries (libgui, libui) are linked and contain the symbols. I re-ordered the libraries in the moz.build file to make sure that the linker recognizes the dependencies, but I always run into these errors. I think this problem has happened before. How was it solved? Best regards Thomas _______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

