pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/48134: crypto++ doesn't compile on 32-bit i386
>Number: 48134
>Category: pkg
>Synopsis: crypto++ doesn't compile on 32-bit i386
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 18 07:30:00 +0000 2013
>Originator: Onno van der Linden
>Release: NetBSD 6.99.23
>Organization:
>Environment:
NetBSD sheep 6.99.23 NetBSD 6.99.23 (SHEEP) #0: Fri Aug 16 22:52:44 MEST 2013
onno@sheep:/usr/src/sys/arch/i386/compile/SHEEP i386
>Description:
===> Building for cryptopp-5.6.2
c++ -DCRYPTOPP_DISABLE_ASM -DNDEBUG -g -O2 -march=native -pipe -c wake.cpp
wake.cpp:1:0: error: bad value (native) for -march= switch
gmake: *** [wake.o] Error 1
*** Error code 2
>How-To-Repeat:
At least on an i386 box:
cd /usr/pkgsrc/security/crypto++
make
>Fix:
http://crypto-users.996303.n3.nabble.com/problem-compile-crypto-5-5-2-in-macosx-td868.html
says:
If I recall, GCC prior to 4.6 had a few [small?] issues with -
march=native.
So adding some extra logic around line 38 of GNUmakefile of crypto++
to check for gcc < 4.6 and/or 32-bit x86 should fix it.
(devel/cpuflags also generates -march native ...... won't work.)
or upgrade NetBSD's native compiler to gcc 4.6 or higher.
Home |
Main Index |
Thread Index |
Old Index