[libav-bugs] [Bug 685] New: Using Visual Studio 2013.2 x86 will always get a complier internal error when compile libavcodec/hevcpred.c

bugzilla at libav.org bugzilla at libav.org
Sat May 17 17:30:51 CEST 2014


http://bugzilla.libav.org/show_bug.cgi?id=685

           Summary: Using Visual Studio 2013.2 x86 will always get a
                    complier internal error when compile
                    libavcodec/hevcpred.c
           Product: Libav
           Version: 10
          Platform: X86
        OS/Version: Windows
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: libavcodec
        AssignedTo: bugzilla at libav.org
        ReportedBy: steve at chinavfx.net


well this is the first time I'm using visual studio 2013.2 to compile libav
10.x,
we only use libav 9.x and visual studio 2012. under normal x86 compiler, of
course with native VC complier, it will always give the following error:

$ make
CC      libavcodec/hevcpred.o
hevcpred.c
d:\libav-10.1\libavcodec\get_bits.h(257) : warning C4189: 're_size_plus8' :
loca
l variable is initialized but not referenced
d:\libav-10.1\libavcodec\hevcpred_template.c(236) : fatal error C1001: An
intern
al error has occurred in the compiler.
(compiler file 'f:\dd\vctools\compiler\utc\src\p2\main.c', line 228)
 To work around this problem, try simplifying or changing the program near the
l
ocations listed above.
Please choose the Technical Support command on the Visual C++
 Help menu, or open the Technical Support help file for more information
INTERNAL COMPILER ERROR in 'd:\Develop\Microsoft Visual Studio
12.0\VC\BIN\cl.ex
e'
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more information
make: *** [libavcodec/hevcpred.o] Error 1

but x64 native compiler works fine. and I also tried with different configure
options, seems on x86, this error will always be there. also tried with
git-head version of hevcpred_template.c file, still gives me the same error.

Haven't tested other Visual studio versions. here is my configure:
--disable-static --enable-shared --disable-avdevice --disable-network
--enable-dxva2 --disable-encoders --disable-muxers --disable-debug
--disable-devices --toolchain=msvc --enable-memalign-hack

-- 
Configure bugmail: http://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list