Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 662114

Summary: [reagentoo overlay] net-im/telegram-desktop-1.3.10 build fails with ICE using current gcc-7.3.0-r3
Product: Gentoo Linux Reporter: Andrew Petelin <adrianopol>
Component: OverlaysAssignee: Dmitriy Baranov <reagentoo>
Status: RESOLVED UPSTREAM    
Severity: normal CC: jstein, walch.martin
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description Andrew Petelin 2018-07-25 14:29:40 UTC
Building telegram-desktop-1.3.10 fails when compiling with gcc-7.3.0-r3:

> /var/tmp/portage/net-im/telegram-desktop-1.3.10/work/telegram-desktop-1.3.10/Telegram/SourceFiles/export/data/export_data_types.cpp: In lambda function:
> /var/tmp/portage/net-im/telegram-desktop-1.3.10/work/telegram-desktop-1.3.10/Telegram/SourceFiles/export/data/export_data_types.cpp:413:59: internal compiler error: Segmentation fault
>     if constexpr (MTPDphotoCachedSize::Is<decltype(data)>()) {
>                                                            ^
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <https://bugs.gentoo.org/> for instructions.


telegram ebuild: https://github.com/reagentoo/gentoo-overlay/blob/master/net-im/telegram-desktop/telegram-desktop-9999.ebuild


Discussion in telegram-desktop tracker: https://github.com/telegramdesktop/tdesktop/issues/4967.

Bug in altlinux tracker: https://bugzilla.altlinux.org/show_bug.cgi?id=35112.
Comment 1 Andrew Petelin 2018-07-25 14:30:24 UTC
Created attachment 541008 [details]
emerge --info
Comment 2 Andrew Petelin 2018-07-25 14:34:53 UTC
Created attachment 541010 [details]
build.log
Comment 4 Andrew Petelin 2018-08-06 11:49:37 UTC
Jonas Stein, excuse me, but why reagentoo should be an assignee? The bug is in the particular gcc version in conjunction with C++-17 features, package telegram-desktop in reagentoo's repository already has a temporary fix for this bug.
Comment 5 Dmitriy Baranov 2018-08-06 16:31:05 UTC
Excuse me. I'm temporary is dev away. :)
I'll fix it as soon as I have some time.
Comment 6 Andrew Petelin 2019-01-29 15:06:40 UTC
This is already fixed, and the version is rather outdated.
Comment 7 Andreas Sturmlechner gentoo-dev 2020-01-15 22:15:03 UTC
Closing this for lack of response.