pkgsrc-Users archive

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

Re: i386-current ICE/Bus error building wxGTK30?



On Sun, Jan 26, 2020 at 04:44:59PM +0100, Rhialto wrote:
>     "g++"   -fvisibility-inlines-hidden -fPIC -m64 -pthread -O3 -finline-functions -Wno-inline -Wall -fvisibility=hidden -fvisibility=hidden -Winvalid-pch -DBOOST_ALL_NO_LIB=1 -DBOOST_BUILD_PCH_ENABLED -DBOOST_MATH_TR1_DYN_LINK=1 -DNDEBUG -I"bin.v2/libs/math/build/gcc-7.4.0/release/threading-multi/visibility-hidden/../src/tr1" -I"." -I"libs/math/src/tr1" -c -o "bin.v2/libs/math/build/gcc-7.4.0/release/threading-multi/visibility-hidden/hermitel.o" "libs/math/build/../src/tr1/hermitel.cpp"
> 
> ...failed gcc.compile.c++ bin.v2/libs/math/build/gcc-7.4.0/release/threading-multi/visibility-hidden/hermitel.o...
> gcc.compile.c++ bin.v2/libs/math/build/gcc-7.4.0/release/threading-multi/visibility-hidden/legendrel.o libs/math/build/../src/tr1/legendrel.cpp:1:0: fatal error: had to relocate PCH 
>  //  Copyright John Maddock 2008.
> 
> compilation terminated.

You can ktrace it easily - it will be the last mmap() call for the .pch
file and it is intersting to see what address was picked.

> > Side note: we are talking about a base system gcc here or pkgsrc gcc?
> > Which version?
> 
> Pkgsrc gcc 7.4.0.

Hmm, there seems to be a patch missing. See
lang/gcc48/patches/patch-gcc_config_host-netbsd.c and note that it is missing
in gcc7 (though the build glue that references it is still there).

Martin


Home | Main Index | Thread Index | Old Index