public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcc/66570] New: libbacktrace is not installed
@ 2015-06-17 14:40 jj at stusta dot net
  2020-04-27 16:32 ` [Bug libbacktrace/66570] " abraxa@dar-clan.de
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jj at stusta dot net @ 2015-06-17 14:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66570

            Bug ID: 66570
           Summary: libbacktrace is not installed
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jj at stusta dot net
  Target Milestone: ---

libbacktrace is really useful and can be used by user programs perfectly.

Please install the library by default.
Currently: libbacktrace/Makefile.am:
noinst_LTLIBRARIES = libbacktrace.la

Gentoo won't install it on its own:
https://bugs.gentoo.org/show_bug.cgi?id=552098

Debian already includes the library in in libgcc-4.8-dev and later
(https://packages.debian.org/sid/amd64/libgcc-4.9-dev/filelist).


We'd like to use libbacktrace for http://openage.sft.mx/ but because of this
issue many distributors don't provide the probably best backtrace library.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libbacktrace/66570] libbacktrace is not installed
  2015-06-17 14:40 [Bug libgcc/66570] New: libbacktrace is not installed jj at stusta dot net
@ 2020-04-27 16:32 ` abraxa@dar-clan.de
  2020-04-27 17:20 ` ian at airs dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: abraxa@dar-clan.de @ 2020-04-27 16:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66570

Soeren A. <abraxa@dar-clan.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abraxa@dar-clan.de

--- Comment #1 from Soeren A. <abraxa@dar-clan.de> ---
The sigrok project at sigrok.org needs libbacktrace as well. This bug is almost
5 years old, is this ever going to happen?

If there was a reason for intentionally not installing libbacktrace then maybe
I would understand but as it stands, it seems like a strange decision to omit
it from the install.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libbacktrace/66570] libbacktrace is not installed
  2015-06-17 14:40 [Bug libgcc/66570] New: libbacktrace is not installed jj at stusta dot net
  2020-04-27 16:32 ` [Bug libbacktrace/66570] " abraxa@dar-clan.de
@ 2020-04-27 17:20 ` ian at airs dot com
  2020-04-27 17:49 ` abraxa@dar-clan.de
  2020-04-27 20:27 ` ian at airs dot com
  3 siblings, 0 replies; 5+ messages in thread
From: ian at airs dot com @ 2020-04-27 17:20 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66570

--- Comment #2 from Ian Lance Taylor <ian at airs dot com> ---
I personally am not going to make the decision as to whether GCC should install
libbacktrace.  That is up to the GCC release managers.

Most projects that want to use libbacktrace separately from GCC are using the
project github.com/ianlancetaylor/libbacktrace.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libbacktrace/66570] libbacktrace is not installed
  2015-06-17 14:40 [Bug libgcc/66570] New: libbacktrace is not installed jj at stusta dot net
  2020-04-27 16:32 ` [Bug libbacktrace/66570] " abraxa@dar-clan.de
  2020-04-27 17:20 ` ian at airs dot com
@ 2020-04-27 17:49 ` abraxa@dar-clan.de
  2020-04-27 20:27 ` ian at airs dot com
  3 siblings, 0 replies; 5+ messages in thread
From: abraxa@dar-clan.de @ 2020-04-27 17:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66570

--- Comment #3 from Soeren A. <abraxa@dar-clan.de> ---
Thanks for your response, Ian. Do you know how the GCC release managers can be
asked for their stance regarding this? I would assume that they're not CC'ed on
this bug report and I'm not familiar enough with the GCC organization to know
where to check.

So far, I haven't seen a libbacktrace package on any of the distros that I
checked, so my understanding of what you wrote is that an alternative way of
using libbacktrace would be to integrate it into the build process of the
program that wishes to use it and link it to the executable statically. Is this
understanding correct?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libbacktrace/66570] libbacktrace is not installed
  2015-06-17 14:40 [Bug libgcc/66570] New: libbacktrace is not installed jj at stusta dot net
                   ` (2 preceding siblings ...)
  2020-04-27 17:49 ` abraxa@dar-clan.de
@ 2020-04-27 20:27 ` ian at airs dot com
  3 siblings, 0 replies; 5+ messages in thread
From: ian at airs dot com @ 2020-04-27 20:27 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66570

--- Comment #4 from Ian Lance Taylor <ian at airs dot com> ---
Probably it makes sense to ask on gcc@gcc.gnu.org about whether libbacktrace
should be installed when installing GCC.

Yes, what you describe should work.  Note that in the general case libbacktrace
must be statically linked, though there are limited cases where it can work
correctly when dynamically linked.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-27 20:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-17 14:40 [Bug libgcc/66570] New: libbacktrace is not installed jj at stusta dot net
2020-04-27 16:32 ` [Bug libbacktrace/66570] " abraxa@dar-clan.de
2020-04-27 17:20 ` ian at airs dot com
2020-04-27 17:49 ` abraxa@dar-clan.de
2020-04-27 20:27 ` ian at airs dot com

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 read-only IMAP folder(s) and NNTP newsgroup(s).