Ticket #2164 (closed defect: fixed)
linking failure: undefined reference to `ff_pdw_80000000'
| Reported by: | saste | Owned by: | |
|---|---|---|---|
| Priority: | important | Component: | avcodec |
| Version: | git-master | Keywords: | vorbis build mmx regression |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
Summary of the bug:
FFmpeg fails to build ffmpeg when optimizations and mmx are disabled.
How to reproduce:
$ configure --disable-optimizations --disable-mmx [...] $ make ffmpeg [...] LD ffmpeg_g libavcodec/libavcodec.a(vorbisdsp_init.o): In function `vorbis_inverse_coupling_sse': /home/stefano/src/ffmpeg/libavcodec/x86/vorbisdsp_init.c:61: undefined reference to `ff_pdw_80000000' collect2: ld returned 1 exit status make: *** [ffmpeg_g] Error 1
Regression since:
commit fef906c77c09940a2fdad155b2adc05080e17eda
Author: Ronald S. Bultje <rsbultje@gmail.com>
Date: Sat Jan 19 22:21:10 2013 -0800
Move vorbis_inverse_coupling from dsputil to vorbisdspcontext.
Conveniently (together with Justin's earlier patches), this makes
our vorbis decoder entirely independent of dsputil.
or the corresponding merge commit.
It builds fine with --disable-optimizations --enable-mmx (but, does it even make sense?).
Change History
comment:1 Changed 4 months ago by cehoyos
- Priority changed from critical to important
- Status changed from new to open
comment:2 in reply to: ↑ description ; follow-up: ↓ 3 Changed 4 months ago by cehoyos
Replying to saste:
It builds fine with --disable-optimizations --enable-mmx (but, does it even make sense?).
It builds fast and you can test asm.
(How is --disable-optimizations --disable-mmx particularly useful?)
comment:3 in reply to: ↑ 2 ; follow-up: ↓ 4 Changed 4 months ago by saste
Replying to cehoyos:
Replying to saste:
It builds fine with --disable-optimizations --enable-mmx (but, does it even make sense?).
It builds fast and you can test asm.
(How is --disable-optimizations --disable-mmx particularly useful?)
Useful if you debug FFmpeg and are testing C code-path (I don't remember why I added it in the first place).
comment:4 in reply to: ↑ 3 Changed 4 months ago by cehoyos
Replying to saste:
(How is --disable-optimizations --disable-mmx particularly useful?)
Useful if you debug FFmpeg and are testing C code-path (I don't remember why I added it in the first place).
I always use --disable-optimzations --disable-asm if I need to test the C code-path.


