Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2024 19:26:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 268328] www/firefox fails to build with LTO enabled
Message-ID:  <bug-268328-21738-egZWRdKqSQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268328-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268328-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268328

Nuno Teixeira <eduardo@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eduardo@FreeBSD.org

--- Comment #7 from Nuno Teixeira <eduardo@FreeBSD.org> ---
firefox-126.0_2,2 is failing with LTO. Anyone experience it?

Tomorrow I will take a closer look at logs but I didn't a relevant errors, =
only
warnings:

```
In file included from
/wrkdirs/usr/ports/www/firefox/work/.build/dist/include/mozilla/layers/Text=
ureClient.h:24:
/wrkdirs/usr/ports/www/firefox/work/.build/dist/include/mozilla/gfx/Critica=
lSection.h:55:3:
warning: mutex 'mMutex' is still held at the end of function
[-Wthread-safety-analysis]
   55 |   }
      |   ^
/wrkdirs/usr/ports/www/firefox/work/.build/dist/include/mozilla/gfx/Critica=
lSection.h:53:26:
note: mutex acquired here
   53 |     DebugOnly<int> err =3D pthread_mutex_lock(&mMutex);
      |                          ^
/wrkdirs/usr/ports/www/firefox/work/.build/dist/include/mozilla/gfx/Critica=
lSection.h:58:26:
warning: releasing mutex 'mMutex' that was not held [-Wthread-safety-analys=
is]
   58 |     DebugOnly<int> err =3D pthread_mutex_unlock(&mMutex);
      |                          ^
2 warnings generated.
2 warnings generated.
2 warnings generated.
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/www/firefox/work/.build/dom/media'
2 warnings generated.
2 warnings generated.
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/www/firefox/work/.build/gfx/thebes'
gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/firefox/work/.build'
gmake[1]: ***
[/wrkdirs/usr/ports/www/firefox/work/firefox-126.0/config/recurse.mk:34:
compile] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/firefox/work/.build'
gmake: ***
[/wrkdirs/usr/ports/www/firefox/work/firefox-126.0/config/rules.mk:361: all]
Error 2
=3D=3D=3D> Compilation failed unexpectedly.

```

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268328-21738-egZWRdKqSQ>