tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: AIX support: gcc detection failed



On Sat, May 17, 2025 at 11:25:54AM +0200, Thomas Klausner wrote:
> Hi!
> 
> Brian Callahan provided a patch for pkgsrc for AIX support:
> https://github.com/ibara/patches/blob/main/aix-pkgsrc.diff
> 
> In his blog post https://briancallahan.net/blog/20250516.html he
> describes that he provides a gcc12, but pkgsrc doesn't recognize it.
> 
> > For some reason, every time I tried to build a package, pkgsrc would
> > insist on trying to build GCC 6.5, even though I was using GCC
> > 12.3.0.
> 
> Does anyone know why that could be?
>  Thomas

"--compiler gcc" and "--prefer-pkgsrc yes" result in using the compiler from pkgsrc.
If the package does not specify additional requirements, then the compiler with the minimum version will be used.
Version 6.5 is the minimum version currently processed by gcc.mk, so it is used.
Version 12.3, which Brian uses, is built-in from pkgsrc's point of view, so it is not used.

Dmytro


Home | Main Index | Thread Index | Old Index