tech-pkg archive

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

gcc8 and "fatal error: had to relocate PCH" with boost-libs

I've been testing out building my working subset of pkgsrc with gcc8
on NetBSD/amd64 and most things work.

One issue I've hit is both boost-libs and opencv fail to build with
"fatal error: had to relocate PCH".
The only reference I've found for this was which discusses
using the same TRY_EMPTY_VM_SPACE as mips and vax for arm to fix
wxGTK28 or wxGTK30 building on arm on an earlier gcc version.

Does anyone have any thoughts on what might be happening here?

For reference my nasty mk.conf hack to get this far is below.



    lang/gcc8 \
    pkgtools/digest \
    pkgtools/cwrappers \
    sysutils/checkperms \
    devel/gmake \
    lang/perl5 \
    textproc/gsed \
    lang/python37 \
    devel/m4 \
    devel/libtool-base \
    devel/readline \
    devel/libffi \
    devel/pkgconf \
    devel/libuuid \
    archivers/bsdtar \


. endif

Home | Main Index | Thread Index | Old Index