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

[ARM32/Linux] Cross architecture build error in PAL assembly codes #7512

Closed
hseok-oh opened this issue Feb 27, 2017 · 2 comments
Closed

[ARM32/Linux] Cross architecture build error in PAL assembly codes #7512

hseok-oh opened this issue Feb 27, 2017 · 2 comments
Assignees
Labels
arch-arm32 os-linux Linux OS (any supported distro)
Milestone

Comments

@hseok-oh
Copy link
Contributor

build command:
./build.sh release cross arm crosscomponent

Error message

[ 25%] Building ASM object src/pal/src/CMakeFiles/coreclrpal.dir/arch/arm/context2.S.o
/nfs/rbp3/coreclr/src/pal/src/arch/arm/context2.S:13:1: error: unknown directive
.syntax unified
^
/nfs/rbp3/coreclr/src/pal/src/arch/arm/context2.S:14:1: error: unknown directive
.thumb
^

<errors in assembly code>

make[2]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/arch/arm/context2.S.o] Error 1
make[1]: *** [src/pal/src/CMakeFiles/coreclrpal.dir/all] Error 2

It seems to releated to the change of src/pal/src/CMakeLists.txt in dotnet/coreclr#9650. It tried to compile asm file for arm, but it must have tried to compile asm for x86.

@gkhanna79
Copy link
Member

@hseok-oh Can this be closed?

@hseok-oh
Copy link
Contributor Author

hseok-oh commented Mar 6, 2017

Fixed by dotnet/coreclr#9819 and remain issue dotnet/coreclr#9902

@hseok-oh hseok-oh closed this as completed Mar 6, 2017
@msftgits msftgits transferred this issue from dotnet/coreclr Jan 31, 2020
@msftgits msftgits added this to the 2.0.0 milestone Jan 31, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm32 os-linux Linux OS (any supported distro)
Projects
None yet
Development

No branches or pull requests

3 participants