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

Bug#616054: ghostscript: segfault on particular file not reproducible in git master



On Wed, Mar 02, 2011 at 10:31:38PM +0100, Yves-Alexis Perez wrote:
On Wed, 2011-03-02 at 12:31 +0100, Jonas Smedegaard wrote:

>I tried to rebuild the debian package but it doesn't seem to support >DEB_BUILD_OPTIONS

Whoops.  If that is true, it is a bug in itself!

Did you actually try setting such options, or did you look at the rules file and gave up when you found no ifdef explicitly in there?

I tried:

DEB_BUILD_OPTIONS='noopt,nostrip' debuild -us -uc

An example gcc command line is:

gcc  -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FILE64 -DHAVE_MKSTEMP64
-DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE -fPIC  -O2 -Wall
-Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes
-Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement
-fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned
long int" -g -O2 -g -O2 -fPIC -DUSE_LIBPAPER -DGS_DEVS_SHARED
-DGS_DEVS_SHARED_DIR=\"/usr/lib/ghostscript/9.01\" -I./psi -I./obj
-I./obj -I./base  -o ./obj/zcharout.o -c ./psi/zcharout.c

(so no -O0)

Indeed.

I will try figure out where that went wrong.  Thanks!


 - Jonas


--
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: Digital signature


Reply to: