Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2164 closed defect (fixed)

linking failure: undefined reference to `ff_pdw_80000000'

Reported by: Stefano Sabatini 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 (6)

comment:1 by Carl Eugen Hoyos, 12 years ago

Priority: criticalimportant
Status: newopen

in reply to:  description ; comment:2 by Carl Eugen Hoyos, 12 years ago

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?)

Last edited 12 years ago by Carl Eugen Hoyos (previous) (diff)

in reply to:  2 ; comment:3 by Stefano Sabatini, 12 years ago

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).

in reply to:  3 comment:4 by Carl Eugen Hoyos, 12 years ago

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-optimizations --disable-asm if I need to test the C code-path.

Last edited 12 years ago by Carl Eugen Hoyos (previous) (diff)

comment:5 by Michael Niedermayer, 12 years ago

Resolution: worksforme
Status: openclosed

i assume this has been fixed as its not reproduceable anymore

comment:6 by Carl Eugen Hoyos, 12 years ago

Resolution: worksformefixed

Fixed by Ronald in 2e4bb99

Note: See TracTickets for help on using tickets.