Description of problem: This program generates a segmentation fault on x86_64 but not i386: #include <signal.h> #include <stdio.h> int main() { printf("DESC: %s\n", strsignal(7)); return 0; } Version-Release number of selected component (if applicable): glibc-2.6-4 How reproducible: Fully. Steps to Reproduce: 1. Compile signal.c 2. Execute the compiled binary. Actual results: Segmentation fault Expected results: stdout should read: DESC: Bus Error
Compile it with -Wall and the compiler will tell you a helpful hint - the function is implicitly prototyped when you compile with the default namespace. Then read info libc 'Feature Test Macros' and note that strsignal is a GNU extension.
Gah.. thanks.