Re: Question about splitting debug information

Jason Kenny <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <SN2PR01MB204598ED5E561642AF6F8E2984F60@SN2PR01MB2045.prod.exchangelabs.com>
Just a note on my personal experience with RPMs. ( might be useful or might not..)
In Parts I making a new drop with a number of fixes to the RPM builders it provides. The rpmbuild program on fedora and rhel/centos will make a .debug  package for you unless you turn it off. I found that it does not like the build to a preemptive split of debug info. So for me, I turn off this feature when making RPMs. The other quirk I have seen with centos\rhel systems is when using devtools7 for the compiler. The binaries rpm split debug info feature seems to break with some binary difference with gcc 7 vs older versions of gcc. At least for Parts I have not done the clean up needed to allow scons to understand that a debug package would be made as well and to make sure the binaries are in a good state for rpmbuild to split the debug info out. I currently just turning the feature off in the spec file to get around this issue.
Jason
________________________________
From: Scons-users <[email protected]> on behalf of Mats Wichmann <[email protected]>
Sent: Wednesday, October 24, 2018 11:47 AM
To: [email protected]
Subject: Re: [Scons-users] Question about splitting debug information

On 10/24/2018 09:32 AM, Jason Kenny wrote:
> Just a question... would this be useful to have in SCons?  The Parts extension I work on for SCons did this via adding it to the env["PDB"] = "lib.debug". This required tweaking the actions for the linker tool on posix systems. I find it very useful for similar reasons.

The rpm packaging code might be able to do this during the step of
building the package.  I had to do some fiddling to turn off the default
behavior of trying to split out debug support on recent Fedoras because
it was breaking tests, but it's just a flag to turn it back on.

Anyway I'll keep an eye on what you guys are doing in case the packaging
bits need another kick.
_______________________________________________
Scons-users mailing list
[email protected]
https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpairlist4.pair.net%2Fmailman%2Flistinfo%2Fscons-users&amp;data=02%7C01%7C%7Cf497d0c67c68421b89ac08d639d1b75b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636759970212313903&amp;sdata=X706357hDIZxUxFxHCvNJhFY7LW4i3kCeSuEDuvS%2Fz0%3D&amp;reserved=0

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.