pkgsrc-Users archive

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

Re: continuing firefox woes: wrong USE_LANGUAGE, missing GCC_REQD



Hi,

Greg Troxel <gdt%lexort.com@localhost> writes:

> I am about to build the newly-updated firefox.
>
> Looking in mozilla-common.mk, I find this:
>
>   # Some modules written in Rust dislike gnu++17 as of 74.0.
>   USE_LANGUAGES+=         c99 c++
>
> I won't understand how this can be correct; I have heard that firefox
> requires C++17, and the above declares that C++03 is enough.
>
> Even if there is some issue with 17, shouldn't that say c++14?
>
> Also, there is no GCC_REQD.  NetBSD 8 -- squarely on the supported list
> of pkgsrc -- has gcc5, and I have the impression that it is known to
> fail.

www/firefox uses clang++ as C++ compiler.
I think that GCC_REQD is not relevant to www/firefox.

Some parts in www/firefox require gnu++17, and some parts
require gnu++14 and they dislike gnu++17.
www/firefox cannot accept consistent -std=... flags.
Adding -std=gnu++14 or -std=gnu++17 to all c++ invocations
causes build failures.

If anyone has proper way to handle this situation of www/firefox,
feel free to fix this problem.


And I will find a time to fix the build on NetBSD/{i386,amd64} 8.

Thank you.

-- 
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index