pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: devel/boost-libs compilation failure
> Hi,
>
> On today's -current amd64 system, while executing 'pkg_rolling-replace
> -rsuv', I got:
> ....
> ...found 16163 targets...
> ...updating 208 targets...
> gcc.compile.c++
> bin.v2/libs/math/build/gcc-10/release/threading-multi/visibility-hidden/asinh.o
> cc1plus: warning:
> ./bin.v2/libs/math/build/gcc-10/release/threading-multi/visibility-hidden/pch.gch:
> had text segment at different address
> cc1plus: error: one or more PCH files were found, but they were invalid
> cc1plus: fatal error:
> bin.v2/libs/math/build/gcc-10/release/threading-multi/visibility-hidden/pch:
> No such file or directory
> compilation terminated.
> ....
>
>
> Any ideas?
In devel/boost-libs/Makefile change the patten above 'pch=off' from:
!empty(CC_VERSION:Mgcc-7.*))
to:
!empty(PKGSRC_COMPILER:Mgcc))
so all GCC versions match. The whole condition should be rewritten, but this should let the build go.
Please, let me know if that helped.
Kind regards,
Adam
Home |
Main Index |
Thread Index |
Old Index