User:Blob/gcc-4.6

Miscompilation

 * app-text/evince-2.32.0: segf in evince-thumbnailer reading some files. Mostly works.
 * games-emulation/dolphin-emu & inline-functions (110101): blank video output
 * games-emulation/dolphin-emu (110226): fubar
 * gnome-extra/gnome-system-monitor-2.28.2 & use-linker-plugin: segf
 * media-gfx/eog-2.32.1 & use-linker-plugin (110101 & 110226): segf
 * net-im/pidgin-2.7.10 & use-linker-plugin: segf
 * www-client/firefox-4.0_beta9_pre-r3::mozilla & use-linker-plugin: segf
 * x11-base/xorg-server-{1.9.2.901,9999} & lto (110101): segf causing irrecoverable(?) lockup
 * x11-drivers/xf86-video-ati-9999 & use-linker-plugin: segf in X
 * x11-libs/cairo-9999 & use-linker-plugin: segf in gdk-pixbuf-query-loaders
 * x11-libs/libX11-1.4.0 & use-linker-plugin: segf in gdk-pixbuf-query-loaders from gdk-pixbuf-2.2[23].0
 * x11-misc/cairo-dock-plugins r1813 & use-linker-plugin: segf in cairo-dock

ICEs

 * media-gfx/gimp-2.6.11-r1 & loop-flatten, "file-ps.c: In function ‘dither_grey’"
 * media-gfx/gimp-2.6.11-r1 & sel-sched-pipelining, "rect.c: In function ‘render_rectangle’"
 * media-libs/gegl-0.1.4 & sel-sched-pipelining, "model-gray.c: In function 'gray_alpha_premultiplied_to_rgba'"
 * media-video/vlc-1.1.6 & selective-scheduling2, "mp4/libmp4.c: In function 'MP4_ReadBox_sample_soun'"
 * media-video/vlc-1.1.6 & selective-scheduling2 & sel-sched-pipelining, "mmstu.c: In function 'KeepAliveThread'"
 * x11-libs/pango-1.28.0 & O0 lto use-linker-plugin, at "GEN   pango.modules"
 * x11-misc/cairo-dock-plugins & Ofast

Other compilation problems

 * net-libs/xulrunner-2.0_beta9_pre-r3::mozilla: Fails. Gets further with permissive in CXXFLAGS, but still fails.
 * net-libs/xulrunner-2.0_beta13_pre::mozilla: Requires permissive.
 * net-misc/tor-0.2.2.21_alpha & use-linker-plugin & as-needed: Fails due to undefined symbols.
 * sys-kernel/vanilla-sources-2.6.37: Fails, complaining about PIC code.

New flags

 * ipa-pta: Not new, but performs optimization now
 * loop-flatten: Graphite flag, haven't found problems yet
 * loop-linear: Will be removed and made an alias for loop-interchange.[2] Caused miscompilation from 4.1-4.5.[3][4][5][6]
 * Ofast: Equivalent to O3 & fast-mathc
 * use-linker-pluginab: Extracts gimple code from object code files. Enabled automatically when lto is, as of 110226.

Packages that work with use-linker-plugin

 * app-admin/gkrellm-2.3.5
 * dev-libs/nspr-4.8.[67]
 * dev-vcs/git-1.7.4_rc3
 * gnome-base/nautilus-2.32.2.1
 * media-video/vlc-1.1.6
 * net-im/pidgin-2.7.9
 * net-news/liferea-1.7.4
 * net-misc/tor-0.2.2.21_alpha without as-needed
 * sys-power/acpid-2.0.7
 * x11-libs/vte-0.2{6.2,7.3}
 * x11-terms/gnome-terminal-2.3{2.1,3.4}

 a Needs noexecstack, otherwise stacks will be marked executable (only with bfd). b Really really buggy. Test all packages compiled with this extensively. c May be both safe and ineffectual on amd64 due to using SSE fp math rather than x87.[1]