[cfe-users] Linking error and memory bloating for .so file creation

Ankush Sharma via cfe-users cfe-users at lists.llvm.org
Wed Mar 13 03:43:53 PDT 2019


We are generating the .so file for the Android ARM 64 flavor on Windows
Following is the version info for the "clang++.exe" executable used for
generating the .so file.

- Android clang version 5.0.300080  (based on LLVM 5.0.300080)
- Target: x86_64-unknown-linux
- Thread model: posix

Note: No I/O error is getting reported during the link run. Also we are
witnessing this issue when moving
from "gnustl" to "LibC++" support for standard C++ library.

The linker flags used are attached with the mail. It would be good if some
linker flags be turned on
to further debug the link run.

On Tue, Mar 12, 2019 at 2:03 PM Csaba Raduly <rcsaba at gmail.com> wrote:

> Hi Ankush,
> On Mon, Mar 11, 2019 at 8:23 PM Ankush Sharma wrote:
> > During the linking stage for an “.so” file creation, an error message is
> being flagged by clang.
> >
> > ld: error: dummy.so: write: Function not implemented
> What was the command line that was used to invoke the linker?
> What filesystem are you using?
> Csaba
> --
> You can get very substantial performance improvements
> by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
> So if you're looking for a completely portable, 100% standards-conformat
> way
> to get the wrong information: this is what you want. - Scott Meyers
> (C++TDaWYK)

Thanks and Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20190313/fff3c4c4/attachment.html>
-------------- next part --------------

More information about the cfe-users mailing list