Package: elfsh
Version: 0.51b3-2
Severity: normal

elfsh segfaulted for a binary and I wanted to figure out why so I
tried to rebuild elfsh with debugging symbols using

DEB_BUILD_OPTIONS="nostrip debug noopt" fakeroot apt-get --build source elfsh

but it seems that elfsh is still built with -O2 even when noopt is set
in DEB_BUILD_OPTIONS.

make[2]: Entering directory 
`/home/lindi/debian/debian-elfsh/elfsh-0.51b3/libelfsh'
gcc -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN   -c -o dynamic.o 
dynamic.c
gcc -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN   -c -o dynsym.o 
dynsym.c
gcc -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN   -c -o elf.o elf.c
gcc -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN   -c -o fixup.o 
fixup.c
gcc -rdynamic -Iinclude -Wall -fPIC -g3 -O2 -DELFSH_INTERN   -c -o got.o got.c


I'm not sure what is the proper way to fix this since upstream
Makefile has hardcoded CFLAGS. Maybe add some $(EXTRA_DEBIAN_CFLAGS)
there and set it from debian/rules?

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-k7
Locale: LANG=C, LC_CTYPE=fi_FI (charmap=ISO-8859-1)

Versions of packages elfsh depends on:
ii  libc6                 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an
ii  libelfsh0             0.51b3-2           The ELF shell library
ii  libncurses5           5.4-4              Shared libraries for terminal hand
ii  libreadline4          4.3-11             GNU readline and history libraries

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to