Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
chromium-72.0.3626.121 on arm64 (ebuild); fixes CVE-2019-578
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
Sakaki
Guru
Guru


Joined: 21 May 2014
Posts: 322

PostPosted: Sat Mar 09, 2019 4:33 pm    Post subject: chromium-72.0.3626.121 on arm64 (ebuild); fixes CVE-2019-578 Reply with quote

Hello,

given that CVE-2019-578 is reportedly already being exploited in the wild, I've added a variant of the main-tree ebuild for www-client/chromium-72.0.3626.121 (the first supported version which has the fix) to my rpi3-overlay, here (this has the necessary patches to build on arm64).

A binary package has also been pushed to the binhost, here. If you are using my gentoo-on-rpi3-64bit image, to update just issue:
Code:
demouser@pi64 ~ $ sudo emaint sync --repo rpi3
demouser@pi64 ~ $ sudo emerge -vu www-client/chromium


PS I just recently started using the jumbo-build USE flag with chromium; and I'd highly recommend it for those with a sufficiently resourced machine. It cut the build time from 9 hours to 3 on my system ^-^
_________________
Regards,

sakaki
Back to top
View user's profile Send private message
Khumarahn
Apprentice
Apprentice


Joined: 17 Apr 2009
Posts: 172

PostPosted: Wed Apr 03, 2019 11:04 pm    Post subject: Reply with quote

Hi Sakaki, did you succeed with compilation of chromium-73.0.3683.75 on arm64? I get
Code:
In file included from ../../third_party/skia/src/core/SkOpts.cpp:43:
../../third_party/skia/src/opts/SkRasterPipeline_opts.h: In function ‘neon_and_crc32::F neon_and_crc32::from_half(neon_and_crc32::U16)’:
../../third_party/skia/src/opts/SkRasterPipeline_opts.h:733:25: error: cannot convert ‘neon_and_crc32::U16’ {aka ‘short unsigned int’} to ‘float16x4_t’ {aka ‘__vector(4) __fp16’}
     return vcvt_f32_f16(h);
Back to top
View user's profile Send private message
Sakaki
Guru
Guru


Joined: 21 May 2014
Posts: 322

PostPosted: Thu Apr 04, 2019 2:24 am    Post subject: Reply with quote

Khumarahn wrote:
Hi Sakaki, did you succeed with compilation of chromium-73.0.3683.75 on arm64? I get
Code:
In file included from ../../third_party/skia/src/core/SkOpts.cpp:43:
../../third_party/skia/src/opts/SkRasterPipeline_opts.h: In function ‘neon_and_crc32::F neon_and_crc32::from_half(neon_and_crc32::U16)’:
../../third_party/skia/src/opts/SkRasterPipeline_opts.h:733:25: error: cannot convert ‘neon_and_crc32::U16’ {aka ‘short unsigned int’} to ‘float16x4_t’ {aka ‘__vector(4) __fp16’}
     return vcvt_f32_f16(h);

I haven't tried 73 yet, but by the looks of this error, you'll need at least to apply the skia patch (as that impacts the from_half / to_half defs). You might need to apply the crashpad patch too - not sure. The patches are applied (for 72.0.3626.121) in my tweaked ebuild here; you can view them here.
_________________
Regards,

sakaki
Back to top
View user's profile Send private message
Khumarahn
Apprentice
Apprentice


Joined: 17 Apr 2009
Posts: 172

PostPosted: Mon Apr 08, 2019 11:42 pm    Post subject: Reply with quote

I could build chromium-73.0.3683.75. I used the neon patch, two additional patches from https://bugs.gentoo.org/679326#c1 and clang. With gcc it still did not work.
Back to top
View user's profile Send private message
Sakaki
Guru
Guru


Joined: 21 May 2014
Posts: 322

PostPosted: Sat Apr 20, 2019 3:27 pm    Post subject: Reply with quote

Khumarahn,

Thanks for the pointers about building v73! I've just added an ebuild for www-client/chromium-73.0.3683.86-r1 to the rpi3 overlay (used by gentoo-on-rpi3-64bit image), and pushed a corresponding tbz2 to the binhost.
_________________
Regards,

sakaki
Back to top
View user's profile Send private message
Khumarahn
Apprentice
Apprentice


Joined: 17 Apr 2009
Posts: 172

PostPosted: Thu May 09, 2019 2:08 pm    Post subject: Reply with quote

chromium-73.0.3683.75 does not compile again, this time with gcc-9, with
Code:
./../../chrome/browser/ui/tabs/tab_strip_model_observer.cc:51:22: error: defaulting this default constructor would delete it after its first declaration


I found https://github.com/ungoogled-software/ungoogled-chromium-debian/issues/7 but did not try it yet.

Upd: this seems to be the patch:
https://github.com/FireBurn/Overlay/blob/master/www-client/chromium/files/chromium-deconst.patch
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum