Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3616 - kdemultimedia-3.0.1.20020604 compilation fails
Summary: kdemultimedia-3.0.1.20020604 compilation fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
: 3842 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-11 01:36 UTC by David Holm (RETIRED)
Modified: 2003-01-07 12:15 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 David Holm (RETIRED) gentoo-dev 2002-06-11 01:36:17 UTC
Hi, 
the compilation of kdemultimedia-3.0.1.20020604 fails with the following 
errors (on gentoo 1.3a) 
 
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../../.. -I.. 
-I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include 
-DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3 -pipe 
-fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -c 
libdivxutil_dither_la.all_cpp.cpp -MT libdivxutil_dither_la.all_cpp.lo -MD -MP 
-MF .deps/libdivxutil_dither_la.all_cpp.TPlo  -fPIC -DPIC -o 
.libs/libdivxutil_dither_la.all_cpp.o 
In file included from /usr/include/g++-v31/backward/iostream.h:31, 
                 from ../../timeStamp.h:18, 
                 from ../yuvPicture.h:24, 
                 from dither2YUV.h:19, 
                 from dither2YUV.cpp:14, 
                 from libdivxutil_dither_la.all_cpp.cpp:2: 
/usr/include/g++-v31/backward/backward_warning.h:32:2: warning: #warning This 
file includes at least one deprecated or antiquated header. Please consider 
using one of the 32 headers found in section 17.4.1.2 of the C++ standard. 
Examples include substituting the <X> header for the <X.h> header for C++ 
includes, or <sstream> instead of the deprecated header <strstream.h>. To 
disable this warning use -Wno-deprecated. 
{standard input}: Assembler messages: 
{standard input}:1913: Error: symbol `rgb2yuv16_422' is already defined 
{standard input}:2124: Error: symbol `rgb2y_16' is already defined 
{standard input}:2467: Error: symbol `rgb2yuv16_422' is already defined 
{standard input}:2691: Error: symbol `rgb2yuv16_422_fast' is already defined 
{standard input}:2799: Error: symbol `rgb2y_16' is already defined 
{standard input}:2954: Error: symbol `rgb2y32_fast' is already defined 
{standard input}:3352: Error: symbol `rgb2yuv24_422' is already defined 
{standard input}:3494: Error: symbol `rgb2y_24' is already defined 
{standard input}:3615: Error: symbol `rgb2yuv32_422' is already defined 
{standard input}:3780: Error: symbol `rgb2y_32' is already defined 
{standard input}:4052: Error: symbol `rgb2yuv24_422' is already defined 
{standard input}:4209: Error: symbol `rgb2yuv32_422' is already defined 
{standard input}:4385: Error: symbol `rgb2y_24' is already defined 
{standard input}:4473: Error: symbol `rgb2y_32' is already defined 
make[6]: *** [libdivxutil_dither_la.all_cpp.lo] Error 1 
make[6]: Leaving directory 
`/var/tmp/portage/kdemultimedia-3.0.1.20020604/work/kdemultimedia-3.0.1/mpeglib/lib/util/render/dither2YUV' 
make[5]: *** [all-recursive] Error 1
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-06-18 09:45:16 UTC
*** Bug 3842 has been marked as a duplicate of this bug. ***
Comment 2 Andreas Simon 2002-06-27 13:49:47 UTC
This is actually a bug in mpeglibs assambler code triggered by gcc3's -O3
optimization. Inlining global identifiers is just a bad idea.

Fix: Compile it with -O2 to avoid inlining, not with -03.

BTW: This issue is already fixed in KDE's CVS and thus will go away with the
next KDE release.

Cheers.
Comment 3 David Holm (RETIRED) gentoo-dev 2002-08-12 05:49:40 UTC
Since there are newer versions of this package that works I guess this bug is no
longer relevant.