https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77682
Bug ID: 77682 Summary: GCC crashes while compiling OpenAL-Soft 1.17.2 Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jeffbai at aosc dot xyz Target Milestone: --- GCC crashed while compiling openal-soft 1.17.2: [ 82%] Building C object CMakeFiles/bsincgen.dir/utils/bsincgen.c.o /bin/gcc -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=500 -I/var/lib/abbs/build/tmp.cUeDFpnWuA/openal-soft-1.17.2/include -I/var/lib/abbs/build/tmp.cUeDFpnWuA/openal-soft-1.17.2/build -std=c11 -pipe -Wno-error -fstack-protector-strong --param=ssp-buffer-size=4 -fomit-frame-pointer -O2 -march=armv8-a -mtune=cortex-a53 -fira-loop-pressure -fira-hoist-pressure -ftree-vectorize -specs=/usr/lib/autobuild3/specs/hardened-cc1 -O3 -DNDEBUG -Winline -Wall -Wextra -fvisibility=hidden -pthread -o CMakeFiles/bsincgen.dir/utils/bsincgen.c.o -c /var/lib/abbs/build/tmp.cUeDFpnWuA/openal-soft-1.17.2/utils/bsincgen.c /var/lib/abbs/build/tmp.cUeDFpnWuA/openal-soft-1.17.2/utils/bsincgen.c: In function ‘main’: /var/lib/abbs/build/tmp.cUeDFpnWuA/openal-soft-1.17.2/utils/bsincgen.c:160:13: internal compiler error: Segmentation fault int m = 2 * (int)floor(a); ^ gcc: internal compiler error: Segmentation fault (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <https://github.com/AOSC-Dev/aosc-os-core> for instructions. make[2]: *** [CMakeFiles/bsincgen.dir/build.make:63: CMakeFiles/bsincgen.dir/utils/bsincgen.c.o] Error 4 make[2]: *** Deleting file 'CMakeFiles/bsincgen.dir/utils/bsincgen.c.o' make[2]: Leaving directory '/var/lib/abbs/build/tmp.cUeDFpnWuA/openal-soft-1.17.2/build' make[1]: *** [CMakeFiles/Makefile2:223: CMakeFiles/bsincgen.dir/all] Error 2 make[1]: Leaving directory '/var/lib/abbs/build/tmp.cUeDFpnWuA/openal-soft-1.17.2/build' make: *** [Makefile:128: all] Error 2 GCC version info: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-aosc-linux-gnu/6.2.0/lto-wrapper Target: aarch64-aosc-linux-gnu Configured with: /var/lib/abbs/build/tmp.oCDM81AKGq/gcc-6.2.0/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://github.com/AOSC-Dev/aosc-os-core --enable-languages=c,c++,fortran,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-gnu-indirect-function --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --with-isl=/usr --enable-lto --enable-plugin --enable-install-libiberty --disable-multilib --disable-werror --enable-pie --enable-checking=release --with-default-libstdcxx-abi=gcc4-compatible --build=aarch64-aosc-linux-gnu --with-linker-hash-style=gnu --disable-altivec --disable-fixed-point --with-arch=armv8-a Thread model: posix gcc version 6.2.0 20160822 (AOSC OS, Core) (GCC) openal-soft source: http://kcat.strangesoft.net/openal-releases/openal-soft-1.17.2.tar.bz2