* [PR PATCH] firefox-esr: enable debug symbols on all archs
@ 2019-09-16 12:48 voidlinux-github
2019-09-16 13:59 ` [PR PATCH] [Merged]: " voidlinux-github
0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-09-16 12:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
There is a new pull request by q66 against master on the void-packages repository
https://github.com/void-ppc/void-packages esr32
https://github.com/void-linux/void-packages/pull/14504
firefox-esr: enable debug symbols on all archs
Same as in main `firefox`.
A patch file from https://github.com/void-linux/void-packages/pull/14504.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-esr32-14504.patch --]
[-- Type: text/x-diff, Size: 1663 bytes --]
From db28134a4c5c16c2de73e729fb74fa19ee2206d2 Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Mon, 16 Sep 2019 14:44:40 +0200
Subject: [PATCH] firefox-esr: enable debug symbols on all archs
[ci skip]
---
srcpkgs/firefox-esr/template | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/firefox-esr/template b/srcpkgs/firefox-esr/template
index def96276d3b..829eb017622 100644
--- a/srcpkgs/firefox-esr/template
+++ b/srcpkgs/firefox-esr/template
@@ -4,7 +4,7 @@
#
pkgname=firefox-esr
version=68.1.0
-revision=1
+revision=2
build_helper="rust"
wrksrc="firefox-${version}"
short_desc="Mozilla Firefox web browser - Extended Support Release (ESR)"
@@ -30,10 +30,6 @@ conflicts="firefox>=0"
build_options="alsa dbus gtk3 pulseaudio startup_notification xscreensaver sndio"
build_options_default="alsa dbus gtk3 pulseaudio startup_notification xscreensaver sndio"
-if [ "$XBPS_WORDSIZE" -eq 32 ]; then
- nodebug=yes
-fi
-
case $XBPS_TARGET_MACHINE in
armv6*)
broken="required NEON extensions are not supported on armv6"
@@ -112,9 +108,14 @@ do_build() {
;;
esac
- if [ "$XBPS_WORDSIZE" -eq 32 ]; then
- # ENOMEM
- echo "ac_add_options --disable-debug-symbols" >>.mozconfig
+ # work around large debug symbols on 32-bit hosts
+ if [ "$XBPS_WORDSIZE" = "32" ]; then
+ export CFLAGS="${CFLAGS/-g/-g1}"
+ export CXXFLAGS="${CXXFLAGS/-g/-g1}"
+ export LDFLAGS+=" -Wl,--no-keep-memory"
+ # patch the rust debug level, this is hardcoded
+ sed -i "s/debug_info = '2'/debug_info = '1'/" \
+ build/moz.configure/toolchain.configure
fi
export LDFLAGS+=" -Wl,-rpath=/usr/lib/firefox"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: firefox-esr: enable debug symbols on all archs
2019-09-16 12:48 [PR PATCH] firefox-esr: enable debug symbols on all archs voidlinux-github
@ 2019-09-16 13:59 ` voidlinux-github
0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-09-16 13:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 206 bytes --]
There's a merged pull request on the void-packages repository
firefox-esr: enable debug symbols on all archs
https://github.com/void-linux/void-packages/pull/14504
Description:
Same as in main `firefox`.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-16 13:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-16 12:48 [PR PATCH] firefox-esr: enable debug symbols on all archs voidlinux-github
2019-09-16 13:59 ` [PR PATCH] [Merged]: " voidlinux-github
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).