Opened 7 weeks ago

Last modified 4 weeks ago

#32259 assigned defect

Tor Browser fails to start on some Linux systems without libatomic being installed

Reported by: gk Owned by: boklm
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-9.0-issues, tbb-9.0.1-can, TorBrowserTeam201912
Cc: boklm, sectua1, tbb-team Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

E.g. Trisquel 8 32bit seems to be affected, ses this thread on our blog.

Our Tor Browser 8.5.5 worked on those systems, though.

Child Tickets

Change History (3)

comment:1 Changed 5 weeks ago by sysrqb

Keywords: TorBrowserTeam201912 added

It seems Icecat is still on 60esr, so any older systems that only have Icecat (or similar) installed won't have libatomic installed as a dependency yet (sigh).

https://git.savannah.gnu.org/cgit/gnuzilla.git

build/autoconf/toolchain.m4:

 92 AC_DEFUN([MOZ_CXX11],
 93 [
 94 dnl Updates to the test below should be duplicated further below for the
 95 dnl cross-compiling case.
 96 AC_LANG_CPLUSPLUS
 97 if test "$GNU_CXX"; then
 98     AC_CACHE_CHECK([whether 64-bits std::atomic requires -latomic],
 99         ac_cv_needs_atomic,
100         dnl x86 with clang is a little peculiar.  std::atomic does not require
101         dnl linking with libatomic, but using atomic intrinsics does, so we                                                                                                                             
102         dnl force the setting on for such systems.
103         if test "$CC_TYPE" = "clang" -a "$CPU_ARCH" = "x86" -a "$OS_ARCH" = "Linux"; then
104             ac_cv_needs_atomic=yes

I guess we can either bundle it (as a fallback) or try detecting this at run-time and notify the user they should install it.

comment:2 Changed 4 weeks ago by gk

Cc: sectua1 added

#32345 is a duplicate.

comment:3 Changed 4 weeks ago by pili

Cc: tbb-team added
Owner: changed from tbb-team to boklm
Status: newassigned

Assigning more tickets to boklm for the next few months

Note: See TracTickets for help on using tickets.