runtime icon indicating copy to clipboard operation
runtime copied to clipboard

[ARM/Linux] incorrect use of symbolic name _TARGET_ARM_ instead of _ARM_ in pr6700

Open hqueue opened this issue 10 years ago • 2 comments

My previous PR dotnet/coreclr#6700 does not work as intended, due to wrong symbolic name _TARGET_ARM_. _ARM_should be applied instead of _TARGET_ARM_here.

This time, I ran tests with caution and it works.

hqueue avatar Aug 16 '16 12:08 hqueue

It seems that src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp is built more than once for different purpose as described below.

  1. coreclr/bin/obj/Linux.arm-softfp.Release/src/coreclr/hosts/unixcoreruncommon Only -D_ARM_ is defined.
  2. coreclr/bin/obj/Linux.arm-softfp.Release/src/ToolBox/SOS/Strike Both -D_ARM_ and -D_TARGET_ARM_=1 are defined.

I couldn't understand how it works yet and just assuming _ARM_ is for host and _TARGET_ARM_ is for target but I found that there is also _HOST_ARM_.

@janvorli @jkotas @parjong @leemgs @hseok-oh Does anyone know this ? Looking for an advice.

hqueue avatar Aug 16 '16 13:08 hqueue

assuming _ARM_ is for host and _TARGET_ARM_ is for target but I found that there is also _HOST_ARM_

Your assumption is correct. _HOST_ARM_ is same as _ARM_.

jkotas avatar Aug 16 '16 14:08 jkotas