Hello,

A recent change in glibc has broken compiling gcc on i686
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=4efeffc1d583597e4f52985b9747269e47b754e2
The solution is to change struct siginfo to siginfo_t
sed -i 's#struct siginfo #siginfo_t #' libgcc/config/*/linux-unwind.h
http://gcc.gnu.org/ml/gcc-patches/2012-03/msg01435.html

Interestingly, this problem does not affect x86_64. Except for gdb,
this change has broken gdb on x86_64 too. The fix for gdb is similar:
sed -i 's:^struct siginfo;$:#include <signal.h>:' gdb/gdbserver/linux-low.h
sed -i 's#struct siginfo#siginfo_t#g' $(grep -rl 'struct siginfo' .)

Andy
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to