Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 212536
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Raúl Porcel <armin76@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 212536 depends on: Show dependency tree
Bug 212536 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-06 21:56 0000
peper says it's fine, so please do

------- Comment #1 From Angelo Arrifano 2008-03-06 22:27:47 0000 -------
media-video/nvidia-settings-169.07

* Emerges on AMD64.
* Works!

PS: Cool, it features a PowerMizer monitor!

- -

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.23-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r9 x86_64 AMD Turion(tm) 64 X2 Mobile Technology
TL-56
Timestamp of tree: Wed, 05 Mar 2008 09:01:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -Os -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -Os -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer multilib-strict
parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://213.186.33.37/gentoo-distfiles/"
LANG="en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 amr amrnb amrwb bash-completion
berkdb branding bzip2 cairo cli cracklib crypt cups dbus devhelp divx doc dvd
dvdr emerald fam ffmpeg firefox flac fortran gd gdbm gif glade glib glitz gtk
gtkspell hal hddtemp iconv imagemagick insecure-savers isdnlog javascript jpeg
jpeg2k kqemu libcaca libnotify midi mmx mmxext mp2 mp3 mp4 mpeg mplayer mudflap
musicbrainz mysql ncurses nls nptl nptlonly offensive ogg opengl openmp pam
pcre png pppd python quicktime readline realmedia reflection samba sdl session
smp sndfile sourceview spell spl sse sse2 ssl stream svg syslog taglib tcpd
threads truetype type1 unicode v4l v4l2 vhosts vim-syntax vorbis wifi wmp
xcomposite xorg xosd xpm xscreensaver xvid zlib" ALSA_CARDS="hda-intel"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter 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="keyboard mouse evdev synaptics joystick"
KERNEL="linux" LCD_DEVICES="xosd" USERLAND="GNU" VIDEO_CARDS="nv nvidia none"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Olivier Crete 2008-03-06 22:40:38 0000 -------
done

------- Comment #3 From Angelo Arrifano 2008-03-08 19:07:13 0000 -------
Today I was trying to make a python wrapper for XNVCtrl but:

swig -python -I/usr/include/ pyNVCtrl.i
gcc -fPIC -c pyNVCtrl_wrap.c -I/usr/include/python2.4/ 
ld -shared pyNVCtrl_wrap.o -o pyNVCtrl.so -lXNVCtrl -lX11 -lXext
ld: /usr/lib64/libXNVCtrl.a(NVCtrl.o): relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libXNVCtrl.a: could not read symbols: Bad value
make: *** [all] Error 1

So I made a quick fix allowing me to relink against the static lib on AMD64.
nvidia-settings also works with the fix.

# SOF
--- /usr/portage/media-video/nvidia-settings/nvidia-settings-169.07.ebuild    
2008-03-06 23:06:44.000000000 +0000
+++
/usr/local/portage/media-video/nvidia-settings/nvidia-settings-169.07.ebuild
2008-03-08 19:11:51.397985413 +0000
@@ -64,6 +64,10 @@
        cd "${S}/src/libXNVCtrl"
        xmkmf -a || die "Running xmkmf failed!"
        make clean || die "Cleaning old libXNVCtrl failed"
+       # See #207543 and #212536
+       sed -i.orig \
+               -e 's;$(CC) -c $(CFLAGS);$(CC) $(PICFLAGS) -c $(CFLAGS);' \
+               Makefile
        emake CDEBUGFLAGS="${CFLAGS}" CC="$(tc-getCC)" all || die "Building
libXNVCtrl failed!"

        cd "${S}"
# EOF

------- Comment #4 From Angelo Arrifano 2008-03-08 19:27:29 0000 -------
Maybe it's better to post the fix on #207543

Sorry about the spam.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug