Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make libmlservo a dynamic library? #23975

Open
asajeffrey opened this issue Aug 15, 2019 · 1 comment
Open

Make libmlservo a dynamic library? #23975

asajeffrey opened this issue Aug 15, 2019 · 1 comment

Comments

@asajeffrey
Copy link
Member

At the moment both Servo2D and Servo3D have a staticly linked libmlservo, which doubles the space usage.

@asajeffrey
Copy link
Member Author

Well here's a shot at it... asajeffrey@9e74129

Unfortunately, this produces a link error:

[Servo3D] Linking program Servo3D...
/Users/ajeffrey/MagicLeap/mlsdk/v0.22.0/tools/toolchains/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: Servo3D: hidden symbol `atexit' in /Users/ajeffrey/MagicLeap/mlsdk/v0.22.0/lumin/usr/lib/crtbegin_dynamic.o is referenced by DSO
/Users/ajeffrey/MagicLeap/mlsdk/v0.22.0/tools/toolchains/bin/../lib/gcc/aarch64-linux-android/4.9.x/../../../../aarch64-linux-android/bin/ld: final link failed: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant