Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FYI: Gentoo with Clang (and a bit of gcc)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
lyallp
Veteran
Veteran


Joined: 15 Jul 2004
Posts: 1557
Location: Adelaide/Australia

PostPosted: Tue Aug 19, 2014 11:48 am    Post subject: FYI: Gentoo with Clang (and a bit of gcc) Reply with quote

In case anyone is interested, I have a VirtualBox VM in which I run Gentoo which has been mostly built using clang.

There are some packages which require gcc, but if it will build with clang, I do.

As at 19-Aug-2014, given this 'world'
Code:
app-admin/sudo
app-admin/syslog-ng
app-crypt/gnupg
app-editors/emacs
app-emulation/virtualbox-additions
app-emulation/virtualbox-guest-additions
app-portage/eix
app-portage/elogviewer
app-portage/gentoolkit
app-portage/layman
dev-libs/openssl
kde-base/kdm
net-misc/dhcpcd
net-misc/ssh-askpass-fullscreen
sys-apps/mlocate
sys-apps/pciutils
sys-apps/portage
sys-apps/v86d
sys-boot/grub
sys-devel/clang
sys-devel/gcc
sys-devel/llvm
sys-devel/prelink
sys-fs/xfsprogs
sys-kernel/genkernel
sys-kernel/gentoo-sources
sys-libs/glibc
sys-process/vixie-cron
virtual/emacs
x11-apps/xhost
x11-base/xorg-server
x11-drivers/xf86-video-virtualbox
x11-libs/cairo
x11-libs/pango
x11-terms/xterm
x11-wm/fluxbox0

The following packages require gcc
Code:
=sys-libs/glibc-2.17                gcc
=sys-libs/glibc-2.19-r1             gcc
=app-crypt/gnupg-2.0.22             gcc
=app-crypt/gnupg-2.0.25             gcc
=dev-lang/spidermonkey-17.0.0-r3    gcc
=dev-libs/elfutils-0.158            gcc
=dev-libs/klibc-1.5.25              gcc
=dev-libs/libgcrypt-1.5.0-r2        gcc
=dev-libs/openssl-1.0.1g            gcc
=dev-libs/openssl-1.0.1h-r1         gcc
=sys-apps/tcp-wrappers-7.6-r8       gcc
=sys-boot/grub-0.97-r12             gcc
=sys-boot/grub-2.00_p5107-r2        gcc
=sys-devel/binutils-2.23.1          gcc
=sys-fs/e2fsprogs-1.42.7            gcc
=sys-libs/gpm-1.20.6                gcc
=sys-apps/busybox-1.21.0            gcc
=x11-libs/cairo-1.12.16             gcc

# X and Fluxbox
=app-admin/gam-server-0.1.10-r1     gcc
=app-text/qpdf-4.1.0                gcc
=media-libs/gstreamer-0.10.36       gcc
=media-libs/gstreamer-0.10.36-r2    gcc
=net-libs/glib-networking-2.38.2    gcc
=net-libs/libsoup-2.44.2            gcc
=sys-fs/udisks-2.1.3                gcc

#=media-libs/mesa                   gcc

# sys-devel/clang                   gcc

#app-foo/bar                        gcc
#app-foo/baz                        clang


Emerge --info
Code:
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.19-r1, 3.14.14-gentoo x86_64)
=================================================================
System uname: Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-gentoo-2.2
KiB Mem:     2791432 total,   1927132 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of tree: Tue, 19 Aug 2014 10:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.7, 3.2.5-r3, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
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.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: local_repo gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -mtune=native -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/udev/rules.d /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/sabnzbd/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mtune=native -march=native -pipe"
DISTDIR="/portage/gentoo/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo ftp://mirror.pacific.net.au/linux/Gentoo http://mymirror.asiaosc.org/gentoo/ http://www.zentek-international.com/mirrors/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/portage/gentoo/packages"
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"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/portage/gentoo"
PORTDIR_OVERLAY="/portage/local /portage/gentoo"
SYNC="rsync://mirror.internode.on.net/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emacs emboss encode exif fam firefox flac fortran gdbm gif gpm iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell sse sse2 sse3 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid 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 logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" 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" ELIBC="glibc" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="vesa fbdev" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

_________________
...Lyall
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum