PaX Team wrote:horizn wrote:nothing was updated between reboot after compiling 2.4.28, when boot at 2.4.26 (build-in) everything is ok.
what does
readelf -l say about libncurses.so.5 ? it probably has no PT_GNU_STACK header or an executable one, in the former case you can recompile it with a recent (3.3+) gcc, in the latter you can use
execstack -c on it (at least on my system it doesn't use gcc nested function trampolines, so it's safe to clear this bit).
thanks for your patience, but im not so advanced in programming:
# readelf -l /lib/libncurses.so.5
Elf file type is DYN (Shared object file)
Entry point 0xe2e0
There are 4 program headers, starting at offset 52
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x000000 0x00000000 0x00000000 0x351d4 0x351d4 R E 0x1000
LOAD 0x0351e0 0x000361e0 0x000361e0 0x07e50 0x0870c RW 0x1000
DYNAMIC 0x03c9e4 0x0003d9e4 0x0003d9e4 0x000d0 0x000d0 RW 0x4
GNU_STACK 0x000000 0x00000000 0x00000000 0x00000 0x00000 RWE 0x4
Section to Segment mapping:
Segment Sections...
00 .hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt .i
nit .plt .text .fini .rodata
01 .data .eh_frame .dynamic .ctors .dtors .jcr .got .bss
02 .dynamic
03
# execstack -c
bash: execstack: command not found
# ls -la /var/log/packages/ | grep gcc
-rw-r--r-- 1 root root 7414 Nov 28 00:48 gcc-3.3.4-i486-1
-rw-r--r-- 1 root root 8562 Nov 28 00:48 gcc-g++-3.3.4-i486-1
-rw-r--r-- 1 root root 2023 Nov 28 12:53 gcc-g77-3.3.4-i486-1
-rw-r--r-- 1 root root 72430 Nov 28 12:53 gcc-gnat-3.3.4-i486-2
-rw-r--r-- 1 root root 2050 Nov 28 12:53 gcc-objc-3.3.4-i486-1
maybe its problem with packages, so i try to compile gcc from source.