Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306927 - packages compiled with sys-devel/gcc-4.4+ [+graphite,+openmp] require libgomp.so.1
Summary: packages compiled with sys-devel/gcc-4.4+ [+graphite,+openmp] require libgomp...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-26 10:20 UTC by nE0sIghT
Modified: 2010-03-07 00:57 UTC (History)
1 user (show)

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


Attachments
openrc build.log (build.log,36.07 KB, text/plain)
2010-03-06 23:43 UTC, nE0sIghT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nE0sIghT 2010-02-26 10:20:07 UTC
As of now this library installs in /usr/lib/gcc/_version_/
But /sbin/rc is executed on system boot before partitions is mounted and if /usr is a different partition system boot failed with something like "rc: libgomp.so.1 not found"

Same for util-linux and /sbin/agetty

As of now i'm copied libgomp.so* to /lib and system boots well

emerge --info
Portage 2.1.7.16 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.32-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-2.0.1
Timestamp of tree: Wed, 24 Feb 2010 20:30:02 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.san.ru/unix/linux/gentoo/gentoo-distfiles http://mirrors.sgu.ru/gentoo/distfiles http://oss.mexmat.sgu.ru/soft/unix/gentoo/distfiles"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/qutim-overlay /usr/local/portage/layman/desktop-effects /usr/local/portage/layman/pro-audio /usr/local/portage/layman/sunrise /usr/local/portage/layman/pcsx2-overlay /usr/local/portage/layman/arcon /usr/local/portage/layman/rion /usr/local/portage/layman/oss-overlay /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib acl acpi alisp alsa amd64 applet archive ares artworkextra audiofile automount berkdb bittorrent bittorrent-external branding bzip2 cairo caps cdr cdrtools chardet chdir cjk cli consolekit cover cracklib crypt css cue cups cupsddk curl custom-optimization cxx dbus dga dht dirac directfb disk-partition divx djvu dri dv dvd dvdr emerald enca encode exif extras ffmpeg firefox flac fontconfig fortran fts3 gd gdbm gif glib glitz gnome gnome-keyring gpm graphite grub gstreamer gtk gzip hal hddtemp iconv icq id3tag idle idn inifile jabber java java6 javascript joystick jpeg jpeg2k kate kvm ladspa lame lcms libass libcaca libnotify libsamplerate libtiger lirc lm_sensors loop-aes lyrics lzma lzo mad matroska mmx mmxext mng modules mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer mpu401 mtp mudflap multilib musepack mysql mysqli nautilus ncurses netplay network nls nptl nptlonly nsplugin nss ntfs nvidia offensive ogg ogm oodict openal opencore-amr opengl openmp openssl opensslcrypt pam parse-clocks pcf pcre pdo perl php png ppds pppd projectm psf python qt3support qt4 rar readline realmedia reflection rtsp screenshot sdl secure-delete session slang slp sndfile sound sounds spell spl sqlite sqlite3 sse sse2 sse3 ssl statistics stream subtitles svg symlink sysfs t1lib taglib tcpd theora threads thunderbird tiff timidity tls toolbar trayicon truetype tta twolame udev unicode unzip v4l v4l2 vamp vdpau vorbis vorbis-psy wav wavpack wma wmp x264 xanim xattr xcb xcomposite xhtml xinetd xml xmlreader xmlrpc xmlwriter xorg xosd xpm xulrunner xv xvid zip zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="devinput" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Roy Marples 2010-02-26 15:48:31 UTC
Fix gcc.
Comment 2 SpanKY gentoo-dev 2010-03-06 23:32:15 UTC
building gcc itself with USE='graphite openmp' shouldnt matter.  that should only enable algorithms in gcc itself, not cause things it compiles to require libgomp.  that generally occurs when you use the OpenMP compiler flags, and using them system wide is stupid.

post the full build log of openrc as an attachment and post `lddtree /sbin/rc`
Comment 3 nE0sIghT 2010-03-06 23:43:34 UTC
Created attachment 222371 [details]
openrc build.log

lddtree.sh /sbin/rc
rc => /sbin/rc (interpreter => /lib64/ld-linux-x86-64.so.2)
    libutil.so.1 => /lib64/libutil.so.1
    librc.so.1 => /lib64/librc.so.1
    libeinfo.so.1 => /lib64/libeinfo.so.1
    libncurses.so.5 => /lib64/libncurses.so.5
        libgomp.so.1 => /lib/libgomp.so.1
            librt.so.1 => /lib/librt.so.1
        libpthread.so.0 => /lib/libpthread.so.0
    libdl.so.2 => /lib64/libdl.so.2
    libpam.so.0 => /lib64/libpam.so.0
    libc.so.6 => /lib64/libc.so.6
Comment 4 nE0sIghT 2010-03-06 23:49:04 UTC
Recompilled ncurses and this dependency is gone
Sorry for wrong issue
Comment 5 SpanKY gentoo-dev 2010-03-07 00:57:24 UTC
sounds like ncurses was built with poor choice of cflags.  re-open if you can post a build log for libgomp dep.