pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/51692: archivers/lz4 fails to compile on NetBSD evbarm due to missing -m32
>Number: 51692
>Category: pkg
>Synopsis: archivers/lz4 fails to compile on NetBSD evbarm due to missing -m32
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 05 15:10:01 +0000 2016
>Originator: nzasch
>Release: pkgsrc-2016Q3
>Organization:
esiliati.org
>Environment:
NetBSD cerambice 7.0.2 NetBSD 7.0.2 (BPI.201610210724Z) evbarm
>Description:
in a NetBSD 7.0.2 with gcc:
bash-4.4# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/lto-wrapper
Target: armv7--netbsdelf-eabihf
Configured with: /usr/7/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=armv7--netbsdelf-eabihf --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/Misc/send-pr.html --with-pkgversion='NetBSD nb2 20150115' --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-threads --enable-libstdcxx-time=rt --enable-lto --with-mpc-lib=/var/obj/mknative/evbarm-earmv7hf/usr/7/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/evbarm-earmv7hf/usr/7/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/evbarm-earmv7hf/usr/7/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/7/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/7/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/7/src/external/lgpl3/gmp/lib/libgmp/arch/earmhf --enable-tls --enable-initfini-array --disable-multilib --disable-symvers --disable-libstdcxx-pch --build=x86_64-unknown-netbsd6.0. --host=armv7--netbsdelf-eabihf --with-sysroot=/var/obj/mkn
ative/evbarm-earmv7hf/usr/7/src/destdir.evbarm
Thread model: posix
gcc version 4.8.4 (nb2 20150115)
lz4 pkgsrc build fails with following error
===> Building for lz4-131nb1
gmake[1]: Entering directory '/usr/pkgsrc/archivers/lz4/work/lz4-r131/lib'
compiling static library
compiling dynamic library 1.7.1
creating versioned links
gmake[1]: Leaving directory '/usr/pkgsrc/archivers/lz4/work/lz4-r131/lib'
gmake[1]: Entering directory '/usr/pkgsrc/archivers/lz4/work/lz4-r131/programs'
gcc -m32 -I../lib -O2 -Wl,-R/usr/pkg/lib -DENABLE_LZ4C_LEGACY_OPTIONS ../lib/lz4.c ../lib/lz4hc.c ../lib/lz4frame.c ../lib/xxhash.c bench.c lz4io.c lz4cli.c -o lz4c32
gcc: error: unrecognized command line option '-m32'
Makefile:82: recipe for target 'lz4c32' failed
gmake[1]: *** [lz4c32] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/archivers/lz4/work/lz4-r131/programs'
Makefile:66: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2
Stop.
make[1]: stopped in /usr/pkgsrc/archivers/lz4
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/archivers/lz4
many thanks!
f
>How-To-Repeat:
in netbsd evbarm:
cd /usr/pkgsrc/archivers/lz4
make
>Fix:
Home |
Main Index |
Thread Index |
Old Index