package: gcc-4.4 Tags: patch Version: 4.4.7-6 architecture: hppa gcc-4.4 fails to build on hppa. Last buildd-log is here: http://buildd.debian-ports.org/status/fetch.php?pkg=gcc-4.4&arch=hppa&ver=4.4.7-6&stamp=1389865338
Compile error is this: /«PKGBUILDDIR»/build/./gcc/xgcc -B/«PKGBUILDDIR»/build/./gcc/ -B/usr/hppa-linux-gnu/bin/ -B/usr/hppa-linux-gnu/lib/ -isystem /usr/hppa-linux-gnu/include -isystem /usr/hppa-linux-gnu/sys-include -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -isystem ./include -fPIC -DELF=1 -DLINUX=1 -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../.././gcc -I../../../src/libgcc -I../../../src/libgcc/. -I../../../src/libgcc/../gcc -I../../../src/libgcc/../include -DHAVE_CC_TLS -o unwind-sjlj.o -MT unwind-sjlj.o -MD -MP -MF unwind-sjlj.dep -fexceptions -c ../../../src/libgcc/../gcc/unwind-sjlj.c -fvisibility=hidden -DHIDE_EXPORTS In file included from ../../../src/libgcc/../gcc/unwind-dw2.c:333: ../../../src/libgcc/../gcc/config/pa/linux-unwind.h: In function 'pa32_fallback_frame_state': ../../../src/libgcc/../gcc/config/pa/linux-unwind.h:66: error: field 'info' has incomplete type changing the line in gcc/config/pa/linux-unwind.h:66 to become: siginfo_t info; instead of struct siginfo info; fixes it. Tested patch is attached. Thanks, Helge
diff -up ./src/gcc/config/pa/linux-unwind.h.org ./src/gcc/config/pa/linux-unwind.h --- ./src/gcc/config/pa/linux-unwind.h.org 2014-01-18 08:46:31.405523000 -0700 +++ ./src/gcc/config/pa/linux-unwind.h 2014-01-18 08:47:08.065523000 -0700 @@ -63,7 +63,7 @@ pa32_fallback_frame_state (struct _Unwin int i; struct sigcontext *sc; struct rt_sigframe { - struct siginfo info; + siginfo_t info; struct ucontext uc; } *frame;