Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96103 - alsa-oss & -lib 'make check' fail when trying to make a shared object
Summary: alsa-oss & -lib 'make check' fail when trying to make a shared object
Status: RESOLVED DUPLICATE of bug 99764
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-14 10:39 UTC by Attila Stehr
Modified: 2005-09-08 10:11 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 Attila Stehr 2005-06-14 10:39:34 UTC
getting the following error on e.g. 
emerge gimp-print
emerge mplayer
(probably some more I don't remenber now)

relocation R_X86_64_32 against `a local symbol' can not be used when making a
shared object; recompile with -fPIC
<SOMETHING.a>: could not read symbols: Bad value

Reproducible: Always
Steps to Reproduce:
1) emerge -v --deep --newuse gimp-print

Actual Results:  
took 'gimp-print' as example here:

/bin/sh ../../libtool --mode=link gcc -Wall -Wcast-align -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wwrite-strings
-pedantic -march=athlon64 -O3 -pipe -fomit-frame-pointer  -o rastertoprinter
-static rastertoprinter.o ../../lib/libprintut.la -Wl,-rpath,/usr/lib
-lcupsimage -ltiff -ljpeg -lpng -lm -lz -lcups -lssl -lcrypto -lnsl
../../src/main/libgimpprint.la   -lz
gcc -Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic
-march=athlon64 -O3 -pipe -fomit-frame-pointer -o rastertoprinter
rastertoprinter.o -Wl,-rpath -Wl,/usr/lib  ../../lib/.libs/libprintut.al
-lcupsimage /usr/lib64/libtiff.a /usr/lib/libjpeg.a -lpng -lm -lcups -lssl
-lcrypto -lnsl ../../src/main/.libs/libgimpprint.a -lz
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib64/libtiff.a(tif_close.o): relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libtiff.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [rastertoprinter] Fehler 1
make[3]: Leaving directory
`/var/tmp/portage/gimp-print-4.2.7/work/gimp-print-4.2.7/src/cups'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory
`/var/tmp/portage/gimp-print-4.2.7/work/gimp-print-4.2.7/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/gimp-print-4.2.7/work/gimp-print-4.2.7'
make: *** [all-recursive-am] Fehler 2

!!! ERROR: media-gfx/gimp-print-4.2.7 failed.


--------------------

maybe this is a part of the problem:


gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include -I../../intl
-Wall -Wcast-align -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -Wwrite-strings -pedantic
-march=athlon64 -O3 -pipe -fomit-frame-pointer -c print-dither.c  -fPIC -DPIC -o
.libs/print-dither.lo
print-dither.c: In function `stp_init_dither':
print-dither.c:515: warning: dereferencing type-punned pointer will break
strict-aliasing rules
print-dither.c:520: warning: dereferencing type-punned pointer will break
strict-aliasing rules
print-dither.c:522: warning: dereferencing type-punned pointer will break
strict-aliasing rules
print-dither.c:524: warning: dereferencing type-punned pointer will break
strict-aliasing rules
print-dither.c:526: warning: dereferencing type-punned pointer will break
strict-aliasing rules
print-dither.c:532: warning: dereferencing type-punned pointer will break
strict-aliasing rules
print-dither.c:534: warning: dereferencing type-punned pointer will break
strict-aliasing rules
print-dither.c:536: warning: dereferencing type-punned pointer will break
strict-aliasing rules
print-dither.c:538: warning: dereferencing type-punned pointer will break
strict-aliasing rules

Expected Results:  
clean emerge

Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 30 2005, 19:34:17)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.6.3, 1.5, 1.7.9-r1, 1.4_p6, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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 /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox severe sfperms
strict test"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aac acpi alsa amd64 avi berkdb bitmap-fonts bzlib cdr crypt cups curl dga
directfb dlloader dts dvd dvdr dvdread eds emacs encode esd exif fam fbcon
ffmpeg font-server foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk
gtk2 hal hardened howl imagemagick imlib ipv6 ithreads javascript jp2 jpeg lcms
libwww lzo lzw lzw-tiff mad matroska memlimit mikmod mmap mng mozdevelop mozsvg
mp3 mpeg ncurses nls nptl nvidia ogg oggvorbis openal opengl oss pam pda pdflib
perl png ppds python quicktime readline real sdl slang ssl svg tcltk tcpd test
tetex tga threads tidy tiff truetype truetype-fonts type1-fonts unicode usb
userlocales videos vorbis wmf xine xml2 xmms xpm xprint xrandr xv xvid xvmc zlib
linguas_de_DE@euro userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2005-06-14 13:39:01 UTC
Ok, this doesn't seem to be a BUG re gimpl-print nor mplayer.
Attila: I suppuse you get a similar message re 'libtiff.a" for mplayer, too.
Right? This is your problem: The linker on your system doesn't find
/usr/lib64/libtiff.so, or it has problems parsing /usr/lib64/libtiff.la. I'd
suggest you try to re-emerge media-libs/tiff, which provides this particular
library. Please report back if this doesn't solve your problem.

