[ruby-core:78123] [Ruby trunk Bug#12934] Make compressed debug section optional

From: v.ondruch@...
Date: 2016-11-14 13:00:29 UTC
List: ruby-core #78123
Issue #12934 has been updated by Vit Ondruch.


Forgot to link the RPM ticket: https://bugzilla.redhat.com/show_bug.cgi?id=1394759

----------------------------------------
Bug #12934: Make compressed debug section optional
https://bugs.ruby-lang.org/issues/12934#change-61486

* Author: Vit Ondruch
* Status: Open
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* ruby -v: ruby 2.4.0dev (2016-11-10 trunk 56693) [x86_64-linux]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
r56445 introduces "--compress-debug-sections=zlib" flag to compress the debug section. Unfortunately, it seems that the compressed sections are not well handled by RPM. Ruby package build log now contains plenty of messages such as:

```
/usr/lib/rpm/debugedit: /builddir/build/BUILDROOT/ruby-2.4.0-0.1.r56693.fc26.x86_64/usr/lib64/libruby.so.2.4.0: DWARF version 0 unhandled
```

I am afraid, that the debug sections are not properly stripped of and moved into -debuginfo subpackages as the should.

I opened discussion about this on Fedora devel ML [1], but the only suggestion I get so far was to revert this patch. Since I don't think carrying patches around is good idea, would it be possible to make this configurable? I am also asking RPM guys if they can add support for the compressed debug sections.


[1]: https://lists.fedoraproject.org/archives/list/[email protected]/thread/225MNNCTUXP22BOI3VAGH3RE6NWGT7PC/
[2]: https://bugzilla.redhat.com/show_bug.cgi?id=1394759



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next