[llvmlinux] vexpress64 make target problem

Vinicius Tinti viniciustinti at gmail.com
Tue Sep 29 20:44:37 UTC 2015


On Mon, Sep 28, 2015 at 8:26 AM, Peter Teoh <htmldeveloper at gmail.com> wrote:
> On Mon, Sep 28, 2015 at 7:05 PM, Vinicius Tinti <viniciustinti at gmail.com> wrote:
>> On Mon, Sep 28, 2015 at 8:02 AM, Peter Teoh <htmldeveloper at gmail.com> wrote:
>>> When I did a make target for vexpress64, the following errors is encountered:
>>>
>>> make V=1 2>&1 | tee -a logfile
>>>
>>> --2015-09-28 18:46:33--
>>> http://releases.linaro.org/latest/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz
>>> Resolving releases.linaro.org (releases.linaro.org)... 54.225.141.114
>>> Connecting to releases.linaro.org
>>> (releases.linaro.org)|54.225.141.114|:80... connected.
>>> HTTP request sent, awaiting response... 404 NOT FOUND
>>> 2015-09-28 18:46:34 ERROR 404: NOT FOUND.
>>>
>>> But in actual fact, the same file is available through a slightly modified URL:
>>>
>>> http://releases.linaro.org/latest/components/toolchain/binaries/4.8/aarch64-linux-gnu/
>>>
>>> How do I go about resolving the errors?
>>
>> Hi,
>>
>> Sometimes Linaro changes their links. Please edit the file at
>> arch/aarch64/toolchain/linaro/linaro.mk
>>
>> * http://git.linuxfoundation.org/?p=llvmlinux.git;a=blob;f=arch/aarch64/toolchain/linaro/linaro.mk;h=1370ddde0b32cec7a5b7beba86c91ad8d2369545;hb=HEAD
>>
>
> Thank Vinicius, here goes the patch:
>
> diff --git a/arch/aarch64/toolchain/linaro/linaro.mk
> b/arch/aarch64/toolchain/linaro/linaro.mk
> index 1370ddd..9f64128 100644
> --- a/arch/aarch64/toolchain/linaro/linaro.mk
> +++ b/arch/aarch64/toolchain/linaro/linaro.mk
> @@ -27,9 +27,11 @@
>  #https://launchpad.net/linaro-toolchain-binaries/trunk/2013.09/+download/gcc-linaro-aarch64-linux-gnu-4.8-2013.09_linux.tar.bz2
>  #https://launchpad.net/linaro-toolchain-binaries/trunk/2013.10/+download/gcc-linaro-aarch64-linux-gnu-4.8-2013.10_linux.tar.xz
>  #http://releases.linaro.org/latest/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.9-2014.08_linux.tar.xz
> -LINARO_VER_MONTH       = 2014.08
> +
> +#http://releases.linaro.org/latest/components/toolchain/binaries/4.8/aarch64-linux-gnu/gcc-linaro-4.8-2015.06-x86_64_aarch64-linux-gnu.tar.xz
> +LINARO_VER_MONTH       = 2015.06
>  LINARO_VERSION         = ${LINARO_VER_MONTH}
> -LINARO_CC_NAME         =
> gcc-linaro-aarch64-linux-gnu-4.9-${LINARO_VERSION}_linux
> +LINARO_CC_NAME         =
> gcc-linaro-4.8-${LINARO_VERSION}-x86_64_aarch64-linux-gnu
>  HOST                   = aarch64-linux-gnu
>
>  DEBDEP                 += libstdc++6:i386
> @@ -39,7 +41,7 @@ LINARO_DIR            = ${ARCH_AARCH64_TOOLCHAIN}/linaro
>  ARCH_ARM_TOOLCHAIN_STATE = ${ARCH_AARCH64_TOOLCHAIN_STATE}
>
>  #LINARO_CC_URL         ?=
> https://launchpad.net/linaro-toolchain-binaries/trunk/${LINARO_VER_MONTH}/+download/${LINARO_CC_NAME}.tar.xz
> -LINARO_CC_URL          ?=
> http://releases.linaro.org/latest/components/toolchain/binaries/${LINARO_CC_NAME}.tar.xz
> +LINARO_CC_URL          ?=
> http://releases.linaro.org/latest/components/toolchain/binaries/4.8/aarch64-linux-gnu/${LINARO_CC_NAME}.tar.xz
>  LINARO_TMPDIR          = $(call shared,${LINARO_DIR}/tmp)
>  TMPDIRS                        += ${LINARO_TMPDIR}
>

Thanks for the patch Peter.

I have not applied it because this file is quite old when compared to
ARM's version. So instead of applying your patch I prefered to sync
these files.

Moreover I have tested both 15.06 and 14.08. Both are broken for
AArch64 (or AArch64 very likely to be broken). Hence I kept 14.08.

Please let me know if I can help.

Regards,
Vinicius

>
> Regards,
> Peter Teoh



-- 
Simplicity is the ultimate sophistication


More information about the LLVMLinux mailing list