ah, and FYI: this is no 'blocker', but a simple bug. 'blocker' is restricted to
bugs that block from installing a system and/or creating release media. :-)
Comment 2 Attila Stehr 2005-06-15 11:06:16 UTC
> ok, this doesn't seem to be a BUG re gimpl-print nor mplayer.
> Attila: I suppuse you get a similar message re 'libtiff.a" for mplayer, too.
> Right? This is your problem: The linker on your system doesn't find
> /usr/lib64/libtiff.so, or it has problems parsing /usr/lib64/libtiff.la. I'd
> suggest you try to re-emerge media-libs/tiff, which provides this particular
> library. Please report back if this doesn't solve your problem.

Hey man, you're a genius! :-) That did it for gimp-print - I had to remerge the
tiff and jpeg libs.

Mplayer still successfully fends from being emerged. Couldn't figure out which
packet I have to remerge in this case:

Please help me with mplayer as well - what's libvo ?!
(All I could figure out is that it's not libvorbis.)

make[1]: Entering directory
`/var/tmp/portage/mplayer-1.0_pre6-r4/work/MPlayer-1.0pre6a/libmenu'
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu.o menu.c
menu.c: In function `menu_parse_config':
menu.c:79: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt
strict-aliasing-Regeln
menu.c:113: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt
strict-aliasing-Regeln
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o vf_menu.o vf_menu.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu_cmdlist.o menu_cmdlist.c
menu_cmdlist.c: In function `parse_args':
menu_cmdlist.c:110: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt
strict-aliasing-Regeln
menu_cmdlist.c:123: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt
strict-aliasing-Regeln
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu_pt.o menu_pt.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu_list.o menu_list.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu_filesel.o menu_filesel.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu_txt.o menu_txt.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu_console.o menu_console.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu_param.o menu_param.c
menu_param.c: In function `parse_args':
menu_param.c:83: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt
strict-aliasing-Regeln
menu_param.c:93: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt
strict-aliasing-Regeln
menu_param.c:56: Warnung: Variable 
Comment 3 Attila Stehr 2005-06-15 11:06:16 UTC
> ok, this doesn't seem to be a BUG re gimpl-print nor mplayer.
> Attila: I suppuse you get a similar message re 'libtiff.a" for mplayer, too.
> Right? This is your problem: The linker on your system doesn't find
> /usr/lib64/libtiff.so, or it has problems parsing /usr/lib64/libtiff.la. I'd
> suggest you try to re-emerge media-libs/tiff, which provides this particular
> library. Please report back if this doesn't solve your problem.

Hey man, you're a genius! :-) That did it for gimp-print - I had to remerge the
tiff and jpeg libs.

Mplayer still successfully fends from being emerged. Couldn't figure out which
packet I have to remerge in this case:

Please help me with mplayer as well - what's libvo ?!
(All I could figure out is that it's not libvorbis.)

make[1]: Entering directory
`/var/tmp/portage/mplayer-1.0_pre6-r4/work/MPlayer-1.0pre6a/libmenu'
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu.o menu.c
menu.c: In function `menu_parse_config':
menu.c:79: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt
strict-aliasing-Regeln
menu.c:113: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt
strict-aliasing-Regeln
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o vf_menu.o vf_menu.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu_cmdlist.o menu_cmdlist.c
menu_cmdlist.c: In function `parse_args':
menu_cmdlist.c:110: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt
strict-aliasing-Regeln
menu_cmdlist.c:123: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt
strict-aliasing-Regeln
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu_pt.o menu_pt.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu_list.o menu_list.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu_filesel.o menu_filesel.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu_txt.o menu_txt.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu_console.o menu_console.c
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I.. -I../libmpcodecs -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include -Wall -I/usr/include/freetype2
-o menu_param.o menu_param.c
menu_param.c: In function `parse_args':
menu_param.c:83: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt
strict-aliasing-Regeln
menu_param.c:93: Warnung: Dereferenzierung eines Type-Pun-Zeigers verletzt
strict-aliasing-Regeln
menu_param.c:56: Warnung: Variable »ok« wird nicht verwendet
menu_param.c:56: Warnung: Variable »cancel« wird nicht verwendet
menu_param.c: In function `openMenu':
menu_param.c:133: Warnung: Typkonvertierung von Zeiger auf Ganzzahl anderer Breite
ar r libmenu.a menu.o vf_menu.o menu_cmdlist.o menu_pt.o menu_list.o
menu_filesel.o menu_txt.o menu_console.o menu_param.o
ar: creating libmenu.a
true libmenu.a
make[1]: Leaving directory
`/var/tmp/portage/mplayer-1.0_pre6-r4/work/MPlayer-1.0pre6a/libmenu'
cc -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
-frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib64/glib/include -I. -I/usr/include/freetype2 -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib64/glib/include  -I/usr/include/SDL
-D_REENTRANT -I/usr/X11R6/include       -o mplayer mplayer.o mp_msg.o
cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o
vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o
m_struct.o edl.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a
libmenu/libmenu.a  Gui/libgui.a libmpcodecs/libmpcodecs.a   libaf/libaf.a
libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a
-ldvdread libavcodec/libavcodec.a libavformat/libavformat.a  -lmad -lvorbis
-logg   -lfaad -llzo -lmp3lame -lvorbis -logg -lxvidcore -lm -ldts -lm -lpng -lz
-lz -ljpeg -lasound -ldl -lpthread /usr/lib/libxmms.so.1 -export-dynamic 
-L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz   -lnsl  -lungif   
-L/usr/lib64 -lfontconfig    mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a
-L/usr/lib64 -L/usr/lib64 -lgtk -lgdk -rdynamic -lgmodule -lglib -lXi -lXext
-lX11 -lm -L/usr/lib64 -lglib  -lGL -lXxf86dga -lXv -lXvMC -lXvMCNVIDIA
-lXxf86vm  -L/usr/X11R6/lib -lXext -lX11 -lnsl -lnsl -L/usr/lib64
-Wl,-rpath,/usr/lib -lSDL -lpthread     -ldirectfb   -L/usr/lib64 -lesd
-laudiofile -lm -lasound         -lpthread -ldl -rdynamic   -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
libvo/libvo.a(osd.o): relocation R_X86_64_32S against `a local symbol' can not
be used when making a shared object; recompile with -fPIC
libvo/libvo.a: could not read symbols: Bad value
collect2: ld gab 1 als Ende-Status zurück
make: *** [mplayer] Fehler 1

!!! ERROR: media-video/mplayer-1.0_pre6-r4 failed.

----------------------

> ah, and FYI: this is no 'blocker', but a simple bug. 'blocker' is restricted to
> bugs that block from installing a system and/or creating release media. :-)

Finally someone that uses smileys ... most (other) replys often sound a bit
harsh for me. Whatever:

Okay I will state the right severity next time. But the text behind blocker in
the choice list should not be
"Blocker - this prevents software from testing and USE" 
then. Because I can not use mplayer when I can't emerge it.
(Anyway I know it's not the package here!)

------------------------------------------------

I reopened the bug because I do not know if you will be notified when I just
leave it resolved/worksforme. If you would, then please tell me and I will know
it for the next bug :o)
Comment 4 Attila Stehr 2005-06-15 15:52:11 UTC
I'm completely lost ...

magic test # pwd
/var/tmp/portage/alsa-lib-1.0.8/work/alsa-lib-1.0.8/test
magic test # make check
make  control pcm latency seq playmidi1 timer rawmidi midiloop omixer code
oldapi queue_timer
make[1]: Entering directory
`/var/tmp/portage/alsa-lib-1.0.8/work/alsa-lib-1.0.8/test'
/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -static -Wall -pipe -g
-march=athlon64 -O3 -pipe -fomit-frame-pointer   -o control  control.o
../src/libasound.la
x86_64-pc-linux-gnu-gcc -Wall -pipe -g -march=athlon64 -O3 -pipe
-fomit-frame-pointer -o control control.o  ../src/.libs/libasound.a -lm -ldl
-lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
control.o: relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
control.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [control] Fehler 1
make[1]: Leaving directory
`/var/tmp/portage/alsa-lib-1.0.8/work/alsa-lib-1.0.8/test'
make: *** [check-am] Fehler 2


magic test # pwd
/var/tmp/portage/alsa-oss-1.0.8-r1/work/alsa-oss-1.0.8/test
magic test # make check
make  osstest lmixer
make[1]: Entering directory
`/var/tmp/portage/alsa-oss-1.0.8-r1/work/alsa-oss-1.0.8/test'
/bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -static -Wall -pipe -g
-march=athlon64 -O3 -pipe -fomit-frame-pointer   -o osstest  osstest.o
../oss-redir/libossredir.la
x86_64-pc-linux-gnu-gcc -Wall -pipe -g -march=athlon64 -O3 -pipe
-fomit-frame-pointer -o osstest osstest.o  ../oss-redir/.libs/libossredir.a -ldl
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
osstest.o: relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
osstest.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [osstest] Fehler 1
make[1]: Leaving directory
`/var/tmp/portage/alsa-oss-1.0.8-r1/work/alsa-oss-1.0.8/test'
make: *** [check-am] Fehler 2
Comment 5 Danny van Dyk (RETIRED) gentoo-dev 2005-06-27 13:04:03 UTC
(In reply to comment #2)
> cc -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
> -frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib64/glib/include -I. -I/usr/include/freetype2 -I/usr/include/gtk-1.2
> -I/usr/include/glib-1.2 -I/usr/lib64/glib/include  -I/usr/include/SDL
> -D_REENTRANT -I/usr/X11R6/include       -o mplayer mplayer.o mp_msg.o
> cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o
> vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o
> m_struct.o edl.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a
> libmenu/libmenu.a  Gui/libgui.a libmpcodecs/libmpcodecs.a   libaf/libaf.a
> libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a
> -ldvdread libavcodec/libavcodec.a libavformat/libavformat.a  -lmad -lvorbis
> -logg   -lfaad -llzo -lmp3lame -lvorbis -logg -lxvidcore -lm -ldts -lm -lpng -lz
> -lz -ljpeg -lasound -ldl -lpthread /usr/lib/libxmms.so.1 -export-dynamic 
> -L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz   -lnsl  -lungif   
> -L/usr/lib64 -lfontconfig    mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a
> -L/usr/lib64 -L/usr/lib64 -lgtk -lgdk -rdynamic -lgmodule -lglib -lXi -lXext
> -lX11 -lm -L/usr/lib64 -lglib  -lGL -lXxf86dga -lXv -lXvMC -lXvMCNVIDIA
> -lXxf86vm  -L/usr/X11R6/lib -lXext -lX11 -lnsl -lnsl -L/usr/lib64
> -Wl,-rpath,/usr/lib -lSDL -lpthread     -ldirectfb   -L/usr/lib64 -lesd
> -laudiofile -lm -lasound         -lpthread -ldl -rdynamic   -lm
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
> libvo/libvo.a(osd.o): relocation R_X86_64_32S against `a local symbol' can not
> be used when making a shared object; recompile with -fPIC
> libvo/libvo.a: could not read symbols: Bad value
> collect2: ld gab 1 als Ende-Status zur
Comment 6 Danny van Dyk (RETIRED) gentoo-dev 2005-06-27 13:04:03 UTC
(In reply to comment #2)
> cc -I../libvo -I../../libvo -I/usr/X11R6/include  -march=athlon64 -pipe -O2
> -frename-registers -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib64/glib/include -I. -I/usr/include/freetype2 -I/usr/include/gtk-1.2
> -I/usr/include/glib-1.2 -I/usr/lib64/glib/include  -I/usr/include/SDL
> -D_REENTRANT -I/usr/X11R6/include       -o mplayer mplayer.o mp_msg.o
> cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o
> vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o
> m_struct.o edl.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a
> libmenu/libmenu.a  Gui/libgui.a libmpcodecs/libmpcodecs.a   libaf/libaf.a
> libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a
> -ldvdread libavcodec/libavcodec.a libavformat/libavformat.a  -lmad -lvorbis
> -logg   -lfaad -llzo -lmp3lame -lvorbis -logg -lxvidcore -lm -ldts -lm -lpng -lz
> -lz -ljpeg -lasound -ldl -lpthread /usr/lib/libxmms.so.1 -export-dynamic 
> -L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz   -lnsl  -lungif   
> -L/usr/lib64 -lfontconfig    mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a
> -L/usr/lib64 -L/usr/lib64 -lgtk -lgdk -rdynamic -lgmodule -lglib -lXi -lXext
> -lX11 -lm -L/usr/lib64 -lglib  -lGL -lXxf86dga -lXv -lXvMC -lXvMCNVIDIA
> -lXxf86vm  -L/usr/X11R6/lib -lXext -lX11 -lnsl -lnsl -L/usr/lib64
> -Wl,-rpath,/usr/lib -lSDL -lpthread     -ldirectfb   -L/usr/lib64 -lesd
> -laudiofile -lm -lasound         -lpthread -ldl -rdynamic   -lm
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
> libvo/libvo.a(osd.o): relocation R_X86_64_32S against `a local symbol' can not
> be used when making a shared object; recompile with -fPIC
> libvo/libvo.a: could not read symbols: Bad value
> collect2: ld gab 1 als Ende-Status zurück
> make: *** [mplayer] Fehler 1
> 
> !!! ERROR: media-video/mplayer-1.0_pre6-r4 failed.
^^ there we go. This looks more like a mplayer BUG. I'll try to merge mplayer
with your USE flags, let's see if i can recreate it.

> Finally someone that uses smileys ... most (other) replys often sound a bit
> harsh for me. Whatever:
Yeah, some responses are a bit harsh. In that case, just focus on the topic.
Devs, too, can have a bad day.


(In reply to comment #3)
> I'm completely lost ...
> 
> magic test # pwd
> /var/tmp/portage/alsa-lib-1.0.8/work/alsa-lib-1.0.8/test
> magic test # make check
> make  control pcm latency seq playmidi1 timer rawmidi midiloop omixer code
> oldapi queue_timer
> make[1]: Entering directory
> `/var/tmp/portage/alsa-lib-1.0.8/work/alsa-lib-1.0.8/test'
> /bin/sh ../libtool --mode=link x86_64-pc-linux-gnu-gcc -static -Wall -pipe -g
> -march=athlon64 -O3 -pipe -fomit-frame-pointer   -o control  control.o
> ../src/libasound.la
> x86_64-pc-linux-gnu-gcc -Wall -pipe -g -march=athlon64 -O3 -pipe
> -fomit-frame-pointer -o control control.o  ../src/.libs/libasound.a -lm -ldl
> -lpthread
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld:
> control.o: relocation R_X86_64_32 against `a local symbol' can not be used when
> making a shared object; recompile with -fPIC
> control.o: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[1]: *** [control] Fehler 1
> make[1]: Leaving directory
> `/var/tmp/portage/alsa-lib-1.0.8/work/alsa-lib-1.0.8/test'
> make: *** [check-am] Fehler 2
^^^ Eeek, why does make check try to create a shared object? o.O
(same for the 2nd snippet)
Comment 7 Attila Stehr 2005-07-07 09:54:13 UTC
- just altered z summary -
Comment 8 Attila Stehr 2005-08-26 19:54:03 UTC
'Removed' the mplayer issue from the summary since there is a separate bug for
that (bug # 93862).

So this bug now focuses on the 'make check' problem when the tests try to create
a shared object - see comment #4.
Comment 9 Simon Stelling (RETIRED) gentoo-dev 2005-09-08 10:11:51 UTC

*** This bug has been marked as a duplicate of 99764 ***