Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 468112

Summary: dev-lang/gnat-gcc-4.3.5 - linux-unwind.h:142: error: field ‘info’ has incomplete type
Product: Gentoo Linux Reporter: Ladislav Laska <ladislav.laska>
Component: [OLD] DevelopmentAssignee: ada team [OBSOLETE] <ada+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: qnikst, tomjbe, uzytkownik2
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=424970
https://bugs.gentoo.org/show_bug.cgi?id=477552
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: this patch fixes situation

Description Ladislav Laska 2013-05-01 10:17:43 UTC
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.
Comment 1 Ladislav Laska 2013-05-01 10:27:32 UTC
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
Comment 2 Alexander Vershilov (RETIRED) gentoo-dev 2013-07-20 08:33:28 UTC
Created attachment 353700 [details, diff]
this patch fixes situation
Comment 3 Maciej Piechotka 2013-07-21 18:55:40 UTC
(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.
Comment 4 Alexander Vershilov (RETIRED) gentoo-dev 2013-07-21 19:25:43 UTC
(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.
Comment 5 George Shapovalov (RETIRED) gentoo-dev 2013-07-30 21:07:51 UTC
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..
Comment 6 Thomas Beierlein gentoo-dev 2013-07-31 11:39:29 UTC
(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.
Comment 7 George Shapovalov (RETIRED) gentoo-dev 2013-08-02 19:13:41 UTC
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.