tech-pkg archive

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

Re: firefox -> 63.0 WIP diff



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.

> Also mysteriously I get:
> error[E0308]: mismatched types
>   --> servo/components/style/gecko/snapshot_helpers.rs:63:42
>    |
> 63 |         .find(|attr| attr.mName.mBits == name.as_ptr() as usize)
>    |                                          ^^^^^^^^^^^^^^^^^^^^^^ expected u64, found usize
> 
> mBits is apparently defined in dom/base/nsAttrName.h
> and usize should be the same thing as uintptr_t, so... no idea.
> Rust configuration error?

I have gotten the same error.
And a Rust parser in my brain does not find any clue yet.

--
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