Talk:Clang

Hey! Here are some ideas...

(1) I think it'd be great to include on the wiki a few examples of packages that do compile fine with Clang. That would help newbies start using it (without the risk of messing up their system).

(2) Also, perhaps you could have an FAQ with questions like, "Should I file a bug if the package fails to build with Clang?  If not, is there some place I should report it?"

(3) Would it be kosher to post a link on this wiki to http://en.gentoo-wiki.com/wiki/Llvm ?

- David


 * As to your (3), yes, it is allowed to link to external resources. It would be even better to make a page in the wiki here with all relevant information. — yngwin 07:36, 15 June 2012 (UTC)

What compiles and what doesn't
As at 28th of July, 2012, the following packages require GCC to compile on a x86 Gentoo build, Intel CPU, in a VirtualBox VM. (this is a copy of my /etc/portage/package.env file)

=app-admin/gam-server-0.1.10-r1                gcc =app-crypt/gnupg-2.0.19                        gcc =dev-db/mysql-5.1.62-r1                        gcc =dev-libs/elfutils-0.149                       gcc =dev-libs/klibc-1.5.20                         gcc =dev-libs/libffi-3.0.11                        gcc =dev-libs/libgcrypt-1.5.0-r2                   gcc =dev-libs/mpfr-3.0.1_p4                        gcc =dev-libs/nettle-2.4                           gcc =dev-libs/openssl-1.0.0j                       gcc =kde-misc/polkit-kde-kcmodules-0.98_pre20101127 gcc =media-libs/gst-plugins-base-0.10.35           gcc =media-libs/gstreamer-0.10.35                  gcc =media-libs/libv4l-0.8.8                       gcc =media-libs/mesa-7.11.2                        gcc =media-video/mjpegtools-2.0.0-r1               gcc =sys-apps/busybox-1.20.1                       gcc =sys-apps/tcp-wrappers-7.6-r8                  gcc =sys-apps/which-2.20                           gcc =sys-auth/polkit-kde-agent-0.99.0              gcc =sys-boot/grub-0.97-r10                        gcc =sys-devel/binutils-2.21.1-r1                  gcc =sys-fs/e2fsprogs-1.42                         gcc =sys-libs/gdbm-1.8.3-r4                        gcc =sys-libs/glibc-2.14.1-r3                      gcc =sys-libs/gpm-1.20.6                           gcc =sys-libs/zlib-1.2.5.1-r2                      gcc =www-client/firefox-10.0.5                     gcc =x11-apps/luit-1.1.1                           gcc =x11-base/xorg-server-1.12.2                   gcc =x11-drivers/xf86-video-vesa-2.3.1             gcc =x11-libs/qt-core-4.8.2                        gcc =x11-libs/qt-gui-4.8.2                         gcc =x11-libs/qt-opengl-4.8.2                      gcc =x11-libs/qt-svg-4.8.2                         gcc

...Lyall

Gentoo bugs for compilation failures

 * General tracker bug for Gentoo FreeBSD
 * dev-libs/libffi-3.0.11
 * dev-libs/openssl-1.0.0j
 * sys-libs/ncurses-5.9-r2

The bugs I listed above have patches that fix build failures.