This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: cygport-0.10.11-1


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]