Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516276 - sys-devel/gcc-3.4.6-r2 - .../gcc-3.4.6/gcc/unwind-dw2.c: In function `uw_frame_state_for': .../work/gcc-3.4.6/gcc/unwind-dw2.c:1031: error: field `info' has incomplete type
Summary: sys-devel/gcc-3.4.6-r2 - .../gcc-3.4.6/gcc/unwind-dw2.c: In function `uw_fram...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-07-04 04:29 UTC by Daniel Santos
Modified: 2014-07-11 14:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed fix, only tested on x86_64 (siginfo.patch,3.82 KB, patch)
2014-07-04 04:32 UTC, Daniel Santos
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Santos 2014-07-04 04:29:41 UTC
This problem effects multiple older versions of gcc, this bug is specifically for gcc-3.4.6-r2. Unfortunately, for as long as the Linux kernel supports this compiler, I must have a working copy at all times.

A promiscuous cure seems to be:

cd ${PORTAGE_TMPDIR}/sys-devel/gcc-<version>/work
sed -i 's/struct siginfo/siginfo_t/g;' $(grep -r 'struct siginfo' .|awk -F: '{print $1}')

/home/tmp-portage/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/gcc/unwind-dw2.c: In function `uw_frame_state_for':
/home/tmp-portage/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/gcc/unwind-dw2.c:1031: error: field `info' has incomplete type

References:
http://pastebin.com/VkgE27Pd
https://bbs.archlinux.org/viewtopic.php?id=144949
Comment 1 Daniel Santos 2014-07-04 04:32:33 UTC
Created attachment 380154 [details, diff]
proposed fix, only tested on x86_64

This is just the patch for the sources, still needs changes to ebuild to run it.
Comment 2 Daniel Santos 2014-07-04 08:10:32 UTC
Per xiaomiao, I'm putting info for all affected gcc versions in this bug report. The same sed/grep/awk script fixes 4.0.4 and 4.1.2. Also, I seem to have left out some other important information. I'm currently using glibc 2.17, but this problem first appeared on December 29th, 2013 following an upgrade from glibc 2.15 ==> 2.16 (which I actually did on November 28th). So my guess is that this patch need only be applied if using glibc 2.16 or later. I saw some info on the web indicating that this occurs with some versions of ulibc as well.

# emerge --info sys-devel/gcc
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.2, glibc-2.17, 3.14.9-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.14.9-gentoo-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-gentoo-2.2
KiB Mem:     8177512 total,   1501312 free
KiB Swap:   16795944 total,  15756696 free
Timestamp of tree: Mon, 30 Jun 2014 17:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.2.5-r3, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            3.4.6-r2, 4.0.4, 4.1.2, 4.2.4-r1, 4.3.6-r1, 4.4.7, 4.5.4, 4.6.3, 4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage sunrise zugaina gnustep java arx-libertatis hasufell steam-overlay stuge
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm googleearth PUEL google-talkplugin Oracle-BCLA-JavaSE LOKI-EULA AdobeFlash-11.x MakeMKV-EULA cadsoft Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -g3 -flto"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -g3 -flto"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j2 --load-average=3"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy ccache config-protect-if-modified distlocks ebuild-locks fixlafiles installsources merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo/ http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://gentoo.osuosl.org/ http://www.gtlib.gatech.edu/pub/gentoo ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://gentoo.llarian.net/ ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://mirror.lug.udel.edu/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="pxz"
PORTAGE_COMPRESS_FLAGS="-9e"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude '/lost+found'"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/sunrise /var/lib/layman/zugaina /var/lib/layman/gnustep /var/lib/layman/java /var/lib/layman/arx-libertatis /var/lib/layman/hasufell /var/lib/layman/steam /var/lib/layman/stuge"
USE="3dnow 3dnowext 3ds 7zip X Xaw3d a52 aac aacs aalib acl acpi adns aim aio akode alsa amd64 amr ao aotuv apache2 apm applet archive ares arts asn async attica audacious audiofile authdaemond authfile autoipd automount avahi bash-completion bazaar berkdb bidi bindist binfilter bittorrent bl bluetooth bluray bonjour boost branding bs2b bsf bugzilla bzip2 c3p0 cairo calendar caps ccache cdaudio cdb cdda cddb cdio cdparanoia cdr cegui celt cg cgi chm cjk cleartype cli clucene cmake commons-digester console consolekit contrib corefonts cpufreq cpulimit cracklib crypt cscope css cups curl curlwrappers cvs cxx dbus declarative dedicated development devil dga dirac directfb divx djbfft djvu dmx dns dolby-record-switch dot dri dssi dtmf dts dv dvb dvd dvdr ebook editor eigen emboss emoticon encode enscript esd espeak excel exif expat extraicons faad fam fasttrack fat fax fbcon ffmpeg fftw firefox fits flac flash fltk fluidsynth fmod font-server fontconfig fontforge foomatic foomaticdb fortran fping fpx freesound frei0r ftp fuse fusion g15 g3dvl gadu games gcj gconf gd gdbm geoip geos ggi gif gimp ginac git glib glitz glut gmedia gmp gmtfull gnokii gnuplot gnutella gnutls gpg gphoto2 gpm gps graphviz gs gsl gsm gstreamer gtalk gtk gtk3 gzip h224 h281 h323 hal hbci hddtemp highlight html htmlhandbook httpd hwmixer icecast iceweasel iconv icq icu id3 id3tag idn ieee1394 ilbc imagemagick imap imlib inifile inotify ios iplayer ipv6 irc irda irrlicht jabber jack jackmidi jadetex java java5 java6 javascript jbig jce jingle jmx joystick jpeg jpeg2k json kate kde kdrive kerberos kipi kontact kpathsea ladspa lame lash latex lcms ldap libass libcaca libnotify libsamplerate libsndfile libv4l libvisual libwww lirc live lm_sensors log4j logitech-mouse lto lua lv2 lzma lzo mad maildir maps math matroska md5sum meanwhile mercurial midi mikmod mime mjpeg mmap mmkeys mmx mmxext mng mod modperl modplug modules motif mouse mozdevelop mozilla mp3 mp4 mp4live mpeg mplayer msn mtp mudflap multicall multilib multitarget musepack music musicbrainz mysql mysqli mythtv nas nautilus ncurses net netjack network networkmanager nfs njb nls nntp nptl nsplugin ntfsprogs ntp nvidia nvtv ode odk offensive ofx ogg ogm ogre okteta okular omxil openal opencl openexr opengl openmp openxml opus oscar otr pam pango pch pcntl pcre pda pdf perl phonon php pidgin plasma player playlist plotutils png policykit portaudio posix postproc postscript ppds projectm pulseaudio python qalculate qos qt3support qt4 qthelp quicktime quotes radio rar raw readline regression-test remote rrdcgi rss rtc rtmp ruby samba sasl sbsms scanner schroedinger sdl sdl-image sdl-sound semantic-desktop sensord session sharedext sid silc sip sipim skype slp smbsharemodes smp sms smtp sndfile snmp soap sockets sound speex spell sql sqlite sqlite3 srtp srvdir sse sse2 sse3 ssh ssl startup-notification static-libs stl stream subtitles subversion suexec svg swig syslog systemtap sysvipc t1lib taglib tagwriting tcl tcpd telnet test tga theora threads thumbnail tidy tiff timidity tinyxml tk tokenizer tools transcode translator trayicon truetype tse3 twolame type3 udev udisks unicode upnp upnp-av upower urandom usb usbredir userlocales utils v4l v4l2 vaapi valgrind vcd vdpau vdr vhosts video videos vim-syntax vim-with-x visualization vlc vnc vorbis vorbis-psy vpx vst vxml wav wavpack webkit wifi win32codecs winbind wma wmf wxwidgets wxwindows x264 x264-static xanim xattr xcap xcb xcomposite xface xforms xft xine xinerama xml xmlreader xmlrpc xmlwriter xmp xpm xprint xrandr xscreensaver xsl xulrunner xv xvid xvmc yaepg yahoo yv12 zeroconf zip zlib" ABI_X86="64" ALSA_CARDS="hdsp emu10k1 hda-intel" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_dbd authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias substitute" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="gnutls" ELIBC="glibc" FOO2ZJS_DEVICES="hpp1006" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse joystick evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver pdfimport scripting-beanshell scripting-javascript wiki-publisher" LINGUAS="en_US en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64 arm i386 mips" QEMU_USER_TARGETS="arm armeb i386 mips x86_64" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sys-devel/gcc-3.4.6-r2 was built with the following:
USE="cxx doc (multilib) nptl (policykit) regression-test test vanilla (-altivec) -awt -boundschecking -d -fortran -gcj (-hardened) -ip28 -ip32r10k (-multislot) (-n32) (-n64) -nls -objc" ABI_X86="64"
CFLAGS="-march=k8 -O2"
CXXFLAGS="-march=k8 -O2"


sys-devel/gcc-4.0.4 was built with the following:
USE="cxx doc mudflap (multilib) nptl (policykit) regression-test test vanilla (-altivec) -awt -fortran -gcj (-hardened) (-multislot) -nls -objc -objc-gc" ABI_X86="64"
CFLAGS="-march=k8 -O2"
CXXFLAGS="-march=k8 -O2"


sys-devel/gcc-4.1.2 was built with the following:
USE="cxx doc mudflap (multilib) nptl regression-test test vanilla (-altivec) -d -fortran -gcj -gtk (-hardened) (-libssp) (-multislot) -nls -objc -objc++ -objc-gc" ABI_X86="64"
CFLAGS="-march=k8 -O2 -ggdb"
CXXFLAGS="-march=k8 -O2 -ggdb"


sys-devel/gcc-4.2.4-r1 was built with the following:
USE="cxx doc mudflap (multilib) nls nptl openmp regression-test test vanilla (-altivec) -fortran -gcj -gtk (-hardened) (-libssp) (-multislot) -objc -objc++ -objc-gc" ABI_X86="64"
CFLAGS=""
CXXFLAGS=""


sys-devel/gcc-4.3.6-r1 was built with the following:
USE="cxx doc mudflap (multilib) nls nptl openmp regression-test test vanilla (-altivec) (-fixed-point) -fortran -gcj -gtk (-hardened) (-libssp) (-multislot) -nopie -nossp -objc -objc++ -objc-gc" ABI_X86="64"
CFLAGS="-march=native -O2"
CXXFLAGS="-march=native -O2"


sys-devel/gcc-4.4.7 was built with the following:
USE="cxx doc mudflap (multilib) nls nptl openmp regression-test test vanilla (-altivec) (-fixed-point) -fortran -gcj -gtk (-hardened) (-libssp) (-multislot) -nopie -nossp -objc -objc++ -objc-gc" ABI_X86="64"
CFLAGS=""
CXXFLAGS=""


sys-devel/gcc-4.5.4 was built with the following:
USE="cxx doc fortran gcj mudflap (multilib) nls nptl objc objc++ objc-gc openmp regression-test test (-altivec) -awt (-fixed-point) (-hardened) (-libssp) (-multislot) -nopie -nossp -vanilla" ABI_X86="64"
CFLAGS="-march=native -O2"
CXXFLAGS="-march=native -O2"


sys-devel/gcc-4.6.3 was built with the following:
USE="cxx doc fortran gcj graphite mudflap (multilib) nls nptl objc objc++ objc-gc openmp regression-test test (-altivec) -awt (-fixed-point) (-hardened) (-libssp) (-multislot) -nopie -nossp -vanilla" ABI_X86="64"
CFLAGS="-march=native -O2"
CXXFLAGS="-march=native -O2"


sys-devel/gcc-4.7.3-r1 was built with the following:
USE="awt cxx doc fortran gcj graphite mudflap (multilib) nls nptl objc objc++ objc-gc openmp regression-test test (-altivec) (-fixed-point) -go (-hardened) (-libssp) (-multislot) -nopie -nossp -vanilla" ABI_X86="64"
CFLAGS="-march=native -O2"
CXXFLAGS="-march=native -O2"


sys-devel/gcc-4.8.2 was built with the following:
USE="awt cxx doc fortran gcj graphite mudflap (multilib) nls nptl objc objc++ objc-gc openmp regression-test (-altivec) (-fixed-point) -go (-hardened) (-libssp) (-multislot) -nopie -nossp -vanilla" ABI_X86="64"
CFLAGS="-march=native -O2 -g3"
CXXFLAGS="-march=native -O2 -g3"
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-04 12:57:45 UTC
Please attach the entire build log to this bug report.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2014-07-06 22:57:21 UTC
(In reply to Jeroen Roovers from comment #3)
> Please attach the entire build log to this bug report.

No, don't do that.
Comment 5 Daniel Santos 2014-07-06 23:45:39 UTC
(In reply to Ryan Hill from comment #4)
> No, don't do that.
good, because I feel lazy :)

This sed/grep/awk script did work for 3.4.6, 4.0.4, 4.1.2, 4.2.4-r1, 4.3.6-r1 and 4.4.7 (all which had the problem). Versions 4.5 and on are currently breaking on some tests (the result of my amd64 vs ~amd64, abi_x64_32 problems), so I'm guessing that the rest are ok.

So do you guys want a separate bug report for each version affected?
Comment 6 Daniel Santos 2014-07-10 14:41:59 UTC
So before I create 4 more bug reports, do you guys want them all in this report or not?  I've already opened bug #516282 for gcc-4.0.4, but still need 4.1.2, 4.2.4-r1, 4.3.6-r1 and 4.4.7. Here is the output from each (differs slightly):


/home/tmp-portage/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/gcc/unwind-dw2.c: In function `uw_frame_state_for':
/home/tmp-portage/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/gcc/unwind-dw2.c:1031: error: field `info' has incomplete type
make[3]: *** [libgcc/32/unwind-dw2.o] Error 1

In file included from /home/tmp-portage/portage/sys-devel/gcc-4.0.4/work/gcc-4.0.4/gcc/unwind-dw2.c:257:
/home/tmp-portage/portage/sys-devel/gcc-4.0.4/work/gcc-4.0.4/gcc/config/i386/linux-unwind.h: In function 'x86_fallback_frame_state':
/home/tmp-portage/portage/sys-devel/gcc-4.0.4/work/gcc-4.0.4/gcc/config/i386/linux-unwind.h:138: error: field 'info' has incomplete type
make[3]: *** [libgcc/32/unwind-dw2.o] Error 1

In file included from /home/tmp-portage/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/unwind-dw2.c:256:
/home/tmp-portage/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h: In function 'x86_fallback_frame_state':
/home/tmp-portage/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/gcc/config/i386/linux-unwind.h:141: error: field 'info' has incomplete type
make[3]: *** [libgcc/32/unwind-dw2.o] Error 1

In file included from /home/tmp-portage/portage/sys-devel/gcc-4.2.4-r1/work/gcc-4.2.4/gcc/unwind-dw2.c:338:
/home/tmp-portage/portage/sys-devel/gcc-4.2.4-r1/work/gcc-4.2.4/gcc/config/i386/linux-unwind.h: In function ‘x86_fallback_frame_state’:
/home/tmp-portage/portage/sys-devel/gcc-4.2.4-r1/work/gcc-4.2.4/gcc/config/i386/linux-unwind.h:142: error: field ‘info’ has incomplete type
make[4]: *** [libgcc/32/unwind-dw2.o] Error 1

In file included from /home/tmp-portage/portage/sys-devel/gcc-4.3.6-r1/work/gcc-4.3.6/libgcc/../gcc/unwind-dw2.c:338:
/home/tmp-portage/portage/sys-devel/gcc-4.3.6-r1/work/gcc-4.3.6/libgcc/../gcc/config/i386/linux-unwind.h: In function ‘x86_fallback_frame_state’:
/home/tmp-portage/portage/sys-devel/gcc-4.3.6-r1/work/gcc-4.3.6/libgcc/../gcc/config/i386/linux-unwind.h:142: error: field ‘info’ has incomplete type
make[5]: *** [unwind-dw2.o] Error 1

In file included from /home/tmp-portage/portage/sys-devel/gcc-4.4.7/work/gcc-4.4.7/libgcc/../gcc/unwind-dw2.c:333:
/home/tmp-portage/portage/sys-devel/gcc-4.4.7/work/gcc-4.4.7/libgcc/../gcc/config/i386/linux-unwind.h: In function ‘x86_fallback_frame_state’:
/home/tmp-portage/portage/sys-devel/gcc-4.4.7/work/gcc-4.4.7/libgcc/../gcc/config/i386/linux-unwind.h:138: error: field ‘info’ has incomplete type
make[5]: *** [unwind-dw2.o] Error 1
Comment 7 Daniel Santos 2014-07-10 15:09:16 UTC
temporary work-around (if you need to rebuild all of these):

#!/bin/bash
while true; do
    for ver in 3.4.6-r2 4.0.4 4.1.2 4.2.4-r1 4.3.6-r1 4.4.7; do
        if file_list=$(grep -l 'struct siginfo' /dev/null $(
                find /home/tmp-portage/portage/sys-devel/gcc-${ver}/work/gcc-*/gcc/config \
                -type f -name '*linux*.h' 2>/dev/null)); then
            echo "Applying hack to gcc-${ver}"
            sed -i 's/struct siginfo/siginfo_t/g;' $file_list
        fi
    done
    sleep 32
done
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2014-07-11 01:24:21 UTC
The patch you've posted is already in the patchset for every version you mentioned.  See bug #424970.

*** This bug has been marked as a duplicate of bug 424970 ***
Comment 9 Daniel Santos 2014-07-11 13:59:42 UTC
(In reply to Ryan Hill from comment #8)
> The patch you've posted is already in the patchset for every version you
> mentioned.  See bug #424970.
> 
> *** This bug has been marked as a duplicate of bug 424970 ***

I'm glad that you've found a previous report for the same problem, but either this bug cannot be closed or the other bug must be re-opened, because it is current *broken* on every version that I mentioned. If it is in the patchset, then the problem is that the patches aren't being applied for some reason.
Comment 10 Daniel Santos 2014-07-11 14:10:33 UTC
So I'm guessing that they were removed by mistake from the tree, so I am reopening.

# grep -ri siginfo .
./ChangeLog:  Fix building with newer glibc and siginfo changes #427220 by Martin Jansa.

No patches in the tree (did esync yesterday). Can you kindly verify this and confirm?
Comment 11 Daniel Santos 2014-07-11 14:57:08 UTC
caused by USE=vanilla

Thanks to grknight, iamben and _AxS_ on this one.