Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[clucene-2.3.3.4-r6] compilation fails with clang #2

Open
Bogdan107 opened this issue Feb 14, 2021 · 1 comment
Open

[clucene-2.3.3.4-r6] compilation fails with clang #2

Bogdan107 opened this issue Feb 14, 2021 · 1 comment

Comments

@Bogdan107
Copy link

Bogdan107 commented Feb 14, 2021

Compilation with gcc - SUCCESS.

emerge --info clucene

Portage 3.0.13 (python 3.9.1-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-10.2.0, glibc-2.32-r6, 5.10.15-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.10.15-gentoo-x86_64-x86_64-AMD_Ryzen_5_4600H_with_Radeon_Graphics-with-glibc2.32
KiB Mem:     7437148 total,   1182756 free
KiB Swap:   11534328 total,   8908588 free
Timestamp of repository gentoo: Sun, 14 Feb 2021 11:30:01 +0000
Head commit of repository gentoo: 67c87c8f66feafddddac9a321fc251eab8b9d121
Timestamp of repository poly-c: Fri, 12 Feb 2021 19:26:57 +0000
sh bash 5.0_p18
ld GNU gold (Gentoo 2.35.1 p2 2.35.1) 1.16
ccache version 4.1 [enabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r6::gentoo, 3.7.9-r2::gentoo, 3.8.7-r1::gentoo, 3.9.1-r1::gentoo
dev-util/ccache:          4.1::gentoo
dev-util/cmake:           3.18.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.15.1-r2::gentoo, 1.16.2-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo, 10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r6::gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CC="clang"
CFLAGS="-march=znver2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXX="clang++"
CXXFLAGS="-march=znver2 -O2 -pipe"
DISTDIR="/mnt/HDD2TB/system/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --quiet=y --quiet-build=y --quiet-fail=y --quiet-repo-display --verbose-conflict --keep-going --with-bdeps=y --jobs=3 --load-average=11"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy ccache cgroup compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru uk ua"
MAKEOPTS="-j12 --load-average=11"
PKGDIR="/usr/portage/packages"
PORTAGE_BUNZIP2_COMMAND="lbzip2 -d -n10"
PORTAGE_BZIP2_COMMAND="lbzip2 -n10"
PORTAGE_COMPRESS="pbzip2"
PORTAGE_COMPRESS_FLAGS="-19"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS=" --quiet"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
USE="256-color X aac acl acpi afp aio alsa amd64 amr amrenc apparmor archive argon2 aspell audit bash-completion bazaar bcrypt berkdb bluetooth bluray box brotli btrfs bzip2 cairo caja caps ccache cdda cdr cec chm chromaprint chromium clang color-management connection-sharing conntrack corefonts cover cpudetection crypt cuda cue cups curl cvs dav1d dbus designer dga dia djvu dnssec dnstap dropbox dvi eds egl elogind empathy enca enchant epub espeak; exfat exif faac faad fbcon fdk ffmpeg firewire flac flite fluidsynth fontconfig fontforge; freeimage ftp fuse gdal gdbm geo geoip geoip2 geolocation gga ggi gif gimp git glamor gles2 gmp gnome gnome-keyring gnome-online-accounts googledrive gpg gphoto2 gpm gps grammar graphite gsm gstreamer gtkspell hardened highlight http2 hunspell iconv icu id3tag idn iec61883 imagemagick infinality inotify introspection ipc ipod iproute2 ipv6 jemalloc jpeg jpeg2k keyring ladspa lcms ldap ldap-sasl lensfun libaom libass libcxx libevent libglvnd libnotify libproxy librtmp libssh libssh2 libtirpc libxml2 lm-sensors lm_sensors lto lv2 lz4 lzip lzma lzo mad magic map markdown mbox memcached mercurial metalink midi mikmod mms mobi mod modemmanager modplug mp2 mp3 mp4 mpeg mpg mplayer mta mtp multimedia musepack ncurses netlink networkmanager nfs nftables nls nntp nptl nsplugin ntfs ocr office ofono ogg opencl opencv openexr opengl openh264 openldap openmp openvdb opus pam pax_kernel pcap pcre pcre16 pdf pdfimport pgo pic pidgin pie pkcs11 png policykit postgres postscript profile profiling protobuf pulseaudio pwquality qt5 qtmedia quota rav1e raw rdp readline resolvconf rtmp rubberband samba sane sanitize sctp sdl seafile seccomp sensors sftp share skydrive slang smartcard smi smime snappy socks5 speech speex spell split-usr sqlite squashfs srt ssh ssl ssp subversion svg syslog system-av1 system-binutils system-boost system-bootstrap system-cairo system-clang system-crontab system-digest system-ffmpeg system-harfbuzz system-heimdal system-icu system-jpeg system-jsoncpp system-libevent system-libmspack system-libs system-libvpx system-libyaml system-llvm system-lua system-mitkrb5 system-openh264 system-openjpeg system-qemu system-qt system-snappy system-sqlite system-tbb system-uulib system-wine system-zlib t1lib tbb tcl tcmalloc telephaty tftp theora thesaurus threads tiff timidity tk tpm tremor truetype udev udisks unicode upnp upower usb uuid v4l vaapi vala valgrind vdpau virgl vlc vnc vorbis vpx vtk vulkan vulkan-overlay wavpack wayland webdav webengine webkit webp wifi wireguard x264 x265 x509 xa xattr xcb xdg xinerama xkb xmp xps xscreensaver xtpax xv xvid xvmc zeroconf zeromq zink zlib zstd zvbi" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel snd-hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias access_compat" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="*" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput evdev libinput synaptics mtouch" KERNEL="linux" L10N="en ru uk ua" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU NVPTX BPF" LUA_SINGLE_TARGET="lua5-1 lua51" LUA_TARGETS="lua5-1 lua51" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_7 python3_8 python3_9" QEMU_SOFTMMU_TARGETS="arm aarch64 x86_64 sparc" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="fbdev amdgpu radeon radeonsi v4l virgl nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BINHOST

=================================================================
                        Package Settings
=================================================================

dev-cpp/clucene-2.3.3.4-r6::gentoo was built with the following:
USE="-debug -doc -static-libs"

cat build.log

 * Package:    dev-cpp/clucene-2.3.3.4-r6
 * Repository: gentoo
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   ccache compressdebug network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
 * Applying clucene-2.3.3.4-contrib.patch ...
 [ ok ]
 * Applying clucene-2.3.3.4-pkgconfig.patch ...
 [ ok ]
 * Applying clucene-2.3.3.4-gcc6.patch ...
 [ ok ]
 * Applying clucene-2.3.3.4-gmtime.patch ...
 [ ok ]
>>> Working in BUILD_DIR: "/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build"
cmake -C /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_ASCII_MODE=OFF -DENABLE_PACKAGING=OFF -DDISABLE_MULTITHREADING=OFF -DBUILD_CONTRIBS_LIB=ON -DLIB_DESTINATION=/usr/lib64 -DENABLE_DEBUG=no -DENABLE_CLDOCS=no -DBUILD_STATIC_LIBRARIES=no -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/gentoo_toolchain.cmake  /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4
loading initial cache file /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/gentoo_common_config.cmake
-- The C compiler identification is Clang 11.0.0
-- The CXX compiler identification is Clang 11.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
Compiling as Gentoo
CMake Warning (dev) at CMakeLists.txt:74 (OPTION):
  Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
  --help-policy CMP0077" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  For compatibility with older versions of CMake, option is clearing the
  normal variable 'ENABLE_ANSI_MODE'.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /usr/include (found version "1.74.0")  
Boost found
-- Boost_INCLUDE_DIR    : /usr/include
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") 
-- Looking for include files sys/time.h, time.h
-- Looking for include files sys/time.h, time.h - found
-- Looking for C++ include stdlib.h
-- Looking for C++ include stdlib.h - found
-- Looking for C++ include stdarg.h
-- Looking for C++ include stdarg.h - found
-- Looking for C++ include stdio.h
-- Looking for C++ include stdio.h - found
-- Looking for C++ include stddef.h
-- Looking for C++ include stddef.h - found
-- Looking for C++ include ctype.h
-- Looking for C++ include ctype.h - found
-- Looking for C++ include algorithm
-- Looking for C++ include algorithm - found
-- Looking for C++ include functional
-- Looking for C++ include functional - found
-- Looking for C++ include map
-- Looking for C++ include map - found
-- Looking for C++ include vector
-- Looking for C++ include vector - found
-- Looking for C++ include list
-- Looking for C++ include list - found
-- Looking for C++ include set
-- Looking for C++ include set - found
-- Looking for C++ include math.h
-- Looking for C++ include math.h - found
-- Looking for C++ include fcntl.h
-- Looking for C++ include fcntl.h - found
-- Looking for C++ include limits.h
-- Looking for C++ include limits.h - found
-- Looking for C++ include string.h
-- Looking for C++ include string.h - found
-- Looking for C++ include sys/time.h
-- Looking for C++ include sys/time.h - found
-- Looking for C++ include memory.h
-- Looking for C++ include memory.h - found
-- Looking for C++ include sys/types.h
-- Looking for C++ include sys/types.h - found
-- Looking for C++ include stdint.h
-- Looking for C++ include stdint.h - found
-- Looking for C++ include unistd.h
-- Looking for C++ include unistd.h - found
-- Looking for C++ include io.h
-- Looking for C++ include io.h - not found
-- Looking for C++ include direct.h
-- Looking for C++ include direct.h - not found
-- Looking for C++ include sys/dir.h
-- Looking for C++ include sys/dir.h - found
-- Looking for C++ include sys/ndir.h
-- Looking for C++ include sys/ndir.h - not found
-- Looking for C++ include dirent.h
-- Looking for C++ include dirent.h - found
-- Looking for C++ include wctype.h
-- Looking for C++ include wctype.h - found
-- Looking for C++ include stat.h
-- Looking for C++ include stat.h - not found
-- Looking for C++ include sys/stat.h
-- Looking for C++ include sys/stat.h - found
-- Looking for C++ include stdexcept
-- Looking for C++ include stdexcept - found
-- Looking for C++ include errno.h
-- Looking for C++ include errno.h - found
-- Looking for C++ include windef.h
-- Looking for C++ include windef.h - not found
-- Looking for C++ include windows.h
-- Looking for C++ include windows.h - not found
-- Looking for C++ include wchar.h
-- Looking for C++ include wchar.h - found
-- Looking for C++ include hash_map
-- Looking for C++ include hash_map - not found
-- Looking for C++ include hash_set
-- Looking for C++ include hash_set - not found
-- Looking for C++ include ext/hash_map
-- Looking for C++ include ext/hash_map - found
-- Looking for C++ include tr1/unordered_set
-- Looking for C++ include tr1/unordered_set - not found
-- Looking for C++ include tr1/unordered_map
-- Looking for C++ include tr1/unordered_map - not found
-- Looking for C++ include sys/timeb.h
-- Looking for C++ include sys/timeb.h - found
-- Looking for C++ include tchar.h
-- Looking for C++ include tchar.h - not found
-- Looking for C++ include strings.h
-- Looking for C++ include strings.h - found
-- Looking for C++ include sys/mman.h
-- Looking for C++ include sys/mman.h - found
-- Looking for C++ include winerror.h
-- Looking for C++ include winerror.h - not found
-- Choosing type for int8_t
-- Check size of int8_t
-- Check size of int8_t - done
-- Choosing type for int8_t - signed int8_t
-- Choosing type for uint8_t
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Choosing type for uint8_t - unsigned uint8_t
-- Choosing type for int16_t
-- Check size of int16_t
-- Check size of int16_t - done
-- Choosing type for int16_t - signed int16_t
-- Choosing type for uint16_t
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Choosing type for uint16_t - unsigned uint16_t
-- Choosing type for int32_t
-- Check size of int32_t
-- Check size of int32_t - done
-- Choosing type for int32_t - signed int32_t
-- Choosing type for uint32_t
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Choosing type for uint32_t - unsigned uint32_t
-- Choosing type for int64_t
-- Check size of int64_t
-- Check size of int64_t - done
-- Choosing type for int64_t - signed int64_t
-- Choosing type for uint64_t
-- Check size of uint64_t
-- Check size of uint64_t - done
-- Choosing type for uint64_t - unsigned uint64_t
-- Choosing type for size_t
-- Check size of size_t
-- Check size of size_t - done
-- Choosing type for size_t - unsigned size_t
-- Choosing option for HAVE_TYPE__TIMEB
-- Performing Test _CL_HAVE_OPTION__TIMEB
-- Performing Test _CL_HAVE_OPTION__TIMEB - Failed
-- Performing Test _CL_HAVE_OPTION_TIMEB
-- Performing Test _CL_HAVE_OPTION_TIMEB - Success
-- Choosing option for HAVE_TYPE__TIMEB - timeb
-- Performing Test HAVE_SYMBOL_FLOAT_T
-- Performing Test HAVE_SYMBOL_FLOAT_T - Success
-- Check size of DWORD
-- Check size of DWORD - failed
-- Looking for printf
-- Looking for printf - found
-- Looking for strftime
-- Looking for strftime - found
-- Looking for wcscpy
-- Looking for wcscpy - found
-- Looking for wcsncpy
-- Looking for wcsncpy - found
-- Looking for wcscat
-- Looking for wcscat - found
-- Looking for wcschr
-- Looking for wcschr - found
-- Looking for wcsstr
-- Looking for wcsstr - found
-- Looking for wcslen
-- Looking for wcslen - found
-- Looking for wcscmp
-- Looking for wcscmp - found
-- Looking for wcsncmp
-- Looking for wcsncmp - found
-- Looking for wcscspn
-- Looking for wcscspn - found
-- Looking for wcsupr
-- Looking for wcsupr - not found
-- Looking for wcscasecmp
-- Looking for wcscasecmp - found
-- Looking for wcsicmp
-- Looking for wcsicmp - not found
-- Looking for wcstoll
-- Looking for wcstoll - found
-- Looking for wprintf
-- Looking for wprintf - found
-- Looking for lltow
-- Looking for lltow - not found
-- Looking for wcstod
-- Looking for wcstod - found
-- Looking for wcsdup
-- Looking for wcsdup - found
-- Looking for strupr
-- Looking for strupr - not found
-- Looking for strlwr
-- Looking for strlwr - not found
-- Looking for lltoa
-- Looking for lltoa - not found
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for _vsnwprintf
-- Looking for _vsnwprintf - not found
-- Looking for mmap
-- Looking for mmap - found
-- Looking for MapViewOfFile
-- Looking for MapViewOfFile(0,0,0,0,0) - not found
-- Choosing function for fileHandleStat
-- Looking for fstati64
-- Looking for fstati64 - not found
-- Looking for _fstati64
-- Looking for _fstati64 - not found
-- Looking for fstat64
-- Looking for fstat64 - found
-- Choosing function for fileHandleStat - fstat64
-- Choosing function for fileStat
-- Looking for stati64
-- Looking for stati64 - not found
-- Looking for _stati64
-- Looking for _stati64 - not found
-- Looking for stat64
-- Looking for stat64 - found
-- Choosing function for fileStat - stat64
-- Choosing function for fileSize
-- Looking for filelengthi64
-- Looking for filelengthi64 - not found
-- Looking for _filelengthi64
-- Looking for _filelengthi64 - not found
-- Looking for filelength
-- Looking for filelength - not found
-- Looking for _filelength
-- Looking for _filelength - not found
-- Choosing function for fileSize - using default
-- Choosing function for fileSeek
-- Looking for lseeki64
-- Looking for lseeki64 - not found
-- Looking for _lseeki64
-- Looking for _lseeki64 - not found
-- Looking for lseek64
-- Looking for lseek64 - found
-- Choosing function for fileSeek - lseek64
-- Choosing option for HAVE_TYPE_CL_STAT_T
-- Performing Test _CL_HAVE_OPTION_STATI64
-- Performing Test _CL_HAVE_OPTION_STATI64 - Failed
-- Performing Test _CL_HAVE_OPTION__STATI64
-- Performing Test _CL_HAVE_OPTION__STATI64 - Failed
-- Performing Test _CL_HAVE_OPTION_STAT64
-- Performing Test _CL_HAVE_OPTION_STAT64 - Success
-- Choosing option for HAVE_TYPE_CL_STAT_T - stat64
-- Choosing function for fileTell
-- Looking for telli64
-- Looking for telli64 - not found
-- Looking for _telli64
-- Looking for _telli64 - not found
-- Looking for tell64
-- Looking for tell64 - not found
-- Looking for tell
-- Looking for tell - not found
-- Looking for _tell
-- Looking for _tell - not found
-- Choosing function for fileTell - using default
-- Choosing function for _realpath
-- Looking for realpath
-- Looking for realpath - found
-- Choosing function for _realpath - realpath
-- Choosing function for _rename
-- Looking for rename
-- Looking for rename - found
-- Choosing function for _rename - rename
-- Choosing function for _close
-- Looking for _close
-- Looking for _close((int)0) - not found
-- Looking for close
-- Looking for close - found
-- Choosing function for _close - close
-- Choosing function for _read
-- Looking for _read
-- Looking for _read((int)0, (void*)0, (unsigned int)0) - not found
-- Looking for read
-- Looking for read - found
-- Choosing function for _read - read
-- Choosing function for _cl_open
-- Looking for _open
-- Looking for _open(0,0,0) - not found
-- Looking for open
-- Looking for open - found
-- Choosing function for _cl_open - open
-- Choosing function for _write
-- Looking for _write
-- Looking for _write((int)0, (const void*)0, (unsigned int)0) - not found
-- Looking for write
-- Looking for write - found
-- Choosing function for _write - write
-- Choosing function for _unlink
-- Looking for _unlink
-- Looking for _unlink((const char*)0) - not found
-- Looking for unlink
-- Looking for unlink - found
-- Choosing function for _unlink - unlink
-- Choosing function for _ftime
-- Looking for _ftime
-- Looking for _ftime(0) - not found
-- Looking for ftime
-- Looking for ftime - found
-- Choosing function for _ftime - ftime
-- Choosing function for _mkdir
-- Looking for _mkdir
-- Looking for _mkdir((const char*)0) - not found
-- Choosing function for _mkdir - using default
-- Choosing function for SLEEPFUNCTION
-- Looking for usleep
-- Looking for usleep - found
-- Choosing function for SLEEPFUNCTION - usleep
-- Choosing function for _snprintf
-- Looking for snprintf
-- Looking for snprintf - found
-- Choosing function for _snprintf - snprintf
-- Choosing function for _snwprintf
-- Looking for snwprintf
-- Looking for snwprintf - not found
-- Looking for _snwprintf
-- Looking for _snwprintf - not found
-- Choosing function for _snwprintf - not found
-- Choosing symbol for _O_RANDOM
-- Looking for _O_RANDOM
-- Looking for _O_RANDOM - not found
-- Looking for O_RANDOM
-- Looking for O_RANDOM - not found
-- Choosing symbol for _O_RANDOM - not found
-- Choosing symbol for _O_BINARY
-- Looking for _O_BINARY
-- Looking for _O_BINARY - not found
-- Looking for O_BINARY
-- Looking for O_BINARY - not found
-- Choosing symbol for _O_BINARY - not found
-- Choosing symbol for _S_IREAD
-- Looking for _S_IREAD
-- Looking for _S_IREAD - not found
-- Looking for S_IREAD
-- Looking for S_IREAD - found
-- Choosing symbol for _S_IREAD - S_IREAD
-- Choosing symbol for _S_IWRITE
-- Looking for _S_IWRITE
-- Looking for _S_IWRITE - not found
-- Looking for S_IWRITE
-- Looking for S_IWRITE - found
-- Choosing symbol for _S_IWRITE - S_IWRITE
-- Choosing type for TCHAR
-- Check size of TCHAR
-- Check size of TCHAR - failed
-- Check size of wchar_t
-- Check size of wchar_t - done
-- Choosing type for TCHAR -  wchar_t
-- Choosing symbol for _T
-- Looking for _T
-- Looking for _T - not found
-- Choosing symbol for _T - not found
-- Performing Test _CL_HAVE_PTHREAD_MUTEX_RECURSIVE
-- Performing Test _CL_HAVE_PTHREAD_MUTEX_RECURSIVE - Success
-- Performing Test _CL_HAVE_GCC_ATOMIC_FUNCTIONS
-- Performing Test _CL_HAVE_GCC_ATOMIC_FUNCTIONS - Success
-- Performing Test _CL_HAVE_TRY_BLOCKS
-- Performing Test _CL_HAVE_TRY_BLOCKS - Success
-- Checking support new float byte<->float conversions
-- Checking support new float byte<->float conversions - yes
-- Choosing namespace for hashmaps
-- Performing Test _CL_HAVE_STD__TR1_HASHMAP
-- Performing Test _CL_HAVE_STD__TR1_HASHMAP - Failed
-- Performing Test _CL_HAVE_STD_HASHMAP
-- Performing Test _CL_HAVE_STD_HASHMAP - Failed
-- Performing Test _CL_HAVE_STDEXT_HASHMAP
-- Performing Test _CL_HAVE_STDEXT_HASHMAP - Failed
-- Performing Test _CL_HAVE___GNU_CXX_HASHMAP
-- Performing Test _CL_HAVE___GNU_CXX_HASHMAP - Success
-- Choosing namespace for hashmaps - __gnu_cxx::func
-- Performing Test _CL_HAVE_NAMESPACES
-- Performing Test _CL_HAVE_NAMESPACES - Success
-- Performing Test _CL_HAVE_NO_SNPRINTF_BUG
-- Performing Test _CL_HAVE_NO_SNPRINTF_BUG - Success
-- Performing Test _CL_ILONGLONG_LL
-- Performing Test _CL_ILONGLONG_LL - Success
-- Performing Test LUCENE_STATIC_CONSTANT_SYNTAX
-- Performing Test LUCENE_STATIC_CONSTANT_SYNTAX - Success
-- Check for ANSI scope
-- Check for ANSI scope - found
-- Checking to see if CXX compiler accepts flag -fprofile-arcs -ftest-coverage
-- Checking to see if CXX compiler accepts flag -fprofile-arcs -ftest-coverage - yes
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed
-- Found Iconv: /usr/lib64/libc.so
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=znver2 -O2 -pipe
C++             -march=znver2 -O2 -pipe
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build
>>> Working in BUILD_DIR: "/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build"
/usr/bin/cmake -S/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4 -B/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/CMakeFiles /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build'
make  -f src/shared/CMakeFiles/clucene-shared.dir/build.make src/shared/CMakeFiles/clucene-shared.dir/depend
make[2]: Entering directory '/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build'
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4 /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CMakeFiles/clucene-shared.dir/DependInfo.cmake
Dependee "/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CMakeFiles/clucene-shared.dir/DependInfo.cmake" is newer than depender "/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CMakeFiles/clucene-shared.dir/depend.internal".
Dependee "/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CMakeFiles/clucene-shared.dir/depend.internal".
Scanning dependencies of target clucene-shared
make[2]: Leaving directory '/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build'
make  -f src/shared/CMakeFiles/clucene-shared.dir/build.make src/shared/CMakeFiles/clucene-shared.dir/build
make[2]: Entering directory '/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build'
[  0%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/SharedHeader.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_SHARED_LIB -Dclucene_shared_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-shared.dir/CLucene/SharedHeader.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/SharedHeader.cpp
[  1%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/config/repl_tcslwr.o
[  1%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/config/repl_tcstod.o
[  1%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/config/repl_lltot.o
[  1%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/config/repl_tcscasecmp.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_SHARED_LIB -Dclucene_shared_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-shared.dir/CLucene/config/repl_tcstod.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/config/repl_tcstod.cpp
[  2%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/config/threads.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_SHARED_LIB -Dclucene_shared_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-shared.dir/CLucene/config/repl_tcslwr.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/config/repl_tcslwr.cpp
[  2%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/config/utf8.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_SHARED_LIB -Dclucene_shared_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-shared.dir/CLucene/config/repl_tcscasecmp.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/config/repl_tcscasecmp.cpp
[  2%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/debug/condition.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_SHARED_LIB -Dclucene_shared_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-shared.dir/CLucene/config/utf8.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/config/utf8.cpp
[  2%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/config/gunichartables.o
[  2%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/config/repl_tcstoll.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_SHARED_LIB -Dclucene_shared_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-shared.dir/CLucene/config/repl_lltot.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/config/repl_lltot.cpp
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_SHARED_LIB -Dclucene_shared_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-shared.dir/CLucene/config/gunichartables.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/config/gunichartables.cpp
[  4%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/config/repl_tprintf.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_SHARED_LIB -Dclucene_shared_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-shared.dir/CLucene/config/repl_tcstoll.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/config/repl_tcstoll.cpp
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_SHARED_LIB -Dclucene_shared_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-shared.dir/CLucene/config/threads.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/config/threads.cpp
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_SHARED_LIB -Dclucene_shared_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-shared.dir/CLucene/config/repl_tprintf.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/config/repl_tprintf.cpp
[  5%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/util/StringBuffer.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_SHARED_LIB -Dclucene_shared_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-shared.dir/CLucene/debug/condition.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/debug/condition.cpp
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_SHARED_LIB -Dclucene_shared_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-shared.dir/CLucene/util/StringBuffer.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/util/StringBuffer.cpp
[  5%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/util/Misc.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_SHARED_LIB -Dclucene_shared_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-shared.dir/CLucene/util/Misc.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/util/Misc.cpp
[  5%] Building CXX object src/shared/CMakeFiles/clucene-shared.dir/CLucene/util/dirent.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_SHARED_LIB -Dclucene_shared_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-shared.dir/CLucene/util/dirent.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/util/dirent.cpp
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared/CLucene/config/gunichartables.cpp:132:3: warning: "===== Note: using internal character function for compatibility =====" [-W#warnings]
 #warning "===== Note: using internal character function for compatibility ====="
  ^
1 warning generated.
[  7%] Linking CXX shared library ../../bin/libclucene-shared.so
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/bin/cmake -E cmake_link_script CMakeFiles/clucene-shared.dir/link.txt --verbose=1
/usr/lib/ccache/bin/clang++ -fPIC -march=znver2 -O2 -pipe -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libclucene-shared.so.1 -o ../../bin/libclucene-shared.so.2.3.3.4 CMakeFiles/clucene-shared.dir/CLucene/SharedHeader.o CMakeFiles/clucene-shared.dir/CLucene/config/gunichartables.o CMakeFiles/clucene-shared.dir/CLucene/config/repl_tcslwr.o CMakeFiles/clucene-shared.dir/CLucene/config/repl_tcstoll.o CMakeFiles/clucene-shared.dir/CLucene/config/repl_tcscasecmp.o CMakeFiles/clucene-shared.dir/CLucene/config/repl_tprintf.o CMakeFiles/clucene-shared.dir/CLucene/config/repl_lltot.o CMakeFiles/clucene-shared.dir/CLucene/config/repl_tcstod.o CMakeFiles/clucene-shared.dir/CLucene/config/utf8.o CMakeFiles/clucene-shared.dir/CLucene/config/threads.o CMakeFiles/clucene-shared.dir/CLucene/debug/condition.o CMakeFiles/clucene-shared.dir/CLucene/util/StringBuffer.o CMakeFiles/clucene-shared.dir/CLucene/util/Misc.o CMakeFiles/clucene-shared.dir/CLucene/util/dirent.o  -lpthread -lz 
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared && /usr/bin/cmake -E cmake_symlink_library ../../bin/libclucene-shared.so.2.3.3.4 ../../bin/libclucene-shared.so.1 ../../bin/libclucene-shared.so
make[2]: Leaving directory '/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build'
[  7%] Built target clucene-shared
make  -f src/core/CMakeFiles/clucene-core.dir/build.make src/core/CMakeFiles/clucene-core.dir/depend
make[2]: Entering directory '/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build'
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4 /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core/CMakeFiles/clucene-core.dir/DependInfo.cmake
Dependee "/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core/CMakeFiles/clucene-core.dir/DependInfo.cmake" is newer than depender "/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core/CMakeFiles/clucene-core.dir/depend.internal".
Dependee "/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core/CMakeFiles/clucene-core.dir/depend.internal".
Scanning dependencies of target clucene-core
make[2]: Leaving directory '/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build'
make  -f src/core/CMakeFiles/clucene-core.dir/build.make src/core/CMakeFiles/clucene-core.dir/build
make[2]: Entering directory '/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build'
[  7%] Building CXX object src/core/CMakeFiles/clucene-core.dir/CLucene/StdHeader.o
[  7%] Building CXX object src/core/CMakeFiles/clucene-core.dir/CLucene/util/ThreadLocal.o
[  7%] Building CXX object src/core/CMakeFiles/clucene-core.dir/CLucene/util/Reader.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-core.dir/CLucene/StdHeader.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/StdHeader.cpp
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-core.dir/CLucene/util/ThreadLocal.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/util/ThreadLocal.cpp
[  7%] Building CXX object src/core/CMakeFiles/clucene-core.dir/CLucene/util/MD5Digester.o
[  8%] Building CXX object src/core/CMakeFiles/clucene-core.dir/CLucene/util/Equators.o
[  8%] Building CXX object src/core/CMakeFiles/clucene-core.dir/CLucene/util/FastCharStream.o
[ 10%] Building CXX object src/core/CMakeFiles/clucene-core.dir/CLucene/util/StringIntern.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-core.dir/CLucene/util/Reader.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/util/Reader.cpp
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-core.dir/CLucene/util/Equators.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/util/Equators.cpp
[ 11%] Building CXX object src/core/CMakeFiles/clucene-core.dir/CLucene/debug/error.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-core.dir/CLucene/util/FastCharStream.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/util/FastCharStream.cpp
[ 11%] Building CXX object src/core/CMakeFiles/clucene-core.dir/CLucene/queryParser/MultiFieldQueryParser.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-core.dir/CLucene/debug/error.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/debug/error.cpp
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-core.dir/CLucene/util/MD5Digester.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/util/MD5Digester.cpp
[ 13%] Building CXX object src/core/CMakeFiles/clucene-core.dir/CLucene/queryParser/FastCharStream.o
[ 13%] Building CXX object src/core/CMakeFiles/clucene-core.dir/CLucene/util/BitSet.o
[ 13%] Building CXX object src/core/CMakeFiles/clucene-core.dir/CLucene/queryParser/QueryParser.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-core.dir/CLucene/util/StringIntern.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/util/StringIntern.cpp
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-core.dir/CLucene/util/BitSet.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/util/BitSet.cpp
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-core.dir/CLucene/queryParser/FastCharStream.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/FastCharStream.cpp
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-core.dir/CLucene/queryParser/MultiFieldQueryParser.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/MultiFieldQueryParser.cpp
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-core.dir/CLucene/queryParser/QueryParser.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParser.cpp
[ 14%] Building CXX object src/core/CMakeFiles/clucene-core.dir/CLucene/queryParser/QueryParserTokenManager.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-core.dir/CLucene/queryParser/QueryParserTokenManager.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp
[ 14%] Building CXX object src/core/CMakeFiles/clucene-core.dir/CLucene/queryParser/QueryToken.o
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/util/MD5Digester.cpp:85:29: warning: size argument in 'strncat' call appears to be size of the source [-Wstrncat-size]
                strncat(chBuffer, chEach, sizeof(chEach));
                                          ^~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/util/MD5Digester.cpp:85:29: note: change the argument to be the free space in the destination buffer minus the terminating null byte
                strncat(chBuffer, chEach, sizeof(chEach));
                                          ^~~~~~~~~~~~~~
                                          sizeof(chBuffer) - strlen(chBuffer) - 1
1 warning generated.
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-core.dir/CLucene/queryParser/QueryToken.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryToken.cpp
[ 14%] Building CXX object src/core/CMakeFiles/clucene-core.dir/CLucene/queryParser/legacy/Lexer.o
cd /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/core && /usr/lib/ccache/bin/clang++ -DMAKE_CLUCENE_CORE_LIB -Dclucene_core_EXPORTS -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared -I/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core  -DNDEBUG -march=znver2 -O2 -pipe -fPIC    -D_REENTRANT -D_UCS2 -D_UNICODE -o CMakeFiles/clucene-core.dir/CLucene/queryParser/legacy/Lexer.o -c /tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/legacy/Lexer.cpp
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParser.cpp:82:176: error: constant expression evaluates to 2147483648 which cannot be narrowed to type 'int32_t' (aka 'int') [-Wc++11-narrowing]
const int32_t QueryParser::jj_la1_0[] = {0x180,0x180,0xe00,0xe00,0x1f69f80,0x48000,0x10000,0x1f69000,0x1348000,0x80000,0x80000,0x10000,0x18000000,0x2000000,0x18000000,0x10000,0x80000000,0x20000000,0x80000000,0x10000,0x80000,0x10000,0x1f68000};
                                                                                                                                                                               ^~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParser.cpp:82:176: note: insert an explicit cast to silence this issue
const int32_t QueryParser::jj_la1_0[] = {0x180,0x180,0xe00,0xe00,0x1f69f80,0x48000,0x10000,0x1f69000,0x1348000,0x80000,0x80000,0x10000,0x18000000,0x2000000,0x18000000,0x10000,0x80000000,0x20000000,0x80000000,0x10000,0x80000,0x10000,0x1f68000};
                                                                                                                                                                               ^~~~~~~~~~
                                                                                                                                                                               static_cast<int32_t>( )
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParser.cpp:82:198: error: constant expression evaluates to 2147483648 which cannot be narrowed to type 'int32_t' (aka 'int') [-Wc++11-narrowing]
const int32_t QueryParser::jj_la1_0[] = {0x180,0x180,0xe00,0xe00,0x1f69f80,0x48000,0x10000,0x1f69000,0x1348000,0x80000,0x80000,0x10000,0x18000000,0x2000000,0x18000000,0x10000,0x80000000,0x20000000,0x80000000,0x10000,0x80000,0x10000,0x1f68000};
                                                                                                                                                                                                     ^~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParser.cpp:82:198: note: insert an explicit cast to silence this issue
const int32_t QueryParser::jj_la1_0[] = {0x180,0x180,0xe00,0xe00,0x1f69f80,0x48000,0x10000,0x1f69000,0x1348000,0x80000,0x80000,0x10000,0x18000000,0x2000000,0x18000000,0x10000,0x80000000,0x20000000,0x80000000,0x10000,0x80000,0x10000,0x1f68000};
                                                                                                                                                                                                     ^~~~~~~~~~
                                                                                                                                                                                                     static_cast<int32_t>( )
2 errors generated.
make[2]: *** [src/core/CMakeFiles/clucene-core.dir/build.make:225: src/core/CMakeFiles/clucene-core.dir/CLucene/queryParser/QueryParser.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/util/Reader.cpp:208:6: warning: '~JStreamsBuffer' has a non-throwing exception specification but can still throw [-Wexceptions]
                                        _CLTHROWA(CL_ERR_IO, "File IO Close error");
                                        ^
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/debug/error.h:94:33: note: expanded from macro '_CLTHROWA'
 #define _CLTHROWA(number, str) throw CLuceneError(number, str,false)
                                ^
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/util/Reader.cpp:205:3: note: destructor has a implicit non-throwing exception specification
                ~JStreamsBuffer(){
                ^
1 warning generated.
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:18:65: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'int64_t' (aka 'long') [-Wc++11-narrowing]
const int64_t QueryParserTokenManager::jjbitVec2[]={0x0L, 0x0L, _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)};
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CLucene/_clucene-config.h:57:23: note: expanded from macro '_ILONGLONG'
#define _ILONGLONG(x) x ## LL
                      ^~~~~~~
<scratch space>:671:1: note: expanded from here
0xffffffffffffffffLL
^~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:18:65: note: insert an explicit cast to silence this issue
const int64_t QueryParserTokenManager::jjbitVec2[]={0x0L, 0x0L, _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)};
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                static_cast<int64_t>(         )
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CLucene/_clucene-config.h:57:23: note: expanded from macro '_ILONGLONG'
#define _ILONGLONG(x) x ## LL
                      ^~~~~~~
<scratch space>:671:1: note: expanded from here
0xffffffffffffffffLL
^~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:18:97: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'int64_t' (aka 'long') [-Wc++11-narrowing]
const int64_t QueryParserTokenManager::jjbitVec2[]={0x0L, 0x0L, _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)};
                                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CLucene/_clucene-config.h:57:23: note: expanded from macro '_ILONGLONG'
#define _ILONGLONG(x) x ## LL
                      ^~~~~~~
<scratch space>:672:1: note: expanded from here
0xffffffffffffffffLL
^~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:18:97: note: insert an explicit cast to silence this issue
const int64_t QueryParserTokenManager::jjbitVec2[]={0x0L, 0x0L, _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)};
                                                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                                static_cast<int64_t>(         )
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CLucene/_clucene-config.h:57:23: note: expanded from macro '_ILONGLONG'
#define _ILONGLONG(x) x ## LL
                      ^~~~~~~
<scratch space>:672:1: note: expanded from here
0xffffffffffffffffLL
^~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:20:2: error: constant expression evaluates to 18446744073709551614 which cannot be narrowed to type 'int64_t' (aka 'long') [-Wc++11-narrowing]
        _ILONGLONG(0xfffffffffffffffe), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CLucene/_clucene-config.h:57:23: note: expanded from macro '_ILONGLONG'
#define _ILONGLONG(x) x ## LL
                      ^~~~~~~
<scratch space>:673:1: note: expanded from here
0xfffffffffffffffeLL
^~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:20:2: note: insert an explicit cast to silence this issue
        _ILONGLONG(0xfffffffffffffffe), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        static_cast<int64_t>(         )
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CLucene/_clucene-config.h:57:23: note: expanded from macro '_ILONGLONG'
#define _ILONGLONG(x) x ## LL
                      ^~~~~~~
<scratch space>:673:1: note: expanded from here
0xfffffffffffffffeLL
^~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:20:34: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'int64_t' (aka 'long') [-Wc++11-narrowing]
        _ILONGLONG(0xfffffffffffffffe), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CLucene/_clucene-config.h:57:23: note: expanded from macro '_ILONGLONG'
#define _ILONGLONG(x) x ## LL
                      ^~~~~~~
<scratch space>:2:1: note: expanded from here
0xffffffffffffffffLL
^~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:20:34: note: insert an explicit cast to silence this issue
        _ILONGLONG(0xfffffffffffffffe), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                        static_cast<int64_t>(         )
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CLucene/_clucene-config.h:57:23: note: expanded from macro '_ILONGLONG'
#define _ILONGLONG(x) x ## LL
                      ^~~~~~~
<scratch space>:2:1: note: expanded from here
0xffffffffffffffffLL
^~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:20:66: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'int64_t' (aka 'long') [-Wc++11-narrowing]
        _ILONGLONG(0xfffffffffffffffe), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CLucene/_clucene-config.h:57:23: note: expanded from macro '_ILONGLONG'
#define _ILONGLONG(x) x ## LL
                      ^~~~~~~
<scratch space>:3:1: note: expanded from here
0xffffffffffffffffLL
^~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:20:66: note: insert an explicit cast to silence this issue
        _ILONGLONG(0xfffffffffffffffe), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                        static_cast<int64_t>(         )
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CLucene/_clucene-config.h:57:23: note: expanded from macro '_ILONGLONG'
#define _ILONGLONG(x) x ## LL
                      ^~~~~~~
<scratch space>:3:1: note: expanded from here
0xffffffffffffffffLL
^~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:20:98: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'int64_t' (aka 'long') [-Wc++11-narrowing]
        _ILONGLONG(0xfffffffffffffffe), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)
                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CLucene/_clucene-config.h:57:23: note: expanded from macro '_ILONGLONG'
#define _ILONGLONG(x) x ## LL
                      ^~~~~~~
<scratch space>:4:1: note: expanded from here
0xffffffffffffffffLL
^~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:20:98: note: insert an explicit cast to silence this issue
        _ILONGLONG(0xfffffffffffffffe), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)
                                                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                                                        static_cast<int64_t>(         )
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build/src/shared/CLucene/_clucene-config.h:57:23: note: expanded from macro '_ILONGLONG'
#define _ILONGLONG(x) x ## LL
                      ^~~~~~~
<scratch space>:4:1: note: expanded from here
0xffffffffffffffffLL
^~~~~~~~~~~~~~~~~~~~
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:547:62: warning: unsequenced modification and access to 'jjnewStateCnt' [-Wunsequenced]
                if ((i = jjnewStateCnt) == (startsAt = 36 - (jjnewStateCnt = startsAt)))
                         ~~~~~~~~~~~~~                                     ^
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:759:61: warning: unsequenced modification and access to 'jjnewStateCnt' [-Wunsequenced]
                if ((i = jjnewStateCnt) == (startsAt = 7 - (jjnewStateCnt = startsAt)))
                         ~~~~~~~~~~~~~                                    ^
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:857:61: warning: unsequenced modification and access to 'jjnewStateCnt' [-Wunsequenced]
                if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt)))
                         ~~~~~~~~~~~~~                                    ^
/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:1069:61: warning: unsequenced modification and access to 'jjnewStateCnt' [-Wunsequenced]
                if ((i = jjnewStateCnt) == (startsAt = 7 - (jjnewStateCnt = startsAt)))
                         ~~~~~~~~~~~~~                                    ^
4 warnings and 6 errors generated.
make[2]: *** [src/core/CMakeFiles/clucene-core.dir/build.make:238: src/core/CMakeFiles/clucene-core.dir/CLucene/queryParser/QueryParserTokenManager.o] Error 1
make[2]: Leaving directory '/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build'
make[1]: *** [CMakeFiles/Makefile2:267: src/core/CMakeFiles/clucene-core.dir/all] Error 2
make[1]: Leaving directory '/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build'
make: *** [Makefile:160: all] Error 2
 * ERROR: dev-cpp/clucene-2.3.3.4-r6::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-cpp/clucene-2.3.3.4-r6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-cpp/clucene-2.3.3.4-r6::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/dev-cpp/clucene-2.3.3.4-r6:20210214-133839.log.gz'.
 * For convenience, a symlink to the build log is located at '/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/temp/build.log.gz'.
 * The ebuild environment file is located at '/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/temp/environment'.
 * Working directory: '/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-2.3.3.4_build'
 * S: '/tmp/portage/dev-cpp/clucene-2.3.3.4-r6/work/clucene-core-2.3.3.4'

Error messages:

src/core/CLucene/queryParser/QueryParserTokenManager.cpp:18:65: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'int64_t' (aka 'long') [-Wc++11-narrowing]
src/core/CLucene/queryParser/QueryParserTokenManager.cpp:20:2: error: constant expression evaluates to 18446744073709551614 which cannot be narrowed to type 'int64_t' (aka 'long') [-Wc++11-narrowing]
src/core/CLucene/queryParser/QueryParserTokenManager.cpp:20:34: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'int64_t' (aka 'long') [-Wc++11-narrowing]
src/core/CLucene/queryParser/QueryParserTokenManager.cpp:20:66: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'int64_t' (aka 'long') [-Wc++11-narrowing]
src/core/CLucene/queryParser/QueryParserTokenManager.cpp:20:98: error: constant expression evaluates to 18446744073709551615 which cannot be narrowed to type 'int64_t' (aka 'long') [-Wc++11-narrowing]
src/core/CLucene/queryParser/QueryParser.cpp:82:176: error: constant expression evaluates to 2147483648 which cannot be narrowed to type 'int32_t' (aka 'int') [-Wc++11-narrowing]
src/core/CLucene/queryParser/QueryParser.cpp:82:198: error: constant expression evaluates to 2147483648 which cannot be narrowed to type 'int32_t' (aka 'int') [-Wc++11-narrowing]
@yingopq
Copy link

yingopq commented Oct 25, 2022

In my local lab, also see these errors on mipsisa64r6el.
The compile environment is QEMU-user-based Arch Linux (MIPS R6) Docker image, docker version is 20.10.12, gcc version 12.1.1 20220730 (GCC).

Total 4 errors:

/opt/jenkins_home/workspace/ciBuilds_clucene/clucene/src/core/CLucene/queryParser/QueryParserTokenManager.cpp:18:76: error: narrowing conversion of ‘18446744073709551615’ from ‘long long unsigned int’ to ‘int64_t’ {aka ‘long int’} [-Wnarrowing]
12:27:06     18 | const int64_t QueryParserTokenManager::jjbitVec2[]={0x0L, 0x0L, _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)};
/opt/jenkins_home/workspace/ciBuilds_clucene/clucene/src/core/CLucene/queryParser/QueryParser.cpp:82:176: error: narrowing conversion of ‘2147483648’ from ‘unsigned int’ to ‘int32_t’ {aka ‘int’} [-Wnarrowing]
12:27:09     82 | const int32_t QueryParser::jj_la1_0[] = {0x180,0x180,0xe00,0xe00,0x1f69f80,0x48000,0x10000,0x1f69000,0x1348000,0x80000,0x80000,0x10000,0x18000000,0x2000000,0x18000000,0x10000,0x80000000,0x20000000,0x80000000,0x10000,0x80000,0x10000,0x1f68000};

in addition to the two mentioned above, there are two more:

/opt/jenkins_home/workspace/ciBuilds_clucene/clucene/src/core/CLucene/analysis/standard/StandardTokenizer.cpp:192:24: error: cannot convert ‘bool’ to ‘lucene::analysis::Token*’ in return
12:27:10    192 |                 return false;
12:27:10        |                        ^~~~~

/opt/jenkins_home/workspace/ciBuilds_clucene/clucene/src/core/CLucene/analysis/standard/StandardTokenizer.cpp:192:24: error: cannot convert ‘bool’ to ‘lucene::analysis::Token*’ in return
12:27:10    192 |                 return false;
12:27:10        |                        ^~~~~
/home/jenkins/clucene/src/core/CLucene/document/DateTools.cpp:188:8: error: invalid use of incomplete type 'struct tm'
  188 |     ptm->tm_min = 59;
      |        ^~

and when i fixed it with the following patch, can make sucessful.
fix error 1: changed to uint64_t
fix error 2: changed to int64_t
fix error 3: changed to NULL
fix error 4: add header file #include <time.h>

diff --git a/src/core/CLucene/analysis/standard/StandardTokenizer.cpp b/src/core/CLucene/analysis/standard/StandardTokenizer.cpp
index 3fe61ba..903819a 100644
--- a/src/core/CLucene/analysis/standard/StandardTokenizer.cpp
+++ b/src/core/CLucene/analysis/standard/StandardTokenizer.cpp
@@ -189,7 +189,7 @@ CL_NS_DEF2(analysis,standard)
                //if a number is too long, i would say there is no point
                //storing it, because its going to be the wrong number anyway?
                //what do people think?
-               return false; 
+               return NULL;
        }
     str.appendChar(prev);
 
@@ -221,7 +221,7 @@ CL_NS_DEF2(analysis,standard)
     if (!EOS) {
       if (DECIMAL) {
                if (  str.len >= LUCENE_MAX_WORD_LEN )
-                       return false; //read above for rationale
+                       return NULL; //read above for rationale
         str.appendChar(ch);
       } else {
         unReadChar();
@@ -250,7 +250,7 @@ CL_NS_DEF2(analysis,standard)
     /* If all we have left is a negative sign, it's not a valid number. */
     if (rightmost == '-') {
       CND_PRECONDITION (str.len == 1, "Number is invalid");
-      return false;
+      return NULL;
     }
 
          return setToken(t,&str,tokenType);
diff --git a/src/core/CLucene/document/DateTools.cpp b/src/core/CLucene/document/DateTools.cpp
index 06c2e95..0f8005b 100644
--- a/src/core/CLucene/document/DateTools.cpp
+++ b/src/core/CLucene/document/DateTools.cpp
@@ -6,6 +6,7 @@
 ------------------------------------------------------------------------------*/
 #include "CLucene/_ApiHeader.h"
 
+#include <time.h>
 #include "DateTools.h"
 #include "CLucene/util/Misc.h"
 
diff --git a/src/core/CLucene/queryParser/QueryParser.cpp b/src/core/CLucene/queryParser/QueryParser.cpp
index d0986c9..9ec670e 100644
--- a/src/core/CLucene/queryParser/QueryParser.cpp
+++ b/src/core/CLucene/queryParser/QueryParser.cpp
@@ -79,8 +79,8 @@ const TCHAR* QueryParserConstants::tokenImage[] = {
     _T("<RANGEEX_GOOP>")
 };
 
-const int32_t QueryParser::jj_la1_0[] = {0x180,0x180,0xe00,0xe00,0x1f69f80,0x48000,0x10000,0x1f69000,0x1348000,0x80000,0x80000,0x10000,0x18000000,0x2000000,0x18000000,0x10000,0x80000000,0x20000000,0x80000000,0x10000,0x80000,0x10000,0x1f68000};
-const int32_t QueryParser::jj_la1_1[] = {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x0,0x0,0x0,0x0};
+const int64_t QueryParser::jj_la1_0[] = {0x180,0x180,0xe00,0xe00,0x1f69f80,0x48000,0x10000,0x1f69000,0x1348000,0x80000,0x80000,0x10000,0x18000000,0x2000000,0x18000000,0x10000,0x80000000,0x20000000,0x80000000,0x10000,0x80000,0x10000,0x1f68000};
+const int64_t QueryParser::jj_la1_1[] = {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x0,0x0,0x0,0x0};
 
 struct QueryParser::JJCalls {
 public:
diff --git a/src/core/CLucene/queryParser/QueryParser.h b/src/core/CLucene/queryParser/QueryParser.h
index 3ca5c55..064ffe4 100644
--- a/src/core/CLucene/queryParser/QueryParser.h
+++ b/src/core/CLucene/queryParser/QueryParser.h
@@ -477,8 +477,8 @@ private:
   bool jj_semLA;
   int32_t jj_gen;
   int32_t jj_la1[23];
-  static const int32_t jj_la1_0[];
-  static const int32_t jj_la1_1[];
+  static const int64_t jj_la1_0[];
+  static const int64_t jj_la1_1[];
   JJCalls* jj_2_rtns;
   bool jj_rescan;
   int32_t jj_gc;
diff --git a/src/core/CLucene/queryParser/QueryParserTokenManager.cpp b/src/core/CLucene/queryParser/QueryParserTokenManager.cpp
index fead9b0..10e2038 100644
--- a/src/core/CLucene/queryParser/QueryParserTokenManager.cpp
+++ b/src/core/CLucene/queryParser/QueryParserTokenManager.cpp
@@ -15,8 +15,8 @@
 
 CL_NS_DEF(queryParser)
 
-const int64_t QueryParserTokenManager::jjbitVec2[]={0x0L, 0x0L, _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)};
-const int64_t QueryParserTokenManager::jjbitVec0[] = {
+const uint64_t QueryParserTokenManager::jjbitVec2[]={0x0L, 0x0L, _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)};
+const uint64_t QueryParserTokenManager::jjbitVec0[] = {
        _ILONGLONG(0xfffffffffffffffe), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff), _ILONGLONG(0xffffffffffffffff)
 };
 const int32_t QueryParserTokenManager::jjnextStates[]={
diff --git a/src/core/CLucene/queryParser/QueryParserTokenManager.h b/src/core/CLucene/queryParser/QueryParserTokenManager.h
index 834c324..8e5c7dc 100644
--- a/src/core/CLucene/queryParser/QueryParserTokenManager.h
+++ b/src/core/CLucene/queryParser/QueryParserTokenManager.h
@@ -35,8 +35,8 @@ private:
        void jjCheckNAddStates(int32_t start, const int32_t end);
        void jjCheckNAddStates(const int32_t start);
 
-       static const int64_t jjbitVec0[];
-       static const int64_t jjbitVec2[];
+       static const uint64_t jjbitVec0[];
+       static const uint64_t jjbitVec2[];
 
        int32_t jjMoveNfa_3(const int32_t startState, int32_t curPos);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants