rmottola / Arctic-Fox

Web Browser for Mac OS X 10.6+, Linux (PowerPC, x86, amd64, ARM, MIPS), NetBSD, OpenBSD, and Windows XP.
Other
323 stars 37 forks source link

NetBSD i386 9.3 fails to compile #195

Closed rmottola closed 8 months ago

rmottola commented 8 months ago

Acer Core Duo system - system gcc 7.5

44:03.81 /home/multix/code/Arctic-Fox/obj-i386-unknown-netbsdelf9.3/dist/include/mozilla/dom/IDBTransaction.h:62:5: error: expected identifier before '(' token
44:03.81      CLEANUP,
44:03.81    
export CC="gcc  -mtune=pentium-m -march=pentium-m "
export CXX="g++  -mtune=pentium-m -march=pentium-m "

mk_add_options MOZ_MAKE_FLAGS="-s -j2"

ac_add_options --disable-crashreporter
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-updater
ac_add_options --enable-mozril-geoloc
ac_add_options --disable-webrtc
ac_add_options --disable-safe-browsing
ac_add_options --disable-parental-controls
ac_add_options --enable-release
ac_add_options --disable-necko-wifi
ac_add_options --disable-eme
ac_add_options --disable-gamepad
ac_add_options --enable-dbus
ac_add_options --disable-gio
ac_add_options --disable-gconf
ac_add_options --disable-pulseaudio
ac_add_options --enable-strip
ac_add_options --enable-install-strip
ac_add_options --enable-application=browser
ac_add_options --with-branding=browser/branding/arcticfox
ac_add_options --enable-optimize

ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --disable-precompiled-startupcache
rmottola commented 8 months ago

On ThinkPad T43 , 9.3 gcc 7.5 it compiler.

Must be something specific to that system,

Mozconfig below.

export CC="gcc -mtune=pentium-m -march=pentium-m"
export CXX="g++ -mtune=pentium-m -march=pentium-m"

mk_add_options MOZ_MAKE_FLAGS="-s"

ac_add_options --disable-crashreporter
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-updater
ac_add_options --enable-mozril-geoloc
ac_add_options --disable-webrtc
ac_add_options --disable-safe-browsing
ac_add_options --disable-parental-controls
ac_add_options --enable-release
ac_add_options --disable-necko-wifi
ac_add_options --disable-eme
ac_add_options --disable-gamepad
ac_add_options --enable-dbus
ac_add_options --disable-gio
ac_add_options --disable-gconf
ac_add_options --disable-pulseaudio
ac_add_options --enable-strip
ac_add_options --enable-install-strip
ac_add_options --enable-application=browser
ac_add_options --with-branding=browser/branding/arcticfox
ac_add_options --enable-optimize

ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --disable-precompiled-startupcache
rmottola commented 8 months ago

An update of the installed packages fixed the build issue.