Description of problem: RHEL4 libgcc.a on ppc64 has a RWE PT_GNU_STACK marking, this results in the entire distro to run with executable stack markings on ppc64.
This sounds like binutils bug. On ppc64: echo '.section .note.GNU-stack,"",@progbits' | as -o a.o - echo '.section .note.GNU-stack,"",@progbits' | as -o b.o - ld -r -o c.o [ab].o readelf -WS [abc].o | grep .note.GNU-stack [ 4] .note.GNU-stack PROGBITS 0000000000000000 000040 000000 00 0 0 1 [ 4] .note.GNU-stack PROGBITS 0000000000000000 000040 000000 00 0 0 1 [ 4] .note.GNU-stack PROGBITS 0000000000000000 000040 000000 00 X 0 0 1 while on e.g. x86_64 all 3 of them are non-X.
http://sources.redhat.com/ml/binutils/2005-02/msg00171.html
Fixed for FC4 in binutils-2.15.94.0.2-1.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-259.html