[Bug 223370] New: libcdaudio problem with x86_64
https://bugzilla.novell.com/show_bug.cgi?id=223370 Summary: libcdaudio problem with x86_64 Product: openSUSE 10.2 Version: Beta 2 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: herbert@graeber-clan.de QAContact: qa@suse.de Compilation of mythtv (and propably other programs) on x86_64 reports that libcdaudio should be built with -fPIC. Libdaudio should be configured with the option "--with-pic". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223370 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |ro@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223370 ro@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |herbert@graeber-clan.de ------- Comment #1 from ro@novell.com 2006-11-23 16:04 MST ------- libcdaudio (the shared lib) is compiled with -fPIC, I just verified that in the logfile. Or are you trying to link against the static library ? (only the objects for the shared library are compiled with -fPIC) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223370 herbert@graeber-clan.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|herbert@graeber-clan.de | ------- Comment #2 from herbert@graeber-clan.de 2006-11-25 06:27 MST ------- Yes, the static library is used. But it is used for building mythmusic, which it is a mythtv plugin, that is built with -fPIC itself. That seems to be no problem with i586. But with x86_64 it doesn't work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223370 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andreas.hanke@gmx-topmail.de ------- Comment #3 from andreas.hanke@gmx-topmail.de 2006-11-25 06:56 MST ------- libcdaudio is available as a shared library and mythmusic itself is a shared library, too. So mythmusic builds itself as a shared library, but prefers the static libcdaudio over the shared libcdaudio even though the shared libcdaudio is available. This is abnormal. Change mythmusic to use the shared libcdaudio instead of the static one. Most likely it actually intends to prefer the shared libcdaudio, but fails to find it for some reason. (Bug in mythmusic's build scripts?) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223370 ------- Comment #4 from ro@novell.com 2006-11-26 11:42 MST ------- in my private builds for the mythplugins I never ran into that problem, the shared lib is always preferred. could it be that only one of libcdaudio and libcdaudio-devel is installed ? (I just saw the devel package misses a dependency to the main package) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223370 ------- Comment #5 from herbert@graeber-clan.de 2006-11-26 13:24 MST ------- Yes, adding "BuildRequires: libcdaudio" to my spec file fixes the build, too. So we may close this bug and I should file a new one: "libcdaudio-devel package dependyncy from libcdaudio missing"? Neverthless, I am not sure if it would be a good thing to allow the use of static libraries for building dynamic ones. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223370 ro@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #6 from ro@novell.com 2006-11-26 15:37 MST ------- no need to add a new bug for the missing dependency, the fix is submitted (but might not make it into 10.2 maybe). That using non-fPIC libs on x86 works is mostly by chance, and generally compiling all static libs with fPIC is normally not a good idea (fPIC increases the register pressure on x86* even more) and linking static libs into shared objects should be avoided in general. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com