-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Solaris x86 build fails #372
Comments
Hi @idgn23! I think the problem is: |
Hi Bellow the configure output with the studio compiler. I have specified
OpenCSW provides CPU optimizied binaries and this is the reason, why we specify the CPU architecture for configure. At execution, the isaexec framework ensures that the best binary is executed on the target CPU https://www.opencsw.org/manual/for-maintainers/32-bit-and-64-bit.html. With |
Good to hear the Configure output contains:
Would you mind checking if the order of |
Not sure for what I have to look for in You should have access to the build machine. Just ssh to |
I'll have a look next week 👍. When I did the x86 build it worked. Let me know the exact environment preparation steps for this build and I'll give it go (probably best via email). |
I have tested NSD only on Solaris SPARC and noticed now that simdzone fails von Solaris x86.
Studio:
==> Running make in work/solaris10-i386/build-isa-pentium_pro/nsd-4.10.1 cd work/solaris10-i386/build-isa-pentium_pro/nsd-4.10.1 && /usr/bin/env -i HOME="/home/ihsan" PATH="/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/install-isa-pentium_pro/opt/csw/bin:/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/install-isa-pentium_pro/opt/csw/bin:/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/install-isa-pentium_pro/opt/csw/sbin:/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/install-isa-pentium_pro/opt/csw/sbin:/opt/csw/bin:/opt/csw/bin:/opt/csw/sbin:/opt/csw/sbin:/opt/developerstudio12.6/bin:/home/ihsan/opencsw/.buildsys/v2/gar/bin:/usr/bin:/usr/sbin:/usr/java/bin:/usr/ccs/bin:/usr/openwin/bin" LC_ALL="C" prefix="/opt/csw" exec_prefix="/opt/csw" bindir="/opt/csw/bin" sbindir="/opt/csw/sbin" libexecdir="/opt/csw/libexec" datadir="/opt/csw/share" sysconfdir="/etc/opt/csw" sharedstatedir="/opt/csw/share" localstatedir="/var/opt/csw" libdir="/opt/csw/lib" infodir="/opt/csw/share/info" lispdir="/opt/csw/share/emacs/site-lisp" includedir="/opt/csw/include" mandir="/opt/csw/share/man" docdir="/opt/csw/share/doc" sourcedir="/opt/csw/src" CPPFLAGS="-I/opt/csw/include" CFLAGS="-xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro" CXXFLAGS="-xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro" LDFLAGS="-m32 -xarch=pentium_pro -xchip=pentium_pro -L/opt/csw/lib" FFLAGS="-xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro" FCFLAGS="-xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro" F77="" FC="/opt/developerstudio12.6/bin/f95" ASFLAGS="" OPTFLAGS="-xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro" CC="/opt/developerstudio12.6/bin/cc" CXX="/opt/developerstudio12.6/bin/CC" CC_HOME="/opt/developerstudio12.6" CC_VERSION="" CXX_VERSION="Studio 12.6 Sun C++ 5.15 SunOS_i386 Patch 152716-04 2019/08/06" GARCH="i386" GAROSREL="5.10" GARPACKAGE="trunk" LD_OPTIONS="-R/opt/csw/lib/\$ISALIST -R/opt/csw/lib -M /home/ihsan/opencsw/.buildsys/v2/gar/lib/map.solaris10 -B direct -z ignore" MAKEFLAGS= gmake -I/home/ihsan/opencsw/.buildsys/v2 -C . gmake: Entering directory '/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/build-isa-pentium_pro/nsd-4.10.1' gmake -C simdzone gmake[1]: Entering directory '/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/build-isa-pentium_pro/nsd-4.10.1/simdzone' /opt/developerstudio12.6/bin/cc -xMMD -I/opt/csw/include -I./include -I./src -I. -xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro -o src/zone.o -c ./src/zone.c /opt/developerstudio12.6/bin/cc -xMMD -I/opt/csw/include -I./include -I./src -I. -xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro -o src/fallback/parser.o -c ./src/fallback/parser.c /opt/developerstudio12.6/bin/cc -xMMD -I/opt/csw/include -I./include -I./src -I. -xO3 -m32 -xarch=pentium_pro -xchip=pentium_pro -march=westmere -o src/westmere/parser.o -c ./src/westmere/parser.c "./src/westmere/bits.h", line 26: [write_indexes]:ube: error: Intrinsic _mm_popcnt_u64 is valid in 64-bit mode only "./src/westmere/bits.h", line 26: [write_indexes]:ube: error: Intrinsic _mm_popcnt_u64 is valid in 64-bit mode only "./src/westmere/bits.h", line 26: [write_indexes]:ube: error: Intrinsic _mm_popcnt_u64 is valid in 64-bit mode only "./src/westmere/bits.h", line 26: [write_indexes]:ube: error: Intrinsic _mm_popcnt_u64 is valid in 64-bit mode only "./src/westmere/bits.h", line 26: [write_indexes]:ube: error: Intrinsic _mm_popcnt_u64 is valid in 64-bit mode only "./src/westmere/bits.h", line 26: [write_indexes]:ube: error: Intrinsic _mm_popcnt_u64 is valid in 64-bit mode only "./src/westmere/bits.h", line 26: [write_indexes]:ube: error: Intrinsic _mm_popcnt_u64 is valid in 64-bit mode only "./src/westmere/bits.h", line 26: [write_indexes]:ube: error: Intrinsic _mm_popcnt_u64 is valid in 64-bit mode only cc: ube failed for ./src/westmere/parser.c gmake[1]: *** [Makefile:67: src/westmere/parser.o] Error 2 gmake[1]: Leaving directory '/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/build-isa-pentium_pro/nsd-4.10.1/simdzone' gmake: *** [Makefile:166: simdzone/libzone.a] Error 2 gmake: Leaving directory '/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/build-isa-pentium_pro/nsd-4.10.1' gmake[1]: *** [/home/ihsan/opencsw/.buildsys/v2/gar//gar.lib.mk:908: build-work/solaris10-i386/build-isa-pentium_pro/nsd-4.10.1/Makefile] Error 2 gmake[1]: Leaving directory '/home/ihsan/opencsw/nsd/trunk' gmake: *** [gar/gar.mk:202: merge-isa-pentium_pro] Error 2
GCC:
==> Running make in work/solaris10-i386/build-isa-pentium_pro/nsd-4.10.1 cd work/solaris10-i386/build-isa-pentium_pro/nsd-4.10.1 && /usr/bin/env -i HOME="/home/ihsan" PATH="/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/install-isa-pentium_pro/opt/csw/bin:/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/install-isa-pentium_pro/opt/csw/bin:/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/install-isa-pentium_pro/opt/csw/sbin:/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/install-isa-pentium_pro/opt/csw/sbin:/opt/csw/bin:/opt/csw/bin:/opt/csw/sbin:/opt/csw/sbin:/opt/csw/bin:/home/ihsan/opencsw/.buildsys/v2/gar/bin:/usr/bin:/usr/sbin:/usr/java/bin:/usr/ccs/bin:/usr/openwin/bin" LC_ALL="C" prefix="/opt/csw" exec_prefix="/opt/csw" bindir="/opt/csw/bin" sbindir="/opt/csw/sbin" libexecdir="/opt/csw/libexec" datadir="/opt/csw/share" sysconfdir="/etc/opt/csw" sharedstatedir="/opt/csw/share" localstatedir="/var/opt/csw" libdir="/opt/csw/lib" infodir="/opt/csw/share/info" lispdir="/opt/csw/share/emacs/site-lisp" includedir="/opt/csw/include" mandir="/opt/csw/share/man" docdir="/opt/csw/share/doc" sourcedir="/opt/csw/src" CPPFLAGS="-I/opt/csw/include" CFLAGS="-O2 -pipe -fno-omit-frame-pointer -m32 -march=pentiumpro" CXXFLAGS="-O2 -pipe -fno-omit-frame-pointer -m32 -march=pentiumpro" LDFLAGS="-m32 -march=pentiumpro -L/opt/csw/lib" FFLAGS="-O2 -pipe -fno-omit-frame-pointer -m32 -march=pentiumpro" FCFLAGS="-O2 -pipe -fno-omit-frame-pointer -m32 -march=pentiumpro" F77="/opt/csw/bin/gfortran-5.5" FC="/opt/csw/bin/gfortran-5.5" ASFLAGS="" OPTFLAGS="-O2 -pipe -fno-omit-frame-pointer -m32 -march=pentiumpro" CC="/opt/csw/bin/gcc-5.5" CXX="/opt/csw/bin/g++-5.5" CC_HOME="/opt/csw" CC_VERSION="gcc version 5.5.0 (GCC) " CXX_VERSION="gcc version 5.5.0 (GCC) " GARCH="i386" GAROSREL="5.10" GARPACKAGE="trunk" LD_OPTIONS="-R/opt/csw/lib/\$ISALIST -R/opt/csw/lib -M /home/ihsan/opencsw/.buildsys/v2/gar/lib/map.solaris10 -B direct -z ignore" MAKEFLAGS= gmake -I/home/ihsan/opencsw/.buildsys/v2 -C . gmake: Entering directory '/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/build-isa-pentium_pro/nsd-4.10.1' gmake -C simdzone gmake[1]: Entering directory '/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/build-isa-pentium_pro/nsd-4.10.1/simdzone' /opt/csw/bin/gcc-5.5 -MMD -MP -I/opt/csw/include -I./include -I./src -I. -O2 -pipe -fno-omit-frame-pointer -m32 -march=pentiumpro -o src/zone.o -c ./src/zone.c /opt/csw/bin/gcc-5.5 -MMD -MP -I/opt/csw/include -I./include -I./src -I. -O2 -pipe -fno-omit-frame-pointer -m32 -march=pentiumpro -o src/fallback/parser.o -c ./src/fallback/parser.c /opt/csw/bin/gcc-5.5 -MMD -MP -I/opt/csw/include -I./include -I./src -I. -O2 -pipe -fno-omit-frame-pointer -m32 -march=pentiumpro -march=westmere -o src/westmere/parser.o -c ./src/westmere/parser.c In file included from ./src/westmere/parser.c:14:0: ./src/westmere/bits.h: In function 'count_ones': ./src/westmere/bits.h:26:20: warning: implicit declaration of function '_mm_popcnt_u64' [-Wimplicit-function-declaration] return (uint64_t)_mm_popcnt_u64(input_num); ^ ./src/westmere/bits.h: In function 'prefix_xor': ./src/westmere/bits.h:62:20: warning: implicit declaration of function '_mm_cvtsi128_si64' [-Wimplicit-function-declaration] return (uint64_t)_mm_cvtsi128_si64(result); ^ In file included from ./src/westmere/parser.c:19:0: ./src/westmere/time.h: In function 'sse_parse_time': ./src/westmere/time.h:92:27: warning: implicit declaration of function '_mm_extract_epi64' [-Wimplicit-function-declaration] uint64_t hi = (uint64_t)_mm_extract_epi64(v, 1); ^ {standard input}: Assembler messages: {standard input}:11503: Error: invalid instruction suffix for
bsf'{standard input}:11513: Error: invalid instruction suffix for
bsf' {standard input}:11606: Error: invalid instruction suffix for
bsf'{standard input}:11615: Error: invalid instruction suffix for
bsf' {standard input}:11666: Error: invalid instruction suffix for
bsf'{standard input}:11677: Error: invalid instruction suffix for
bsf' {standard input}:11737: Error: invalid instruction suffix for
bsf'{standard input}:11749: Error: invalid instruction suffix for
bsf' {standard input}:11870: Error: invalid instruction suffix for
bsf'{standard input}:12926: Error: invalid instruction suffix for
bsf' {standard input}:12937: Error: invalid instruction suffix for
bsf'{standard input}:12983: Error: invalid instruction suffix for
bsf' {standard input}:12992: Error: invalid instruction suffix for
bsf'{standard input}:13042: Error: invalid instruction suffix for
bsf' {standard input}:13053: Error: invalid instruction suffix for
bsf'{standard input}:13140: Error: invalid instruction suffix for
bsf' {standard input}:13154: Error: invalid instruction suffix for
bsf'{standard input}:13275: Error: invalid instruction suffix for
bsf' {standard input}:15466: Error: invalid instruction suffix for
bsf'{standard input}:15476: Error: invalid instruction suffix for
bsf' {standard input}:15525: Error: invalid instruction suffix for
bsf'{standard input}:15534: Error: invalid instruction suffix for
bsf' {standard input}:15696: Error: invalid instruction suffix for
bsf'{standard input}:15707: Error: invalid instruction suffix for
bsf' {standard input}:15767: Error: invalid instruction suffix for
bsf'{standard input}:15779: Error: invalid instruction suffix for
bsf' {standard input}:15900: Error: invalid instruction suffix for
bsf'{standard input}:16854: Error: invalid instruction suffix for
bsf' {standard input}:16865: Error: invalid instruction suffix for
bsf'{standard input}:16911: Error: invalid instruction suffix for
bsf' {standard input}:16920: Error: invalid instruction suffix for
bsf'{standard input}:16970: Error: invalid instruction suffix for
bsf' {standard input}:16981: Error: invalid instruction suffix for
bsf'{standard input}:17091: Error: invalid instruction suffix for
bsf' {standard input}:17105: Error: invalid instruction suffix for
bsf'{standard input}:17275: Error: invalid instruction suffix for
bsf' {standard input}:24887: Error: invalid instruction suffix for
bsr'{standard input}:26167: Error: invalid instruction suffix for
bsf' {standard input}:26409: Error: invalid instruction suffix for
bsr'{standard input}:28062: Error: invalid instruction suffix for
bsf' {standard input}:28087: Error: invalid instruction suffix for
bsf'{standard input}:28234: Error: invalid instruction suffix for
bsf' {standard input}:28280: Error: invalid instruction suffix for
bsf'{standard input}:29503: Error: invalid instruction suffix for
bsf' {standard input}:29524: Error: invalid instruction suffix for
bsf'{standard input}:29728: Error: invalid instruction suffix for
bsf' {standard input}:29772: Error: invalid instruction suffix for
bsf'{standard input}:34508: Error: invalid instruction suffix for
bsf' {standard input}:34518: Error: invalid instruction suffix for
bsf'{standard input}:34567: Error: invalid instruction suffix for
bsf' {standard input}:34576: Error: invalid instruction suffix for
bsf'{standard input}:34739: Error: invalid instruction suffix for
bsf' {standard input}:34750: Error: invalid instruction suffix for
bsf'{standard input}:34810: Error: invalid instruction suffix for
bsf' {standard input}:34822: Error: invalid instruction suffix for
bsf'{standard input}:34943: Error: invalid instruction suffix for
bsf' {standard input}:35901: Error: invalid instruction suffix for
bsf'{standard input}:35912: Error: invalid instruction suffix for
bsf' {standard input}:35958: Error: invalid instruction suffix for
bsf'{standard input}:35967: Error: invalid instruction suffix for
bsf' {standard input}:36017: Error: invalid instruction suffix for
bsf'{standard input}:36028: Error: invalid instruction suffix for
bsf' {standard input}:36126: Error: invalid instruction suffix for
bsf'{standard input}:36140: Error: invalid instruction suffix for
bsf' {standard input}:36269: Error: invalid instruction suffix for
bsf'{standard input}:37134: Error: invalid instruction suffix for
bsf' {standard input}:37144: Error: invalid instruction suffix for
bsf'{standard input}:37193: Error: invalid instruction suffix for
bsf' {standard input}:37202: Error: invalid instruction suffix for
bsf'{standard input}:37368: Error: invalid instruction suffix for
bsf' {standard input}:37379: Error: invalid instruction suffix for
bsf'{standard input}:37439: Error: invalid instruction suffix for
bsf' {standard input}:37451: Error: invalid instruction suffix for
bsf'{standard input}:37572: Error: invalid instruction suffix for
bsf' {standard input}:38547: Error: invalid instruction suffix for
bsf'{standard input}:38558: Error: invalid instruction suffix for
bsf' {standard input}:38604: Error: invalid instruction suffix for
bsf'{standard input}:38613: Error: invalid instruction suffix for
bsf' {standard input}:38663: Error: invalid instruction suffix for
bsf'{standard input}:38674: Error: invalid instruction suffix for
bsf' {standard input}:38748: Error: invalid instruction suffix for
bsf'{standard input}:38762: Error: invalid instruction suffix for
bsf' {standard input}:38891: Error: invalid instruction suffix for
bsf'{standard input}:39758: Error: invalid instruction suffix for
bsf' {standard input}:39768: Error: invalid instruction suffix for
bsf'{standard input}:39817: Error: invalid instruction suffix for
bsf' {standard input}:39826: Error: invalid instruction suffix for
bsf'{standard input}:39879: Error: invalid instruction suffix for
bsf' {standard input}:39890: Error: invalid instruction suffix for
bsf'{standard input}:40036: Error: invalid instruction suffix for
bsf' {standard input}:40048: Error: invalid instruction suffix for
bsf'{standard input}:40169: Error: invalid instruction suffix for
bsf' {standard input}:41123: Error: invalid instruction suffix for
bsf'{standard input}:41134: Error: invalid instruction suffix for
bsf' {standard input}:41180: Error: invalid instruction suffix for
bsf'{standard input}:41189: Error: invalid instruction suffix for
bsf' {standard input}:41239: Error: invalid instruction suffix for
bsf'{standard input}:41250: Error: invalid instruction suffix for
bsf' {standard input}:41350: Error: invalid instruction suffix for
bsf'{standard input}:41367: Error: invalid instruction suffix for
bsf' {standard input}:41485: Error: invalid instruction suffix for
bsf'{standard input}:46771: Error: invalid instruction suffix for
bsf' {standard input}:46821: Error: invalid instruction suffix for
bsf'{standard input}:47630: Error: invalid instruction suffix for
bsf' {standard input}:47654: Error: invalid instruction suffix for
bsf'{standard input}:48862: Error: invalid instruction suffix for
bsf' {standard input}:48882: Error: invalid instruction suffix for
bsf'{standard input}:49195: Error: invalid instruction suffix for
bsf' {standard input}:49240: Error: invalid instruction suffix for
bsf'{standard input}:49706: Error: invalid instruction suffix for
bsf' {standard input}:49729: Error: invalid instruction suffix for
bsf'{standard input}:49925: Error: invalid instruction suffix for
bsf' {standard input}:49977: Error: invalid instruction suffix for
bsf'{standard input}:51397: Error: invalid instruction suffix for
bsf' {standard input}:51418: Error: invalid instruction suffix for
bsf'{standard input}:51624: Error: invalid instruction suffix for
bsf' {standard input}:51662: Error: invalid instruction suffix for
bsf'{standard input}:52230: Error: invalid instruction suffix for
bsf' {standard input}:52251: Error: invalid instruction suffix for
bsf'{standard input}:52456: Error: invalid instruction suffix for
bsf' {standard input}:52501: Error: invalid instruction suffix for
bsf'{standard input}:53604: Error: invalid instruction suffix for
bsf' {standard input}:53625: Error: invalid instruction suffix for
bsf'{standard input}:53841: Error: invalid instruction suffix for
bsf' {standard input}:53885: Error: invalid instruction suffix for
bsf'{standard input}:54621: Error: invalid instruction suffix for
bsf' {standard input}:54642: Error: invalid instruction suffix for
bsf'{standard input}:54677: Error: invalid instruction suffix for
bsf' {standard input}:54722: Error: invalid instruction suffix for
bsf'{standard input}:56750: Error: invalid instruction suffix for
bsf' {standard input}:56771: Error: invalid instruction suffix for
bsf'{standard input}:56981: Error: invalid instruction suffix for
bsf' {standard input}:57019: Error: invalid instruction suffix for
bsf'{standard input}:57500: Error: invalid instruction suffix for
bsf' {standard input}:57521: Error: invalid instruction suffix for
bsf'{standard input}:57556: Error: invalid instruction suffix for
bsf' {standard input}:57594: Error: invalid instruction suffix for
bsf'{standard input}:60009: Error: invalid instruction suffix for
bsf' {standard input}:60054: Error: invalid instruction suffix for
bsf'{standard input}:60396: Error: invalid instruction suffix for
bsf' {standard input}:60418: Error: invalid instruction suffix for
bsf'{standard input}:61087: Error: invalid instruction suffix for
bsf' {standard input}:61133: Error: invalid instruction suffix for
bsf'{standard input}:61426: Error: invalid instruction suffix for
bsf' {standard input}:61455: Error: invalid instruction suffix for
bsf'{standard input}:61702: Error: invalid instruction suffix for
bsf' {standard input}:61747: Error: invalid instruction suffix for
bsf'{standard input}:61976: Error: invalid instruction suffix for
bsf' {standard input}:62000: Error: invalid instruction suffix for
bsf'{standard input}:62622: Error: invalid instruction suffix for
bsf' {standard input}:62643: Error: invalid instruction suffix for
bsf'{standard input}:62904: Error: invalid instruction suffix for
bsf' {standard input}:62941: Error: invalid instruction suffix for
bsf'{standard input}:64173: Error: invalid instruction suffix for
bsf' {standard input}:64194: Error: invalid instruction suffix for
bsf'{standard input}:64445: Error: invalid instruction suffix for
bsf' {standard input}:64489: Error: invalid instruction suffix for
bsf'{standard input}:66106: Error: invalid instruction suffix for
bsf' {standard input}:66128: Error: invalid instruction suffix for
bsf'{standard input}:66320: Error: invalid instruction suffix for
bsf' {standard input}:66365: Error: invalid instruction suffix for
bsf'{standard input}:68132: Error: invalid instruction suffix for
bsf' {standard input}:68153: Error: invalid instruction suffix for
bsf'{standard input}:68367: Error: invalid instruction suffix for
bsf' {standard input}:68418: Error: invalid instruction suffix for
bsf'{standard input}:69744: Error: invalid instruction suffix for
bsf' {standard input}:69765: Error: invalid instruction suffix for
bsf'{standard input}:70010: Error: invalid instruction suffix for
bsf' {standard input}:70061: Error: invalid instruction suffix for
bsf'{standard input}:70250: Error: invalid instruction suffix for
bsr' {standard input}:71184: Error: invalid instruction suffix for
bsf'{standard input}:71227: Error: invalid instruction suffix for
bsf' {standard input}:72891: Error: invalid instruction suffix for
bsf'{standard input}:72916: Error: invalid instruction suffix for
bsf' gmake[1]: *** [Makefile:67: src/westmere/parser.o] Error 1 gmake[1]: Leaving directory '/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/build-isa-pentium_pro/nsd-4.10.1/simdzone' gmake: *** [Makefile:166: simdzone/libzone.a] Error 2 gmake: Leaving directory '/home/ihsan/opencsw/nsd/trunk/work/solaris10-i386/build-isa-pentium_pro/nsd-4.10.1' gmake[1]: *** [/home/ihsan/opencsw/.buildsys/v2/gar//gar.lib.mk:908: build-work/solaris10-i386/build-isa-pentium_pro/nsd-4.10.1/Makefile] Error 2 gmake[1]: Leaving directory '/home/ihsan/opencsw/nsd/trunk' gmake: *** [gar/gar.mk:202: merge-isa-pentium_pro] Error 2
The text was updated successfully, but these errors were encountered: