The package fails to build, struct siginfo -> siginfo_t patch fixes it. See https://bugs.gentoo.org/show_bug.cgi?id=424970 for similar patch.
The whole error message is: /var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/build/./gcc/xgcc -B/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -g -fkeep-inline-functions -m32 -O2 -O2 -g -O2 -pipe -march=native -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../.././gcc -I/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/gcc-4.3.5/libgcc -I/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/gcc-4.3.5/libgcc/. -I/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/gcc-4.3.5/libgcc/../gcc -I/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/gcc-4.3.5/libgcc/../include -I/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/gcc-4.3.5/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o unwind-dw2-fde-glibc.o -MT unwind-dw2-fde-glibc.o -MD -MP -MF unwind-dw2-fde-glibc.dep -fexceptions -c /var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/gcc-4.3.5/libgcc/../gcc/unwind-dw2-fde-glibc.c In file included from /var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/gcc-4.3.5/libgcc/../gcc/unwind-dw2.c:338: /var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/gcc-4.3.5/libgcc/../gcc/config/i386/linux-unwind.h: In function ‘x86_fallback_frame_state’: /var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/gcc-4.3.5/libgcc/../gcc/config/i386/linux-unwind.h:142: error: field ‘info’ has incomplete type make[5]: *** [unwind-dw2.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[5]: Leaving directory `/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/build/x86_64-pc-linux-gnu/32/libgcc' make[4]: *** [multi-do] Error 1 make[4]: Leaving directory `/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/build/x86_64-pc-linux-gnu/libgcc' make[3]: *** [all-multi] Error 2 make[3]: Leaving directory `/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/build/x86_64-pc-linux-gnu/libgcc' make[2]: *** [all-stage1-target-libgcc] Error 2 make[2]: Leaving directory `/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-lang/gnat-gcc-4.3.5/work/build' make: *** [bootstrap] Error 2 emake failed
Created attachment 353700 [details, diff] this patch fixes situation
(In reply to Alexander Vershilov from comment #2) > Created attachment 353700 [details, diff] [details, diff] > this patch fixes situation Patch worked for me but it was also needed when I built sci-electronics/ghdl.
(In reply to Maciej Piechotka from comment #3) > (In reply to Alexander Vershilov from comment #2) > > Created attachment 353700 [details, diff] [details, diff] [details, diff] > > this patch fixes situation > > Patch worked for me but it was also needed when I built sci-electronics/ghdl. ghdl is a separate issue, check https://bugs.gentoo.org/show_bug.cgi?id=477552 for details.
Just FYI for now, - that I am working on it. However, before I get to this one, it seems I need to resolve #468108, as the build bombs before triggering the issue in this bug. So, halfway there..
(In reply to George Shapovalov from comment #5) > Just FYI for now, - that I am working on it. However, before I get to this > one, it seems I need to resolve #468108, as the build bombs before > triggering the issue in this bug. So, halfway there.. Right, that would be needed for #477552 too.
Ok, committed the patch (had to adjust slightly the gnatbuild.eclass to accomodate per-SLOT patches), seems to fix this bug. Thanks for submission! That other bug is fixed as well. It might need te be readdressed, but we really should just stabilize newer gnat-gcc.