First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 36843
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Danny van Dyk (RETIRED) <kugelfang@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 36843 depends on: Show dependency tree
Bug 36843 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: 2003-12-30 13:55 0000
Ok, there are several things:

1. mjpegtools has a USE-Flag "mmx". When set, this flag will lead to a dependancy of jpeg-mmx, which doen't emerge on amd64 as well (I will post this as well).
Thus I emerged mjpegtools with USE="-mmx" emerge mjpegtools. It configures without problems.

2. compiling mjpegtools fails with error:
g++ -shared -nostdlib /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.2/../../../crti.o /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.2/crtbeginS.o  .libs/conform.o .libs/elemstrmwriter.o .libs/encoderparams.o .libs/macroblock.o .libs/motionest.o .libs/mpeg2coder.o .libs/mpeg2encoptions.o .libs/mpeg2encoder.o .libs/picture.o .libs/picturereader.o .libs/predict.o .libs/putpic.o .libs/putseq.o .libs/quantize.o .libs/ratectl.o .libs/stats.o .libs/synchrolib.o .libs/tables.o .libs/transfrm.o .libs/writepic.o .libs/fdctref.o .libs/idct.o .libs/predict_ref.o .libs/quantize_ref.o .libs/transfrm_ref.o  -Wl,--rpath -Wl,/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.2 -Wl,--rpath -Wl,/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.2 -L/usr/x86_64-pc-linux-gnu/lib -L/usr/x86_64-pc-linux-gnu/bin ../utils/libcpuaccel.a ../utils/libmjpegutils.a ../utils/libmotion.a -L/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.2 -L/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.2/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.2/../../.. /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.2/libstdc++.so -lm -lc -lgcc_s /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.2/crtendS.o /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.2/../../../crtn.o  -mno-sse2 -Wl,-soname -Wl,libmpeg2encpp-1.6.so.0 -o .libs/libmpeg2encpp-1.6.so.0.1.1
/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: ../utils/libcpuaccel.a(cpu_accel.o): relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
../utils/libcpuaccel.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

------- Comment #1 From Olivier Crete 2004-01-01 06:40:11 0000 -------
The mmx flag should be masked on amd64...  Does it build with CFLAGS="...
-fPIC" emerge mjpegtools-... ?

------- Comment #2 From Daniel Ahlberg (RETIRED) 2004-01-02 12:55:59 0000 -------
In CVS, thanks!

------- Comment #3 From Danny van Dyk (RETIRED) 2004-01-04 13:47:46 0000 -------
thx guys, works for me now *G

First Last Prev Next    No search results available      Search page      Enter new bug