From: v.ondruch@... Date: 2016-11-30T10:50:45+00:00 Subject: [ruby-core:78436] [Ruby trunk Bug#12934] Make compressed debug section optional Issue #12934 has been updated by Vit Ondruch. Thx for implementing this. ```--with-compress-debug-sections=no``` seems to disable the compression of debug sections. ---------------------------------------- Bug #12934: Make compressed debug section optional https://bugs.ruby-lang.org/issues/12934#change-61809 * Author: Vit Ondruch * Status: Closed * 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/devel@lists.fedoraproject.org/thread/225MNNCTUXP22BOI3VAGH3RE6NWGT7PC/ [2]: https://bugzilla.redhat.com/show_bug.cgi?id=1394759 -- https://bugs.ruby-lang.org/ Unsubscribe: