[Buildroot] [PATCH] traceroute: fix 'no rule to make target -lm' error

Arnout Vandecappelle arnout at mind.be
Tue Nov 6 10:32:33 UTC 2018



On 06/11/18 11:07, Peter Korsgaard wrote:
>>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:
> 
> Hi,
> 
>  >  Muhaha. In other words, -lNAME dependencies are broken for cross-compilation!
>  > Indeed, this is coded like this in make (remake.c):
> 
> Yes :/
> 
> At least I think that they are fairly rarely used.
> 
>  >  Bottom line: it looks like Sergio's patch is indeed correct, and moreover, it
>  > looks like it might be better to add it to TARGET_MAKE_ENV. Note sure if we want
>  > to take the risk at this point to make such a landslide change?
> 
> I am about to cut -rc1, so I don't want to do it on master. I suggest we
> merge Sergio's patch (with the above description) and then create a new
> patch for next to add it globally to TARGET_MAKE_ENV.
> 
> OK?

 Sounds good to me.

> 
>>> I guess that that is completely unrelated though.
> 
>  >  So this is completely unrelated: it is because the way glob is used in make is
>  > incompatible with glibc-2.28. But since any distro which has glibc-2.28 also has
>  > make >= 4.0, it's not so important to fix I guess. OTOH it's just a simple
>  > upstream patch.
> 
> Ok, so not really that important. I'm fine with either adding the patch
> or just waiting for the next make bump (that will presumably include
> it).

 Yes it's an upstream patch. But the make releases are relatively rare.

 Regards,
 Arnout




More information about the buildroot mailing list