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

Bug 427220

Summary: sys-libs/libstdc++-v3-3.3.6-r1 fails to build with glibc-2.16
Product: Gentoo Linux Reporter: Martin Jansa <Martin.Jansa>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 424737, 424970    

Description Martin Jansa 2012-07-19 13:08:49 UTC
/tmp/tmpfs/portage/sys-libs/libstdc++-v3-3.3.6-r1/work/gcc-3.3.6/gcc/unwind-dw2.c: In function `uw_frame_state_for':
/tmp/tmpfs/portage/sys-libs/libstdc++-v3-3.3.6-r1/work/gcc-3.3.6/gcc/unwind-dw2.c:954: error: field `info' has incomplete type

field info is struct siginfo and siginfo.h is now included from signal.h only when __USE_POSIX199309 is defined.

We can fix that by including
bits/siginfo.h in
gcc-3.3.6/gcc/config/i386/linux64.h
after signal.h

or by adding __USE_POSIX199309.

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2012-07-23 15:59:47 UTC
should be all set now in the tree; thanks for the report!

Commit message: Fix building with newer glibc and siginfo changes
http://sources.gentoo.org/gentoo/src/patchsets/gcc/3.3.6/gentoo/05_all_gcc-4.3.x-siginfo.patch?rev=1.1
http://sources.gentoo.org/sys-devel/gcc/gcc-3.3.6-r1.ebuild?r1=1.23&r2=1.24