* [gentoo-dev] [RFC] New global USE flag: unwind
@ 2017-05-11 9:29 Chí-Thanh Christopher Nguyễn
2017-05-11 10:21 ` Mart Raudsepp
2017-05-11 10:39 ` Michał Górny
0 siblings, 2 replies; 5+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2017-05-11 9:29 UTC (permalink / raw
To: gentoo-dev
Suggested description: Add support for stack traces and function name
resolution via sys-libs/libunwind
That description is a little unwieldy though, better suggestions are
welcome.
Currently in use by the following packages:
dev-cpp/glog:unwind - Use sys-libs/libunwind for stack unwinding instead
of glibc/gcc (may be more reliable on x86_64)
dev-libs/efl:unwind - Enable debug support via sys-libs/libunwind
dev-libs/weston:unwind - Enable libunwind usage for backtraces
dev-util/ltrace:unwind - Use sys-libs/libunwind for frame unwinding support
dev-util/perf:unwind - Use sys-libs/libunwind for frame unwinding support.
dev-util/strace:unwind - Enable stack backtraces (-k flag) via
sys-libs/libunwind
media-libs/gstreamer:unwind - Enable sys-libs/libunwind usage for better
backtrace support in leaks tracer module
www-apache/mod_backtrace:unwind - Use sys-libs/libunwind to provide
better resolution of function names.
x11-apps/intel-gpu-tools:unwind - Provide automatic stack traces on test
failures
x11-base/xorg-server:unwind - Enable libunwind usage for backtraces
I understand that dev-cpp/glog uses the unwind flag differently from the
other packages. If that is an issue that package's flag could be renamed
to "libunwind" as sys-libs/libcxx et al. currently use.
Best regards,
Chí-Thanh Christopher Nguyễn
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] [RFC] New global USE flag: unwind
2017-05-11 9:29 [gentoo-dev] [RFC] New global USE flag: unwind Chí-Thanh Christopher Nguyễn
@ 2017-05-11 10:21 ` Mart Raudsepp
2017-05-11 10:39 ` Michał Górny
1 sibling, 0 replies; 5+ messages in thread
From: Mart Raudsepp @ 2017-05-11 10:21 UTC (permalink / raw
To: gentoo-dev
Ühel kenal päeval, N, 11.05.2017 kell 11:29, kirjutas Chí-Thanh
Christopher Nguyễn:
> Suggested description: Add support for stack traces and function
> name
> resolution via sys-libs/libunwind
>
> That description is a little unwieldy though, better suggestions are
> welcome.
I think it's usually used to be able to grab function names and such
for crash backtraces or whatnot into logs, even if the binaries are
rather optimized?
> Currently in use by the following packages:
>
> dev-cpp/glog:unwind - Use sys-libs/libunwind for stack unwinding
> instead
> of glibc/gcc (may be more reliable on x86_64)
> dev-libs/efl:unwind - Enable debug support via sys-libs/libunwind
> dev-libs/weston:unwind - Enable libunwind usage for backtraces
> dev-util/ltrace:unwind - Use sys-libs/libunwind for frame unwinding
> support
> dev-util/perf:unwind - Use sys-libs/libunwind for frame unwinding
> support.
> dev-util/strace:unwind - Enable stack backtraces (-k flag) via
> sys-libs/libunwind
> media-libs/gstreamer:unwind - Enable sys-libs/libunwind usage for
> better
> backtrace support in leaks tracer module
> www-apache/mod_backtrace:unwind - Use sys-libs/libunwind to provide
> better resolution of function names.
> x11-apps/intel-gpu-tools:unwind - Provide automatic stack traces on
> test
> failures
> x11-base/xorg-server:unwind - Enable libunwind usage for backtraces
>
> I understand that dev-cpp/glog uses the unwind flag differently from
> the
> other packages. If that is an issue that package's flag could be
> renamed
> to "libunwind" as sys-libs/libcxx et al. currently use.
For gstreamer 1.12 I will also need one for libdw for DWARF unwind to
avoid automagic deps. Maybe it'd be OK to control both (and so both
libraries) via USE=unwind too instead of some local USE=dwarf or
USE=libdw or USE=dw or whatnot?
Mart
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] [RFC] New global USE flag: unwind
2017-05-11 9:29 [gentoo-dev] [RFC] New global USE flag: unwind Chí-Thanh Christopher Nguyễn
2017-05-11 10:21 ` Mart Raudsepp
@ 2017-05-11 10:39 ` Michał Górny
2017-05-11 11:05 ` Chí-Thanh Christopher Nguyễn
1 sibling, 1 reply; 5+ messages in thread
From: Michał Górny @ 2017-05-11 10:39 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 1641 bytes --]
On czw, 2017-05-11 at 11:29 +0200, Chí-Thanh Christopher Nguyễn wrote:
> Suggested description: Add support for stack traces and function name
> resolution via sys-libs/libunwind
Maybe skip the library name. Note that there's also llvm-libunwind,
and some packages may be actually happy with libgcc_s.
> That description is a little unwieldy though, better suggestions are
> welcome.
>
> Currently in use by the following packages:
>
> dev-cpp/glog:unwind - Use sys-libs/libunwind for stack unwinding instead
> of glibc/gcc (may be more reliable on x86_64)
> dev-libs/efl:unwind - Enable debug support via sys-libs/libunwind
> dev-libs/weston:unwind - Enable libunwind usage for backtraces
> dev-util/ltrace:unwind - Use sys-libs/libunwind for frame unwinding support
> dev-util/perf:unwind - Use sys-libs/libunwind for frame unwinding support.
> dev-util/strace:unwind - Enable stack backtraces (-k flag) via
> sys-libs/libunwind
> media-libs/gstreamer:unwind - Enable sys-libs/libunwind usage for better
> backtrace support in leaks tracer module
> www-apache/mod_backtrace:unwind - Use sys-libs/libunwind to provide
> better resolution of function names.
> x11-apps/intel-gpu-tools:unwind - Provide automatic stack traces on test
> failures
> x11-base/xorg-server:unwind - Enable libunwind usage for backtraces
>
> I understand that dev-cpp/glog uses the unwind flag differently from the
> other packages. If that is an issue that package's flag could be renamed
> to "libunwind" as sys-libs/libcxx et al. currently use.
>
Yeah, that makes sense.
--
Best regards,
Michał Górny
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 963 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] [RFC] New global USE flag: unwind
2017-05-11 10:39 ` Michał Górny
@ 2017-05-11 11:05 ` Chí-Thanh Christopher Nguyễn
2017-05-18 7:51 ` Chí-Thanh Christopher Nguyễn
0 siblings, 1 reply; 5+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2017-05-11 11:05 UTC (permalink / raw
To: gentoo-dev
Michał Górny schrieb:
> On czw, 2017-05-11 at 11:29 +0200, Chí-Thanh Christopher Nguyễn wrote:
>> Suggested description: Add support for stack traces and function name
>> resolution via sys-libs/libunwind
> Maybe skip the library name. Note that there's also llvm-libunwind,
> and some packages may be actually happy with libgcc_s.
Ok, then how about:
"Add support for stack trace unwinding and function name resolution"
>> I understand that dev-cpp/glog uses the unwind flag differently from the
>> other packages. If that is an issue that package's flag could be renamed
>> to "libunwind" as sys-libs/libcxx et al. currently use.
>>
> Yeah, that makes sense.
>
Reported:
https://bugs.gentoo.org/show_bug.cgi?id=618190
Best regards,
Chí-Thanh Christopher Nguyễn
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-dev] [RFC] New global USE flag: unwind
2017-05-11 11:05 ` Chí-Thanh Christopher Nguyễn
@ 2017-05-18 7:51 ` Chí-Thanh Christopher Nguyễn
0 siblings, 0 replies; 5+ messages in thread
From: Chí-Thanh Christopher Nguyễn @ 2017-05-18 7:51 UTC (permalink / raw
To: gentoo-dev
As there were no further comments or objections, I added to profiles/use.desc
unwind - Add support for call stack unwinding and function name resolution
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d62064cb2ac36c7443bd9dcd46019b9816c5ef9e
Best regards,
Chí-Thanh Christopher Nguyễn
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-05-18 7:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-11 9:29 [gentoo-dev] [RFC] New global USE flag: unwind Chí-Thanh Christopher Nguyễn
2017-05-11 10:21 ` Mart Raudsepp
2017-05-11 10:39 ` Michał Górny
2017-05-11 11:05 ` Chí-Thanh Christopher Nguyễn
2017-05-18 7:51 ` Chí-Thanh Christopher Nguyễn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox