[Buildroot] buildroot error: No hash found for gcc-7.3.0.tar.xz

Arnout Vandecappelle arnout at mind.be
Wed Nov 21 10:18:27 UTC 2018


 Please keep the mailing list in Cc, others may benefit from your solution and
other people may be able to respond more quickly than me.

On 21/11/2018 00:36, 李学军 wrote:
>>> There is a file “gcc.hash” at path /home/lxj/buildroot-2018.08.2/package/gcc,
>>
>> There should be a symlink from package/gcc/gcc-initial/gcc-initial.hash to this
>>file. Is that symlink present, and is it pointing to the correct file?
>>
> 
> The symlink file is present, and the content of the file is:
> ../gcc.hash
> The following is a copy of the file's infomation:
> root at lxj-VirtualBox:/home/lxj/buildroot-2018.08.2/package/gcc# cd gcc-initial
> root at lxj-VirtualBox:/home/lxj/buildroot-2018.08.2/package/gcc/gcc-initial# ls -ltotal 8
> -rwxrwxrwx 1 root root   11 10月 25 20:40 gcc-initial.hash
> -rwxrwxrwx 1 root root 2083 10月 25 20:40 gcc-initial.mk
> root at lxj-VirtualBox:/home/lxj/buildroot-2018.08.2/package/gcc/gcc-initial# cat gcc-initial.hash
> ../gcc.hashroot at lxj-VirtualBox:/home/lxj/buildroot-2018.08.2/package/gcc/gcc-initial# 
> Thanks.

 So that's not a symlink... I guess you're using some filesystem that doesn't
support symlinks, or doesn't have proper support for symlinks in your kernel.
Virtualbox shared folder maybe?

 That will not work. You need to extract the tarball on a filesystem that
supports symlinks.

 Regards,
 Arnout



More information about the buildroot mailing list