Yaakov (Cygwin/X <yselkowitz <at> users.sourceforge.net> writes:
> * Split debuginfo subpackages are created automatically whenever
> possible.

Thank you.

I suggest the following patch to greatly reduce the amount of temporary storage
needed:

diff -c src_postinst.cygpart.orig src_postinst.cygpart
*** src_postinst.cygpart.orig   2012-07-04 07:49:54.000000000 +0200
--- src_postinst.cygpart        2012-07-10 10:53:25.748594900 +0200
***************
*** 929,935 ****
                        dbg="/usr/lib/debug/${exe}.dbg";
  
                        dodir ${dbg%/*};
!                       ${objdump} -dl ${exe} | grep /usr/src/debug | sed -e 
's/:[0-9]*$//g' >>
${T}/.dbgsrc.lst;
  
                        # --add-gnu-debuglink will fail if .gnu_debuglink 
section
                        # already exists, e.g. binutils, which uses hardlinks,
--- 929,935 ----
                        dbg="/usr/lib/debug/${exe}.dbg";
  
                        dodir ${dbg%/*};
!                       ${objdump} -dl ${exe} | grep /usr/src/debug | sed -e 
's/:[0-9]*$//g' | uniq
>> ${T}/.dbgsrc.lst;
  
                        # --add-gnu-debuglink will fail if .gnu_debuglink 
section
                        # already exists, e.g. binutils, which uses hardlinks,


Regards,
Achim.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to