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

Bug#656659: info not showing anything with certain build flags



Hi Karl, hi everyone,

on Debian we recently enabled hardening build flags, but that led to
a strange effect, namely that info didn't display *anything* at all.
You could start info, but there was an empty main window (text console),
but the status line showed the 
	----INfo: (dir)Top, 1 lines --All----------------------
and the lasst line showed
	Welcome to Info version 4.13. Type h for help, m for menu item.
Typing m<TAB> also showed many entries, and I could browse some
info files. So for example
	m basename
showed the coreutils.info file 18.1 'basename' ... and that was visible.
But doing 
	u u u u
to go to the Top dir file again showed nothing.

After removing the hardening flags it worked again, so I assume that is 
is related to that. The way we are compiling is wiht
	CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall" 
	CPPFLAGS="-D_FORTIFY_SOURCE=2" 
	CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security" 
	FFLAGS="-g -O2" 
	LDFLAGS="-Wl,-z,relro"

Does anyone have an idea why this might happen?

(I tried compiling current sources, but that didn't work out, configure
errors etc)

Best wishes

Norbert
------------------------------------------------------------------------
Norbert Preining            preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan                                 TeX Live & Debian Developer
DSA: 0x09C5B094   fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
QUENBY (n.)
A stubborn spot on a window which you spend twenty minutes trying to
clean off before discovering it's on the other side of the glass.
			--- Douglas Adams, The Meaning of Liff



Reply to: