tech-pkg archive

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

Re: firefox -> 63.0 WIP diff



On Wed, Oct 24, 2018 at 08:43:32PM +0900, Ryo ONODERA wrote:
> Hi,
> 
> From: coypu%sdf.org@localhost, Date: Wed, 24 Oct 2018 00:13:15 +0000
> 
> > So, I am attempting to update, unsuccessfully because bugs.
> > Here's my interim diff
> > http://coypu.sdf.org/firefox-63.0.diff
> > 
> > Need to do something about clang not having __float128 on netbsd
> > for the purpose of generating bindings, I thought the
> > right file for this is servo/components/style/build_gecko.rs
> > but that didn't seem to work well.
> > (toolchain/53679)
> 
> I feel that _GLIBCXX_USE_FLOAT128 in
> /usr/include/g++/bits/*/c++config.h
> should be converted to
> /* #undef _GLIBCXX_USE_FLOAT128 */
> from
> #define _GLIBCXX_USE_FLOAT128 1
> , because Rust do not recognize -U_GLIBCXX_USE_FLOAT128
> commandline option.

It seems to be not possible to undef outside of rust too.
~> cat test3.cxx
#undef _GLIBCXX_USE_FLOAT128
#include <algorithm>
~> clang++ test3.cxx
In file included from test3.cxx:2:
In file included from /usr/include/g++/algorithm:60:
In file included from /usr/include/g++/utility:70:
In file included from /usr/include/g++/bits/stl_pair.h:59:
In file included from /usr/include/g++/bits/move.h:57:
/usr/include/g++/type_traits:344:39: error: __float128 is not supported on this target
    struct __is_floating_point_helper<__float128>
                                      ^
1 error generated.



Home | Main Index | Thread Index | Old Index