Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jan 2017 18:32:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216553] archivers/snappy 1.1.4 don't compile on i386, 1.1.3 compiled fine
Message-ID:  <bug-216553-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216553

            Bug ID: 216553
           Summary: archivers/snappy 1.1.4 don't compile on i386, 1.1.3
                    compiled fine
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: vanilla@FreeBSD.org
          Reporter: vvd@unislabs.com
          Assignee: vanilla@FreeBSD.org
             Flags: maintainer-feedback?(vanilla@FreeBSD.org)

On amd64 compiled fine. USE_GCC=3Dyes didn't help.

Build log from i386:
=3D=3D=3D>  License BSD3CLAUSE accepted by the user
=3D=3D=3D>  Found saved configuration for snappy-1.1.3
=3D=3D=3D>   snappy-1.1.4 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by snappy-1.1.4 for building
=3D=3D=3D>  Extracting for snappy-1.1.4
=3D> SHA256 Checksum OK for google-snappy-1.1.4_GH0.tar.gz.
=3D=3D=3D>  Patching for snappy-1.1.4
=3D=3D=3D>   snappy-1.1.4 depends on executable: autoconf-2.69 - found
=3D=3D=3D>   snappy-1.1.4 depends on executable: autoheader-2.69 - found
=3D=3D=3D>   snappy-1.1.4 depends on executable: autoreconf-2.69 - found
=3D=3D=3D>   snappy-1.1.4 depends on executable: aclocal-1.15 - found
=3D=3D=3D>   snappy-1.1.4 depends on executable: automake-1.15 - found
=3D=3D=3D>   snappy-1.1.4 depends on executable: libtoolize - found
=3D=3D=3D>   snappy-1.1.4 depends on package: pkgconf>=3D0.9.10 - found
=3D=3D=3D>  Configuring for snappy-1.1.4
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:17: installing './compile'
configure.ac:17: installing './config.guess'
configure.ac:17: installing './config.sub'
configure.ac:15: installing './install-sh'
configure.ac:15: installing './missing'
/usr/local/share/automake-1.15/am/ltlibrary.am: warning: 'libsnappy.la':
linking libtool libraries using a non-POSIX
/usr/local/share/automake-1.15/am/ltlibrary.am: archiver requires 'AM_PROG_=
AR'
in 'configure.ac'
Makefile.am:4:   while processing Libtool library 'libsnappy.la'
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... i386-portbld-freebsd11.0
checking host system type... i386-portbld-freebsd11.0
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...=20
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm -B
checking the name lister (/usr/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking how to convert i386-portbld-freebsd11.0 file names to
i386-portbld-freebsd11.0 format... func_convert_file_noop
checking how to convert i386-portbld-freebsd11.0 file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/local/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=3D4096 count=3D1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cpp
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... y=
es
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd11.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... =
yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... =
yes
checking dynamic linker characteristics... freebsd11.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking for size_t... (cached) yes
checking for ssize_t... (cached) yes
checking for stdint.h... (cached) yes
checking for stddef.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for byteswap.h... (cached) no
checking sys/byteswap.h usability... no
checking sys/byteswap.h presence... no
checking for sys/byteswap.h... no
checking sys/endian.h usability... yes
checking sys/endian.h presence... yes
checking for sys/endian.h... yes
checking for sys/time.h... (cached) yes
checking for mmap... (cached) yes
checking pkg-config is at least version 0.9.0... yes
checking for gflags... no
checking if the compiler supports __builtin_expect... yes
checking if the compiler supports __builtin_ctzll... yes
checking for zlibVersion in -lz... yes
checking for lzo1x_1_15_compress in -llzo2... no
checking for lzf_compress in -llzf... no
checking for fastlz_compress in -lfastlz... no
checking for qlz_compress in -lquicklz... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating snappy-stubs-public.h
config.status: creating snappy.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=3D=3D=3D>  Building for snappy-1.1.4
--- all ---
/usr/bin/make  all-am
--- snappy.lo ---
--- snappy-sinksource.lo ---
--- snappy-stubs-internal.lo ---
--- snappy-c.lo ---
--- snappy.lo ---
/bin/sh ./libtool  --tag=3DCXX    --mode=3Dcompile c++ -DHAVE_CONFIG_H  -I.=
=20=20=20=20=20
-O2 -pipe -march=3Dprescott -DNDEBUG -fstack-protector -fno-strict-aliasing=
 -MT
snappy.lo -MD -MP -MF .deps/snappy.Tpo -c -o snappy.lo snappy.cc
--- snappy-sinksource.lo ---
/bin/sh ./libtool  --tag=3DCXX    --mode=3Dcompile c++ -DHAVE_CONFIG_H  -I.=
=20=20=20=20=20
-O2 -pipe -march=3Dprescott -DNDEBUG -fstack-protector -fno-strict-aliasing=
 -MT
snappy-sinksource.lo -MD -MP -MF .deps/snappy-sinksource.Tpo -c -o
snappy-sinksource.lo snappy-sinksource.cc
--- snappy-stubs-internal.lo ---
/bin/sh ./libtool  --tag=3DCXX    --mode=3Dcompile c++ -DHAVE_CONFIG_H  -I.=
=20=20=20=20=20
-O2 -pipe -march=3Dprescott -DNDEBUG -fstack-protector -fno-strict-aliasing=
 -MT
snappy-stubs-internal.lo -MD -MP -MF .deps/snappy-stubs-internal.Tpo -c -o
snappy-stubs-internal.lo snappy-stubs-internal.cc
--- snappy-c.lo ---
/bin/sh ./libtool  --tag=3DCXX    --mode=3Dcompile c++ -DHAVE_CONFIG_H  -I.=
=20=20=20=20=20
-O2 -pipe -march=3Dprescott -DNDEBUG -fstack-protector -fno-strict-aliasing=
 -MT
snappy-c.lo -MD -MP -MF .deps/snappy-c.Tpo -c -o snappy-c.lo snappy-c.cc
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -O2 -pipe -march=3Dprescott -DND=
EBUG
-fstack-protector -fno-strict-aliasing -MT snappy-c.lo -MD -MP -MF
.deps/snappy-c.Tpo -c snappy-c.cc  -fPIC -DPIC -o .libs/snappy-c.o
--- snappy-sinksource.lo ---
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -O2 -pipe -march=3Dprescott -DND=
EBUG
-fstack-protector -fno-strict-aliasing -MT snappy-sinksource.lo -MD -MP -MF
.deps/snappy-sinksource.Tpo -c snappy-sinksource.cc  -fPIC -DPIC -o
.libs/snappy-sinksource.o
--- snappy-stubs-internal.lo ---
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -O2 -pipe -march=3Dprescott -DND=
EBUG
-fstack-protector -fno-strict-aliasing -MT snappy-stubs-internal.lo -MD -MP=
 -MF
.deps/snappy-stubs-internal.Tpo -c snappy-stubs-internal.cc  -fPIC -DPIC -o
.libs/snappy-stubs-internal.o
--- snappy.lo ---
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -O2 -pipe -march=3Dprescott -DND=
EBUG
-fstack-protector -fno-strict-aliasing -MT snappy.lo -MD -MP -MF
.deps/snappy.Tpo -c snappy.cc  -fPIC -DPIC -o .libs/snappy.o
--- snappy-sinksource.lo ---
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -O2 -pipe -march=3Dprescott -DND=
EBUG
-fstack-protector -fno-strict-aliasing -MT snappy-sinksource.lo -MD -MP -MF
.deps/snappy-sinksource.Tpo -c snappy-sinksource.cc -o snappy-sinksource.o
>/dev/null 2>&1
mv -f .deps/snappy-sinksource.Tpo .deps/snappy-sinksource.Plo
--- snappy_unittest-snappy_unittest.o ---
c++ -DHAVE_CONFIG_H -I.      -O2 -pipe -march=3Dprescott -DNDEBUG
-fstack-protector -fno-strict-aliasing -MT snappy_unittest-snappy_unittest.o
-MD -MP -MF .deps/snappy_unittest-snappy_unittest.Tpo -c -o
snappy_unittest-snappy_unittest.o `test -f 'snappy_unittest.cc' || echo
'./'`snappy_unittest.cc
--- snappy-stubs-internal.lo ---
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -O2 -pipe -march=3Dprescott -DND=
EBUG
-fstack-protector -fno-strict-aliasing -MT snappy-stubs-internal.lo -MD -MP=
 -MF
.deps/snappy-stubs-internal.Tpo -c snappy-stubs-internal.cc -o
snappy-stubs-internal.o >/dev/null 2>&1
--- snappy-c.lo ---
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -O2 -pipe -march=3Dprescott -DND=
EBUG
-fstack-protector -fno-strict-aliasing -MT snappy-c.lo -MD -MP -MF
.deps/snappy-c.Tpo -c snappy-c.cc -o snappy-c.o >/dev/null 2>&1
--- snappy.lo ---
snappy.cc:99:3: error: unknown type name '__m128i'
  __m128i x =3D _mm_loadu_si128(static_cast<const __m128i*>(src));
  ^
snappy.cc:99:49: error: unknown type name '__m128i'
  __m128i x =3D _mm_loadu_si128(static_cast<const __m128i*>(src));
                                                ^
snappy.cc:99:15: error: use of undeclared identifier '_mm_loadu_si128'
  __m128i x =3D _mm_loadu_si128(static_cast<const __m128i*>(src));
              ^
snappy.cc:100:32: error: unknown type name '__m128i'
  _mm_storeu_si128(static_cast<__m128i*>(dst), x);
                               ^
4 errors generated.
*** [snappy.lo] Error code 1

make[3]: stopped in /usr/obj/usr/ports/archivers/snappy/work/snappy-1.1.4
--- snappy-c.lo ---
mv -f .deps/snappy-c.Tpo .deps/snappy-c.Plo
--- snappy-stubs-internal.lo ---
mv -f .deps/snappy-stubs-internal.Tpo .deps/snappy-stubs-internal.Plo
--- snappy_unittest-snappy_unittest.o ---
mv -f .deps/snappy_unittest-snappy_unittest.Tpo
.deps/snappy_unittest-snappy_unittest.Po
1 error

make[3]: stopped in /usr/obj/usr/ports/archivers/snappy/work/snappy-1.1.4
*** [all] Error code 2

make[2]: stopped in /usr/obj/usr/ports/archivers/snappy/work/snappy-1.1.4
1 error

make[2]: stopped in /usr/obj/usr/ports/archivers/snappy/work/snappy-1.1.4
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/archivers/snappy
*** Error code 1

Stop.
make: stopped in /usr/ports/archivers/snappy

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216553-13>