Public bug reported: GCC Version: ------------
9.3.0 (Ubuntu 9.3.0-10ubuntu2) System Type: ------------ x86_64-linux-gnu Configured with: ---------------- ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-10ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix Command Line that triggered the bug: ------------------------------------ sudo make -j4 Error Message: -------------- opt/opencv/apps/version/opencv_version.cpp: In function ‘void __static_initialization_and_destruction_0(int, int)’: /opt/opencv/apps/version/opencv_version.cpp:107:1: internal compiler error: Segmentation fault 107 | } | ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions. make[2]: *** [apps/version/CMakeFiles/opencv_version.dir/build.make:63: apps/version/CMakeFiles/opencv_version.dir/opencv_version.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:5602: apps/version/CMakeFiles/opencv_version.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 35%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/boost.cpp.o /opt/opencv/modules/flann/src/flann.cpp: In function ‘void __static_initialization_and_destruction_0(int, int)’: /opt/opencv/modules/flann/src/flann.cpp:56:1: internal compiler error: Segmentation fault 56 | } | ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions. make[2]: *** [modules/flann/CMakeFiles/opencv_flann.dir/build.make:63: modules/flann/CMakeFiles/opencv_flann.dir/src/flann.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:3787: modules/flann/CMakeFiles/opencv_flann.dir/all] Error 2 [ 35%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/data.cpp.o /opt/opencv/modules/imgproc/src/color_lab.cpp: In function ‘void __static_initialization_and_destruction_0(int, int)’: /opt/opencv/modules/imgproc/src/color_lab.cpp:4717:1: internal compiler error: Segmentation fault 4717 | } // namespace cv | ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions. make[2]: *** [modules/imgproc/CMakeFiles/opencv_imgproc.dir/build.make:243: modules/imgproc/CMakeFiles/opencv_imgproc.dir/src/color_lab.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:3814: modules/imgproc/CMakeFiles/opencv_imgproc.dir/all] Error 2 [ 35%] Building CXX object modules/ml/CMakeFiles/opencv_ml.dir/src/em.cpp.o /opt/opencv/modules/ml/src/boost.cpp: In function ‘void __static_initialization_and_destruction_0(int, int)’: /opt/opencv/modules/ml/src/boost.cpp:530:2: internal compiler error: Segmentation fault 530 | }} | ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions. make[2]: *** [modules/ml/CMakeFiles/opencv_ml.dir/build.make:76: modules/ml/CMakeFiles/opencv_ml.dir/src/boost.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /opt/opencv/modules/ml/src/data.cpp: In function ‘void __static_initialization_and_destruction_0(int, int)’: /opt/opencv/modules/ml/src/data.cpp:1043:2: internal compiler error: Segmentation fault 1043 | }} | ^ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions. make[2]: *** [modules/ml/CMakeFiles/opencv_ml.dir/build.make:89: modules/ml/CMakeFiles/opencv_ml.dir/src/data.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:3896: modules/ml/CMakeFiles/opencv_ml.dir/all] Error 2 make: *** [Makefile:163: all] Error 2 The preprocessed file (*.i*) that triggers the bug: ---------------------------------------------------- make: invalid option -- 'a' make: invalid option -- '-' # GNU Make 4.2.1 # Built for x86_64-pc-linux-gnu # Copyright (C) 1988-2016 Free Software Foundation, Inc. # License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> # This is free software: you are free to change and redistribute it. # There is NO WARRANTY, to the extent permitted by law. Usage: make [options] [target] ... Options: -b, -m Ignored for compatibility. -B, --always-make Unconditionally make all targets. -C DIRECTORY, --directory=DIRECTORY Change to DIRECTORY before doing anything. -d Print lots of debugging information. --debug[=FLAGS] Print various types of debugging information. -e, --environment-overrides Environment variables override makefiles. --eval=STRING Evaluate STRING as a makefile statement. -f FILE, --file=FILE, --makefile=FILE Read FILE as a makefile. -h, --help Print this message and exit. -i, --ignore-errors Ignore errors from recipes. -I DIRECTORY, --include-dir=DIRECTORY Search DIRECTORY for included makefiles. -j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg. -k, --keep-going Keep going when some targets can't be made. -l [N], --load-average[=N], --max-load[=N] Don't start multiple jobs unless load is below N. -L, --check-symlink-times Use the latest mtime between symlinks and target. -n, --just-print, --dry-run, --recon Don't actually run any recipe; just print them. -o FILE, --old-file=FILE, --assume-old=FILE Consider FILE to be very old and don't remake it. -O[TYPE], --output-sync[=TYPE] Synchronize output of parallel jobs by TYPE. -p, --print-data-base Print make's internal database. -q, --question Run no recipe; exit status says if up to date. -r, --no-builtin-rules Disable the built-in implicit rules. -R, --no-builtin-variables Disable the built-in variable settings. -s, --silent, --quiet Don't echo recipes. -S, --no-keep-going, --stop Turns off -k. -t, --touch Touch targets instead of remaking them. --trace Print tracing information. -v, --version Print the version number of make and exit. -w, --print-directory Print the current directory. --no-print-directory Turn off -w, even if it was turned on implicitly. -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE Consider FILE to be infinitely new. --warn-undefined-variables Warn when an undefined variable is referenced. This program built for x86_64-pc-linux-gnu Report bugs to <bug-m...@gnu.org> # Make data base, printed on Sat Oct 3 15:42:17 2020 # Variables # default .SHELLFLAGS := -c # environment XAUTHORITY = /run/user/1000/gdm/Xauthority # environment SHELL = /bin/bash # environment SUDO_COMMAND = /usr/bin/make -j4 -save-temps # environment GNUMAKEFLAGS := # environment PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin # default .FEATURES := target-specific order-only second-expansion else-if shortest-stem undefine oneshell archives jobserver output-sync check-symlink load # environment LS_COLORS = rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: # environment DISPLAY = :0 # default .LOADED := # environment HOME = /root # environment SUDO_USER = ayesha # environment LOGNAME = root # environment SUDO_GID = 1000 # environment COLORTERM = truecolor # environment SUDO_UID = 1000 # environment USER = root # default .VARIABLES := # environment MAIL = /var/mail/root # default .RECIPEPREFIX := # environment LANG = en_US.UTF-8 # environment TERM = xterm-256color # variable set hash-table stats: # Load=22/1024=2%, Rehash=0, Collisions=0/24=0% # Pattern-specific Variable Values # No pattern-specific variable values. # Directories # No files, no impossibilities in 0 directories. # Implicit Rules # No implicit rules. # Files # files hash-table stats: # Load=0/1024=0%, Rehash=0, Collisions=0/0=0% # VPATH Search Paths # No 'vpath' search paths. # No general ('VPATH' variable) search path. # No strcache buffers ** Affects: gcc-9 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1898346 Title: segmentation fault, building opencv To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/1898346/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs