Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#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 (6)

comment:1 Changed 4 years ago by cehoyos

  • Priority changed from critical to important
  • Status changed from new to open

comment:2 in reply to: ↑ description ; follow-up: Changed 4 years 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-optimiztaions --disable-mmx particularly useful?)

Version 0, edited 4 years ago by cehoyos (next)

comment:3 in reply to: ↑ 2 ; follow-up: Changed 4 years 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 years 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-optimizations --disable-asm if I need to test the C code-path.

Last edited 4 years ago by cehoyos (previous) (diff)

comment:5 Changed 3 years ago by michael

  • Resolution set to worksforme
  • Status changed from open to closed

i assume this has been fixed as its not reproduceable anymore

comment:6 Changed 3 years ago by cehoyos

  • Resolution changed from worksforme to fixed

Fixed by Ronald in 2e4bb99

Note: See TracTickets for help on using tickets.