[SM-Grimoire-Bugs] [Bug 15293] New: beecrypt 4.2.1 fails to compile

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Tue Jul 14 14:42:47 EDT 2009


http://bugs.sourcemage.org/show_bug.cgi?id=15293

           Summary: beecrypt 4.2.1 fails to compile
           Product: Codex
           Version: test grimoire
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: crypto
        AssignedTo: sm-grimoire-bugs at lists.ibiblio.org
        ReportedBy: sandalle at sourcemage.org


--------------------{Section:         ISO VERSION}--------------------
Source Mage GNU/Linux release 0.10.0 x86_64
--------------------{Section:               UNAME}--------------------
Linux pangomer 2.6.30.1 #1 SMP Thu Jul 9 00:38:55 PDT 2009 x86_64 GNU/Linux
--------------------{Section:     COMPILER CONFIG}--------------------
SMGL_COMPAT_ARCHS=64/x86_64/intel/em64t/core2_64/
ARCHITECTURE="core2_64"
OPTIMIZATIONS="combreloc prelink strip "
CUSTOM_CFLAGS="-O2"
CUSTOM_CXXFLAGS="-O2"
CUSTOM_LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
CFLAGS="-march=core2 -fPIC -DPIC -mmmx -mfpmath=sse -msse -msse2 -msse3 -mssse3
-pipe -DPIC -fPIC -O2"
CXXFLAGS="-march=core2 -fPIC -DPIC -mmmx -mfpmath=sse -msse -msse2 -msse3
-mssse3 -pipe -DPIC -fPIC -O2"
LDFLAGS="-z combreloc -s -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
HOST="x86_64-pc-linux-gnu"
CCACHE="on"
DISTCC_HOSTS=""
JOBS_PER_HOST="1"
MAKE_NJOBS="2"
CCACHE_DIR="/var/cache/compiler"

Tried with only one make job and also without -Wl,--as-needed.
Using GCC 4.4.0 and glibc 2.10.1 compiled with Linux 2.6.29 headers.

# cast beecrypt
...
/usr/bin/make  all-recursive
make[1]: Entering directory `/usr/src/beecrypt-4.2.1'
Making all in .
make[2]: Entering directory `/usr/src/beecrypt-4.2.1'
/bin/sh ./libtool --tag=CXX   --mode=link g++  -march=core2 -fPIC -DPIC -mmmx
-mfpmath=sse -msse -msse2 -msse3 -mssse3 -pipe -DPIC -fPIC -O2
-Wa,--noexecstack -no-undefined -version-info 7:0:0 -z combreloc -s -Wl,-O1
-Wl,--hash-style=gnu -o libbeecrypt.la -rpath /usr/lib aes.lo base64.lo
beecrypt.lo blockmode.lo blockpad.lo blowfish.lo dhies.lo dldp.lo dlkp.
lo dlpk.lo dlsvdp-dh.lo dsa.lo elgamal.lo endianness.lo entropy.lo fips186.lo
hmac.lo hmacmd5.lo hmacsha1.lo hmacsha224.lo hmacsha256.lo md4.lo md5.lo
hmacsha384.lo hmacsha512.lo memchunk.lo mp.lo mpbarrett.lo mpnumber.lo
mpprime.lo mtprng.lo pkcs1.lo pkcs12.lo ripemd128.lo ripemd160.lo ripemd256.lo
ripemd320.lo rsa.lo rsakp.lo rsapk.lo sha1.lo sha224.lo sha256.lo sha384.lo
sha512.lo sha2k32.lo sha2k64.lo timestamp.lo cppglue.lo blowfishopt.lo mpopt.lo
sha1opt.lo  -lrt -lpthread -ldl 
libtool: link: g++ -shared -nostdlib
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0/../../../../lib/crti.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0/crtbeginS.o  .libs/aes.o .libs/base64.o
.libs/beecrypt.o .libs/blockmode.o .libs/blockpad.o .libs/blowfish.o
.libs/dhies.o .libs/dldp.o .libs/dlkp.o .libs/dlpk.o .libs/dlsvdp-dh.o
.libs/dsa.o .libs/elgamal.o .libs/endianness.o .libs/entropy.o .libs/fips186.o
.libs/hmac.o .libs/hmacmd5.o .libs/hmacsha1.o .libs/hmacsha224.o
.libs/hmacsha256.o .libs/md4.o .libs/md5.o .libs/hmacsha384.o
.libs/hmacsha512.o .libs/memchunk.o .libs/mp.o .libs/mpbarrett.o
.libs/mpnumber.o .libs/mpprime.o .libs/mtprng.o .libs/pkcs1.o .libs/pkcs12.o
.libs/ripemd128.o .libs/ripemd160.o .libs/ripemd256.o .libs/ripemd320.o
.libs/rsa.o .libs/rsakp.o .libs/rsapk.o .libs/sha1.o .libs/sha224.o
.libs/sha256.o .libs/sha384.o .libs/sha512.o .libs/sha2k32.o .libs/sha2k64.o
.libs/timestamp.o .libs/cppglue.o .libs/blowfishopt.o .libs/mpopt.o
.libs/sha1opt.o   -Wl,-rpath -Wl,/usr/lib/../lib -Wl,-rpath -Wl,/usr/lib/../lib
-lrt -lpthread -ldl -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0
-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0/../../../../x86_64-pc-linux-gnu/lib/../lib
-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0/../../../../lib -L/lib/../lib
-L/usr/lib/../lib
-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0/../../../../x86_64-pc-linux-gnu/lib
-L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0/../../.. /usr/lib/../lib/libstdc++.so
-lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0/crtendS.o
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0/../../../../lib/crtn.o  -march=core2
-mmmx -mfpmath=sse -msse -msse2 -msse3 -mssse3 -Wl,-O1 -Wl,--hash-style=gnu  
-Wl,-soname -Wl,libbeecrypt.so.7 -o .libs/libbeecrypt.so.7.0.0
.libs/mpopt.o: In function `mpzero':
(.text+0x0): multiple definition of `mpzero'
.libs/mp.o:mp.c:(.text+0x0): first defined here
.libs/mpopt.o: In function `mpfill':
(.text+0x10): multiple definition of `mpfill'
.libs/mp.o:mp.c:(.text+0x20): first defined here
.libs/mpopt.o: In function `mpeven':
(.text+0x20): multiple definition of `mpeven'
.libs/mp.o:mp.c:(.text+0x50): first defined here
.libs/mpopt.o: In function `mpodd':
(.text+0x30): multiple definition of `mpodd'
.libs/mp.o:mp.c:(.text+0x40): first defined here
.libs/mpopt.o: In function `mpaddw':
(.text+0x40): multiple definition of `mpaddw'
.libs/mp.o:mp.c:(.text+0xbd0): first defined here
.libs/mpopt.o: In function `mpsubw':
(.text+0x70): multiple definition of `mpsubw'
.libs/mp.o:mp.c:(.text+0xd10): first defined here
.libs/mpopt.o: In function `mpadd':
(.text+0xa0): multiple definition of `mpadd'
.libs/mp.o:mp.c:(.text+0xc30): first defined here
.libs/mpopt.o: In function `mpsub':
(.text+0xd0): multiple definition of `mpsub'
.libs/mp.o:mp.c:(.text+0xd70): first defined here
.libs/mpopt.o: In function `mpdivtwo':
(.text+0x100): multiple definition of `mpdivtwo'
.libs/mp.o:mp.c:(.text+0x1200): first defined here
.libs/mpopt.o: In function `mpmultwo':
(.text+0x120): multiple definition of `mpmultwo'
.libs/mp.o:mp.c:(.text+0x12b0): first defined here
.libs/mpopt.o: In function `mpsetmul':
(.text+0x140): multiple definition of `mpsetmul'
.libs/mp.o:mp.c:(.text+0xe90): first defined here
.libs/mpopt.o: In function `mpaddmul':
(.text+0x170): multiple definition of `mpaddmul'
.libs/mp.o:mp.c:(.text+0xf40): first defined here
.libs/mpopt.o: In function `mpaddsqrtrc':
(.text+0x1b0): multiple definition of `mpaddsqrtrc'
.libs/mp.o:mp.c:(.text+0x1110): first defined here
collect2: ld returned 1 exit status
make[2]: *** [libbeecrypt.la] Error 1
make[2]: Leaving directory `/usr/src/beecrypt-4.2.1'
make[1]: Leaving directory `/usr/src/beecrypt-4.2.1'
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the SM-Grimoire-Bugs mailing list