Opened 5 years ago

Closed 5 years ago

#1176 closed defect (fixed)

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

Reported by: jason_li 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 follow-up: Changed 5 years ago by mjs973

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

comment:2 Changed 5 years ago by cehoyos

  • Reproduced by developer set
  • Status changed from new to open

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

comment:3 Changed 5 years ago by cehoyos

Originally fixed in db02592.

comment:4 in reply to: ↑ 1 Changed 5 years ago by jason_li

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

replying to mjs973:

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

comment:5 Changed 5 years ago by cehoyos

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

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

Note: See TracTickets for help on using tickets.