Current-Users archive

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

Compiler issues on Current with ArcticFox browser



Hi All,

I have issues with "current" and ArcticFox browser (FireFox fork) I am developing. Unsure if it is a current issue or a pkg issue... or else.

Before the gcc switch, I was able to compile and run the browser, after the switch I can compile, but browser crashes on startup with no decent stacktrace

- system gcc 6.5 : compiles and works
- system gcc 7 : compiles but does not work

A curiosity, is that I never tested gcc7 because on Linux it failed to compile AF, so I limited myself to gcc 6.5 until the code improves. I installed it compiling it from scratch on current.

now one thing I thought is to get gcc 6.5 from pkgsrc, and try to compile, it fails! So somehow the pkg compiler is not as good as the old system one? or did other things change in system that broke it?

31:48.04 config.status: creating common/Makefile
31:48.96 In file included from /usr/pkg/gcc6/include/c++/math.h:36:0,
31:48.96                  from /home/multix/code/Arctic-Fox/intl/icu/source/common/putil.cpp:63: 31:48.96 /usr/pkg/gcc6/include/c++/cmath:1101:11: error: '::double_t' has not been declared
31:48.96    using ::double_t;
31:48.96            ^~~~~~~~
31:48.96 /usr/pkg/gcc6/include/c++/cmath:1102:11: error: '::float_t' has not been declared
31:48.96    using ::float_t;
31:48.96            ^~~~~~~
31:48.96 /usr/pkg/gcc6/include/c++/cmath:1121:11: error: '::copysign' has not been declared
31:48.96    using ::copysign;
31:48.96            ^~~~~~~~
31:48.96 /usr/pkg/gcc6/include/c++/cmath:1229:11: error: '::scalbln' has not been declared
31:48.96    using ::scalbln;
31:48.96            ^~~~~~~
31:48.96 /usr/pkg/gcc6/include/c++/cmath:1233:11: error: '::scalbn' has not been declared
31:48.96    using ::scalbn;
31:48.96            ^~~~~~
31:48.99 gmake[7]: *** [/home/multix/code/Arctic-Fox/intl/icu/source/config/mh-bsd-gcc:45: putil.o] Error

Riccardo


Home | Main Index | Thread Index | Old Index