Opened 13 years ago

Closed 13 years ago

#1176 closed defect (fixed)

Compile error when set "./configure --disable-optimizations"

Reported by: liyongxing Owned by:
Priority: normal Component: build system
Version: 0.10.2 Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

My pc is ubuntu 11.10.
If not set " --disable-optimizations" in the configure, compile is ok.
When i disable optimization in configure, i got following error.
In file included from libavcodec/cabac_functions.h:36:0,

from libavcodec/cabac.c:32:

libavcodec/x86/cabac.h: In function ‘get_cabac_bypass_sign_x86’:
libavcodec/x86/cabac.h:109:5: error: can’t find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
libavcodec/x86/cabac.h:109:5: error: ‘asm’ operand has impossible constraints
make: * [libavcodec/cabac.o] Error 1

Change History (5)

comment:1 by Mike, 13 years ago

I suggest you also use the --disable-asm option for configure.

comment:2 by Carl Eugen Hoyos, 13 years ago

Reproduced by developer: set
Status: newopen

Not reproducible with git master, only reproducible for ia32 (on release/0.10).

comment:3 by Carl Eugen Hoyos, 13 years ago

Originally fixed in db02592.

in reply to:  1 comment:4 by liyongxing, 13 years ago

yes,it works when i set --disable-asm.

replying to mjs973:

I suggest you also use the --disable-asm option for configure.

comment:5 by Carl Eugen Hoyos, 13 years ago

Resolution: fixed
Status: openclosed

Fixed in next release, you can test with git checkout release/0.10

Note: See TracTickets for help on using tickets.