[FFmpeg-trac] #9859(undetermined:new): Compilation warnings ATOMIC_VAR_INIT

FFmpeg trac at avcodec.org
Tue Sep 6 09:50:49 EEST 2022


#9859: Compilation warnings ATOMIC_VAR_INIT
-------------------------------------+-------------------------------------
             Reporter:  Jozef        |                    Owner:  (none)
  Chutka                             |
                 Type:  enhancement  |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Jozef Chutka):

 Attaching emscripten configure and build commands:

 {{{
 emconfigure
   ./configure
   --target-os=none
   --arch=x86_32
   --enable-cross-compile
   --enable-gpl
   --enable-version3
   --enable-zlib
   --enable-libaom
   --enable-libx264
   --enable-libx265
   --enable-libvpx
   --enable-libmp3lame
   --enable-libtheora
   --enable-libvorbis
   --enable-libopus
   --enable-libwebp
   --enable-librubberband
   --disable-x86asm
   --disable-inline-asm
   --disable-stripping
   --disable-programs
   --disable-doc
   --disable-debug
   --disable-runtime-cpudetect
   --disable-autodetect
   --extra-cflags="-O3 -I$BUILD_DIR/include -s USE_PTHREADS=1 -msimd128"
   --extra-cxxflags="-O3 -I$BUILD_DIR/include -s USE_PTHREADS=1 -msimd128"
   --extra-ldflags="-O3 -I$BUILD_DIR/include -s USE_PTHREADS=1 -msimd128"
   --pkg-config-flags="--static"
   --nm="llvm-nm"
   --ar=emar
   --ranlib=emranlib
   --cc=emcc
   --cxx=em++
   --objcc=emcc
   --dep-cc=emcc
 }}}

 {{{
 emcc
   -O3 -I$BUILD_DIR/include -s USE_PTHREADS=1 -msimd128
   -I. -I./fftools -I$BUILD_DIR/include
   -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavresample
 -Llibavutil -Llibpostproc -Llibswscale -Llibswresample -Lrubberband
 -Lsamplerate -Lflite -L$BUILD_DIR/lib
   -Wno-deprecated-declarations -Wno-pointer-sign -Wno-implicit-int-float-
 conversion -Wno-switch -Wno-parentheses -Qunused-arguments
   -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale
 -lavutil -lpostproc -lm -laom -lx264 -lx265 -lvpx -lmp3lame -lvorbis
 -lvorbisenc -lvorbisfile -logg -ltheora -ltheoraenc -ltheoradec -lz -lopus
 -lwebp -lwebpmux -lrubberband -lsamplerate
   fftools/cmdutils.c fftools/ffmpeg.c fftools/ffmpeg_filter.c
 fftools/ffmpeg_hw.c fftools/ffmpeg_mux.c fftools/ffmpeg_opt.c
 fftools/objpool.c fftools/opt_common.c fftools/sync_queue.c
 fftools/thread_queue.c
   -lworkerfs.js
   -s USE_SDL=2
   -s INVOKE_RUN=0
   -s EXIT_RUNTIME=1
   -s MODULARIZE=1
   -s EXPORT_NAME="createFFmpeg"
   -s EXPORTED_FUNCTIONS="[_main, ___wasm_init_memory_flag]"
   -s EXPORTED_RUNTIME_METHODS="[callMain, FS, WORKERFS]"
   -s INITIAL_MEMORY=128mb
   -s ALLOW_MEMORY_GROWTH=1
   -s MAXIMUM_MEMORY=4gb
   -s ENVIRONMENT=worker
   -s PROXY_TO_PTHREAD=1
   -pthread
   -o $WASM_DIR/ffmpeg.js
 }}}

 With this configuration I observe the reported issues (`ATOMIC_VAR_INIT`
 and `audio_drift_threshold != 0.1`). Please advise if you believe there is
 something wrong in my commands
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9859#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list