[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#322868: #322868 Building with debug symbols should be easy



[I'm sending a carbon copy of this to the BTS, mainly to tell the
maintainers and other interested parties that there is at least one more
user concerned about this. The actual content of this mail is not too
important in solving it, so you're not missing much if you neither
understand Swedish nor Norwegian.]

torgeirb@ifi.uio.no @ 2005-09-07 (Wednesday), 14:33 (+0200)
> Hei

God kväll,

> Jeg sliter med det samme problemet du beskriver i Debian bug #322868,
> debugging symboler i qt3. Har du funnet noen løsning på dette?

Det korta svaret är dessvärre nej.

Som jag minns det så hittade jag en mängd strip när jag sökte efter det
i filerna. Fast det var aldrig ett speciellt viktigt fel för mig, utan
något jag hittade när jag försökte jobba runt ett annat. Med andra ord
har jag inte lagt ner någon mer tid på det.

Eftersom det är ett brott mot debian's policy så tittade jag på
möjligheten att öka allvarlighetsgraden, men det är tydligen bara svåra
överträdelser som är grund nog för att göra det.

"
	serious (allvarligt)
	    en svår överträdelse av Debians policy (i stort sett så
	    bryter den mot ett ”måste”- eller ”krav”-direktiv), eller,
	    enligt paketansvarige, gör paketet olämpligt att släppas.
"

Så jag antar att det ligger på dig att lösa det om det ska lösas snart.
:/  För mig är det inte jätteviktigt och de paketansvariga tycks inte ha
det i toppprioritet heller.

Allt jag kan göra är att peka ut var jag TROR att strippandet sker, men
så långt kanske du kommit själv?

Bifogad är en fil som jag fått med hjälp av följande kommandon:

leka% find . -exec grep --with-filename strip '{}' \; > /tmp/strip.txt
leka% egrep -v '[.]html:|[.]3qt:|[.]cpp:|[.]h:|[.]c:' /tmp/strip.txt > /tmp/strip_possible.txt

Min misstänker är att det skulle räcka att ändra i och ta bort strip-
raderna från "mkspecs/linux-g++/qmake.conf", men för tillfället lyckas
jag inte kompilera - och dessutom vill du nog ha ett svar innan jag
hunnit testa.

Sanningen är att jag inte på rak arm vet hur byggprocessen går till och
jag har inte möjlighet att undersöka.

> På forhånd takk for svar

Inte mycket till svar jag hade, tyvärr. Lycka till och välkommen att
höra av dig igen ifall du tror att jag kan vara till någon hjälp.
--
/Martin
./bin/findtr:    # strip comments -- does not handle "/*" in strings
./doc/html/index:"QCString::stripWhiteSpace" qcstring.html#stripWhiteSpace
./doc/html/index:"QString::stripWhiteSpace" qstring.html#stripWhiteSpace
./doc/html/qt.dcf:    <keyword ref="qcstring.html#stripWhiteSpace">stripWhiteSpace</keyword>
./doc/html/qt.dcf:    <keyword ref="qstring.html#stripWhiteSpace">stripWhiteSpace</keyword>
./doc/embclasses.doc:no new QRenderedFont need be created for it. It's possible to strip out
./src/moc/moc.y:	    typeExtra.sprintf( "\"%s\"", raw.stripWhiteSpace().data() );
./src/moc/moc.y:				     g->tmpExpression.stripWhiteSpace(), "]" ); }
./src/moc/moc.y:				     g->tmpExpression.stripWhiteSpace(),"]" ); }
./src/moc/moc.y:				     g->tmpExpression.stripWhiteSpace(),"]" ); }
./src/3rdparty/zlib/win32/Makefile.gcc:	strip $@
./src/3rdparty/libjpeg/usage.doc:rather than having a strange-looking strip along the right and/or bottom edges
./src/3rdparty/libjpeg/libjpeg.doc:multi-strip or multi-tile TIFF/JPEG file into a single JPEG datastream, etc.
./src/3rdparty/libjpeg/libjpeg.doc:with "strip" buffers that are as wide as the image but just a few rows high.
./src/3rdparty/libjpeg/libjpeg.doc:buffers.  Such buffers are treated as "virtual arrays": only the current strip
./src/3rdparty/libjpeg/libjpeg.doc:32-bit ints.  For 12-bit JPEG data, double the size of the strip buffers and
./src/3rdparty/libjpeg/libjpeg.doc:map.  This requires a 128Kb color lookup table plus strip buffers amounting
./src/3rdparty/libjpeg/structure.doc:strips), to avoid holding the whole image in memory at once.  Where a
./src/3rdparty/libjpeg/structure.doc:* In some processing modes, a given interstep buffer need only be a "strip"
./src/3rdparty/libjpeg/structure.doc:  usually no need for a full-image buffer here; a strip buffer is adequate.
./src/3rdparty/libjpeg/structure.doc:  always a strip buffer; a full-image buffer is never required.
./src/3rdparty/libjpeg/structure.doc:   memory manager provides stripwise access to these arrays.  On machines
./src/3rdparty/libmng/aclocal.m4:AC_CHECK_TOOL(STRIP, strip, :)
./src/3rdparty/libmng/aclocal.m4:    # Be careful not to strip the DATA tag left be newer dlltools.
./src/3rdparty/libmng/aclocal.m4:    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
./src/3rdparty/libmng/aclocal.m4:striplib=
./src/3rdparty/libmng/aclocal.m4:old_striplib=
./src/3rdparty/libmng/aclocal.m4:AC_MSG_CHECKING([whether stripping libraries is possible])
./src/3rdparty/libmng/aclocal.m4:if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
./src/3rdparty/libmng/aclocal.m4:  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
./src/3rdparty/libmng/aclocal.m4:  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
./src/3rdparty/libmng/aclocal.m4:    old_striplib striplib file_magic_cmd export_symbols_cmds \
./src/3rdparty/libmng/aclocal.m4:# A symbol stripping program
./src/3rdparty/libmng/aclocal.m4:# Commands to strip libraries.
./src/3rdparty/libmng/aclocal.m4:old_striplib=$lt_old_striplib
./src/3rdparty/libmng/aclocal.m4:striplib=$lt_striplib
./src/3rdparty/libmng/ltmain.sh:	# a .exe suffix, so we strip it off here.
./src/3rdparty/libmng/ltmain.sh:    stripme=
./src/3rdparty/libmng/ltmain.sh:	stripme=" -s"
./src/3rdparty/libmng/ltmain.sh:	  if test -n "$stripme" && test -n "$striplib"; then
./src/3rdparty/libmng/ltmain.sh:	    $show "$striplib $destdir/$realname"
./src/3rdparty/libmng/ltmain.sh:	    $run eval "$striplib $destdir/$realname" || exit $?
./src/3rdparty/libmng/ltmain.sh:	$show "$install_prog$stripme $file $destfile"
./src/3rdparty/libmng/ltmain.sh:	$run eval "$install_prog\$stripme \$file \$destfile" || exit $?
./src/3rdparty/libmng/ltmain.sh:      if test -n "$stripme" && test -n "$striplib"; then
./src/3rdparty/libmng/ltmain.sh:	$show "$old_striplib $oldlib"
./src/3rdparty/libmng/ltmain.sh:	$run eval "$old_striplib $oldlib" || exit $?
./src/3rdparty/libmng/configure:# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
./src/3rdparty/libmng/configure:set dummy ${ac_tool_prefix}strip; ac_word=$2
./src/3rdparty/libmng/configure:      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
./src/3rdparty/libmng/configure:  # Extract the first word of "strip", so it can be a program name with args.
./src/3rdparty/libmng/configure:set dummy strip; ac_word=$2
./src/3rdparty/libmng/configure:      ac_cv_prog_STRIP="strip"
./src/3rdparty/libmng/configure:    # Be careful not to strip the DATA tag left be newer dlltools.
./src/3rdparty/libmng/configure:    #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
./src/3rdparty/libmng/configure:striplib=
./src/3rdparty/libmng/configure:old_striplib=
./src/3rdparty/libmng/configure:echo $ac_n "checking whether stripping libraries is possible""... $ac_c" 1>&6
./src/3rdparty/libmng/configure:echo "configure:3993: checking whether stripping libraries is possible" >&5
./src/3rdparty/libmng/configure:if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
./src/3rdparty/libmng/configure:  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
./src/3rdparty/libmng/configure:  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
./src/3rdparty/libmng/configure:    old_striplib striplib file_magic_cmd export_symbols_cmds \
./src/3rdparty/libmng/configure:# A symbol stripping program
./src/3rdparty/libmng/configure:# Commands to strip libraries.
./src/3rdparty/libmng/configure:old_striplib=$lt_old_striplib
./src/3rdparty/libmng/configure:striplib=$lt_striplib
./src/3rdparty/libmng/install-sh:stripprog="${STRIPPROG-strip}"
./src/3rdparty/libmng/install-sh:stripcmd=""
./src/3rdparty/libmng/install-sh:	-s) stripcmd="$stripprog"
./src/3rdparty/libmng/install-sh:	if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
./src/3rdparty/libmng/install-sh:	if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
./src/3rdparty/libmng/Makefile.in:install-strip:
./src/3rdparty/libpng/scripts/pngos2.def:  png_set_strip_16
./src/3rdparty/libpng/scripts/pngos2.def:  png_set_strip_alpha
./src/3rdparty/libpng/scripts/pngdef.pas:procedure png_set_strip_16(png_ptr: png_structp);
./src/3rdparty/libpng/scripts/pngdef.pas:procedure png_set_strip_alpha(png_ptr: png_structp);
./src/3rdparty/libpng/scripts/pngdef.pas:procedure png_set_strip_16; external pngDLL;
./src/3rdparty/libpng/scripts/pngdef.pas:procedure png_set_strip_alpha; external pngDLL;
./src/3rdparty/libpng/scripts/makefile.cygwin:#CFLAGS= $(strip $(MINGW_CCFLAGS) -DPNG_THREAD_UNSAFE_OK -DPNG_USE_PNGGCCRD \
./src/3rdparty/libpng/scripts/makefile.cygwin:#CFLAGS= $(strip $(MINGW_CCFLAGS) -DPNG_USE_PNGGCCRD $(addprefix -I,$(ZLIBINC)) \
./src/3rdparty/libpng/scripts/makefile.cygwin:CFLAGS= $(strip $(MINGW_CCFLAGS) $(addprefix -I,$(ZLIBINC)) \
./src/3rdparty/libpng/scripts/makefile.cygwin:LDFLAGS=$(strip -L. $(MINGW_LDFLAGS) -lpng $(addprefix -L,$(ZLIBLIB)) -lz)
./src/3rdparty/libpng/scripts/makefile.cygwin:LDSFLAGS=$(strip -shared -L.  $(MINGW_LDFLAGS) -Wl,--export-all)
./src/3rdparty/libpng/libpng.txt:value first, unless png_set_strip_16() is called to transform it to
./src/3rdparty/libpng/libpng.txt:or png_set_strip_16().
./src/3rdparty/libpng/libpng.txt:8 bits per channel, this will strip the pixels down to 8 bit.
./src/3rdparty/libpng/libpng.txt:        png_set_strip_16(png_ptr);
./src/3rdparty/libpng/libpng.txt:        png_set_strip_alpha(png_ptr);
./src/3rdparty/libpng/libpng.txt:the library to strip input data that has 4 or 8 bytes per pixel down
./src/3rdparty/libpng/libpng.txt:to 3 or 6 bytes (or strip 2 or 4-byte grayscale+filler data to 1 or 2
./src/3rdparty/libpng/libpngpf.3:\fBvoid png_do_strip_filler (png_row_infop \fP\fIrow_info\fP\fB, png_bytep \fP\fIrow\fP\fB, png_uint_32 \fIflags\fP\fB);\fP
./src/3rdparty/libpng/projects/msvc/png32ms.def:  png_set_strip_16    @136
./src/3rdparty/libpng/projects/msvc/png32ms.def:  png_set_strip_alpha  @137
./src/3rdparty/libpng/projects/msvc/png32ms.def:  png_set_strip_error_numbers @193
./src/3rdparty/libpng/CHANGES:  added "strip_alpha" transformation, which removes the alpha channel of
./src/3rdparty/libpng/CHANGES:  Fixed a bug in png_do_strip_filler with XXRRGGBB => RRGGBB transformation.
./src/3rdparty/libpng/CHANGES:  Added png_set_strip_error_numbers function and related macros.
./src/3rdparty/libpng/libpng.3:\fBvoid png_set_strip_16 (png_structp \fIpng_ptr\fP\fB);\fP
./src/3rdparty/libpng/libpng.3:\fBvoid png_set_strip_alpha (png_structp \fIpng_ptr\fP\fB);\fP
./src/3rdparty/libpng/libpng.3:\fBvoid png_set_strip_error_numbers (png_structp \fIpng_ptr,
./src/3rdparty/libpng/libpng.3:\fBpng_uint_32 \fIstrip_mode\fP\fB);\fP
./src/3rdparty/libpng/libpng.3:value first, unless png_set_strip_16() is called to transform it to
./src/3rdparty/libpng/libpng.3:or png_set_strip_16().
./src/3rdparty/libpng/libpng.3:8 bits per channel, this will strip the pixels down to 8 bit.
./src/3rdparty/libpng/libpng.3:        png_set_strip_16(png_ptr);
./src/3rdparty/libpng/libpng.3:        png_set_strip_alpha(png_ptr);
./src/3rdparty/libpng/libpng.3:the library to strip input data that has 4 or 8 bytes per pixel down
./src/3rdparty/libpng/libpng.3:to 3 or 6 bytes (or strip 2 or 4-byte grayscale+filler data to 1 or 2
./tools/linguist/qm2ts/qm2ts.1:compresses .qm files by stripping unnecessary information for lookup.
./configure:# strip out leading/trailing/extra whitespace
./mkspecs/lynxos-g++/qmake.conf:QMAKE_STRIP             = strip
./mkspecs/lynxos-g++/qmake.conf:QMAKE_STRIPFLAGS_LIB 	+= --strip-unneeded
./mkspecs/linux-kylix/qmake.conf:QMAKE_STRIP             = strip
./mkspecs/win32-g++/qmake.conf:QMAKE_STRIP		= strip
./mkspecs/win32-g++/qmake.conf:QMAKE_STRIPFLAGS_LIB 	+= --strip-unneeded
./mkspecs/macx-mwerks/mwerkstmpl.xml:                <SETTING><NAME>MWLinker_PPC_dontdeadstripinitcode</NAME><VALUE>0</VALUE></SETTING>
./mkspecs/macx-mwerks/mwerkstmpl.xml:                <SETTING><NAME>MWLinker_MachO_stripdebugsymbols</NAME><VALUE>0</VALUE></SETTING>
./mkspecs/linux-g++-64/qmake.conf:QMAKE_STRIP             = strip
./mkspecs/linux-g++-64/qmake.conf:QMAKE_STRIPFLAGS_LIB 	+= --strip-unneeded
./mkspecs/linux-g++/qmake.conf:QMAKE_STRIP             = strip
./mkspecs/linux-g++/qmake.conf:QMAKE_STRIPFLAGS_LIB 	+= --strip-unneeded
./debian/rules:	# archives get accidentally stripped by make install. Copy over unstripped ones for now.
./debian/rules:	dh_strip -a $(IBASE)

Reply to: