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

Building subset "Libs" does not work when cross compiling with the Android NDK #42106

Open
CircuitRCAY opened this issue Sep 11, 2020 · 4 comments

Comments

@CircuitRCAY
Copy link

Description

Cross-compiling with the Android NDK is in "bits and pieces", and the build-android-rootfs.sh script in eng/common/cross is not exactly up to date, instead having to use a different set of subsets.

Build Steps

./eng/common/cross/build-android-rootfs.sh arm64 # on the root directory
ROOTFS_DIR=$(realpath ~/runtime/.tools/android-rootfs/android-ndk-r21/sysroot) ./build.sh --cross --arch arm64 --subset Libs

Expected Behaviour

  • Compiles successfully without any issues or missing libraries.

Observed Behaviour

  • Fails and errors on missing libSystem.IO.Ports.so library.

Configuration

  • .NET Version: N/A
  • OS: Linux innovare 5.8.7-arch1-1 #1 SMP PREEMPT Sat, 05 Sep 2020 12:31:32 +0000 x86_64 GNU/Linux
  • Architecture:
    • Host: x86_64
    • Guest: arm64

Regression?

N/A

Other information

Log of the build: https://haste.soulja-boy-told.me/udacegifim.txt
Related issues: These commands were partially modified from #33237.

@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Sep 11, 2020
@ghost
Copy link

ghost commented Sep 11, 2020

Tagging subscribers to this area: @directhex
See info in area-owners.md if you want to be subscribed.

@CoffeeFlux CoffeeFlux added area-Build-mono and removed area-Infrastructure-mono untriaged New issue has not been triaged by the area owner labels Sep 16, 2020
@CoffeeFlux CoffeeFlux added this to the 6.0.0 milestone Sep 16, 2020
@ghost
Copy link

ghost commented Sep 16, 2020

Tagging subscribers to this area: @safern, @ViktorHofer
See info in area-owners.md if you want to be subscribed.

@safern
Copy link
Member

safern commented Sep 16, 2020

cc: @akoeplinger

@marek-safar marek-safar modified the milestones: 6.0.0, Future Jul 14, 2021
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

6 participants