Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122402 - nvidia-cg-toolkit: libCg.so needs libpthread, but is not linked with it
Summary: nvidia-cg-toolkit: libCg.so needs libpthread, but is not linked with it
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-10 10:56 UTC by Asfand Yar Qazi
Modified: 2006-02-10 14:53 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Asfand Yar Qazi 2006-02-10 10:56:58 UTC
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Pentium III (Katmai)
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Wall -O3 -march=pentium3 -fomit-frame-pointer -mmmx -msse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Wall -O3 -march=pentium3 -fomit-frame-pointer -mmmx -msse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks notitles sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac acpi allegro alsa apache2 apm arts audiofile avi bash-completion berkdb bidi big-tables bitmap-fonts bluetooth bzip2 cairo cdinstall cdr chroot cjk clamav cluster crypt cups curl dbus dga doc dvd dvdr dvi eds emacs emboss encode esd examples exif expat extraengine fam firefox flac font-server fontconfig foomaticdb fortran ftp gd gdbm geometry gif gimpprint glitz glut gmp gnokii gnome gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile hal howl hpn idn imagemagick imap imlib ipv6 irda java javascript joystick jpeg jpeg2k kde kdeenablefinal kerberos lcms ldap libclamav libg++ libwww lirc lm_sensors logitech-mouse logrotate mad maildir mikmod mmap mmx mmx2 mmxext mng motif mp3 mpeg mysql nautilus ncurses nfs nls nntp nptl nsplugin numeric offensive ogg oggvorbis openal openexr opengl pam pam_chroot pam_console pam_timestamp pcre pdf pdflib perl physf physfs png povray python qt quicktime readline recode rle ruby samba sametime sasl scanner sdk sdl sms sndfile sockets speex spell sse ssl svg sysvipc t1lib tcltk tcpd tetex theora threads tiff toolbar truetype truetype-fonts type1-fonts udev unicode usb utf8 v4l2 videos vorbis wifi win32codecs wmf xcomposite xinerama xml2 xmms xpm xprint xrandr xscreensaver xv xvid zeroconf zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

Applications that use libCg.so from nvidia-cg-toolkit will not link properly unless they link with pthread, because libCg.so uses it, but it is not linked with it itself.  Therefore I propose linking libCg.so with libpthread.so when it is compiled, so applications don't have to do so themselves.

Is this a good idea?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-10 11:40:15 UTC
Wrong product, please read the descriptions when filing a bug. This has nothing in  common with bugzilla.
Comment 2 Marcelo Goes (RETIRED) gentoo-dev 2006-02-10 11:52:11 UTC
If nVidia itself does link against it, I don't think we should.
Moreover, we are forbidden by its license to do so:

2.1.2 Linux Exception. Notwithstanding the foregoing terms of Section 2.1.1,
SOFTWARE designed exclusively for use on the Linux operating system may be
copied and redistributed, provided that the binary files thereof are not
modified in any way (except for unzipping of compressed files).

Please take this idea to nVidia, we cannot do anything about it.
Comment 3 Asfand Yar Qazi 2006-02-10 14:53:55 UTC
Ah, I didn't realise it wasn't compiled from source.