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

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



Hi Yves-Alexis,

Yves-Alexis Perez wrote:

> I tried:
>
> DEB_BUILD_OPTIONS='noopt,nostrip' debuild -us -uc

This should be

	DEB_BUILD_OPTIONS='noopt nostrip' debuild -us -c

> 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)

That's okay, and even preferred (disabling optimization can mask
some bugs).

> so there's not much I can do.

Hope that helps,
Jonathan



Reply to: