https://bugs.linaro.org/show_bug.cgi?id=3066

            Bug ID: 3066
           Summary: Cross compile broken for ARMv8
           Product: OpenDataPlane - linux- generic reference
           Version: master
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: ---
         Component: Build system
          Assignee: maxim.uva...@linaro.org
          Reporter: petri.savolai...@linaro.org
                CC: lng-odp@lists.linaro.org
  Target Milestone: ---

Latest commit (arch: arm: add CPU global time) broke build for ARM.

  CC       arch/arm/odp_cpu_arch.lo
arch/arm/odp_cpu_arch.c: In function \u2018cpu_global_time\u2019:
arch/arm/odp_cpu_arch.c:71:5: error: "__ARM_ARCH" is not defined
[-Werror=undef]
 #if __ARM_ARCH == 8


Compiler version:
aarch64-linux-gnu-gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) 4.8.4

It seems that __ARM_ARCH is not supported by GCC 4.8, but __aarch64__ would be. 

I think we should change to:

#if __aarch64__

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to