<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>94288</bug_id>
          
          <creation_ts>2005-05-28 07:21 0000</creation_ts>
          <short_desc>emerge bestcrypt-1.5_p10 build error</short_desc>
          <delta_ts>2005-06-21 02:21:50 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>AMD64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>UPSTREAM</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>havard.bjerke@cern.ch</reporter>
          <assigned_to>crypto@gentoo.org</assigned_to>
          <cc>amd64@gentoo.org</cc>
    
    <cc>omschaub@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>havard.bjerke@cern.ch</who>
            <bug_when>2005-05-28 07:21:46 0000</bug_when>
            <thetext>x86_64-pc-linux-gnu-gcc -c -D__KERNEL__ -DMODULE 
-I/usr/src/linux/include/asm/mach-default/ -DKBUILD_BASENAME=BestCrypt
-D_NEED_THIS_MODULE 
-I/var/tmp/portage/bestcrypt-1.5_p10/work/bcrypt/mod/../include/
-I/usr/src/linux/include/ -O3 -march=athlon64 -pipe -ftracer -ffast-math
-fno-stack-protector-all -fno-stack-protector -DKBUILD_MODNAME=bc_serpent -I. -o
bc_alg.o ../bc_alg.c
{standard input}: Assembler messages:
{standard input}:12: Error: suffix or operands invalid for `push&apos;


Reproducible: Always
Steps to Reproduce:
1. emerge bestcrypt
Actual Results:  
build error

Expected Results:  
install bestcrypt

Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 13 2005, 09:28:41)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.5, 1.6.3, 1.4_p6, 1.8.5-r3, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS=&quot;amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -march=athlon64 -pipe -ftracer -ffast-math&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -march=athlon64 -pipe -ftracer -ffast-math&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.linux.ee/pub/gentoo/distfiles/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.pudas.net/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;amd64 3dnowex X acpi alsa apm avi bash-completion berkdb bitmap-fonts cdr
crypt cups curl dvd dvdread esd ethereal fam font-server foomaticdb fortran gdbm
gif gpm gtk gtk2 imagemagick imlib jabber jack java jp2 jpeg libwww lzw lzw-tiff
mad motif mozilla mozsvg mp3 mpeg msn ncurses network nls noplugin ogg oggvorbis
opengl oss pam perl png portaudio postgres ppds python qt readline real rtc
samba sdl slang ssl svg tcltk tcpd tetex theora tiff truetype truetype-fonts
type1-fonts usb userlocales vim-with-x vorbis xinerama xml xml2 xmms xpm xrandr
xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2005-05-28 17:04:07 0000</bug_when>
            <thetext>amd64 peoples - seen this bug before? </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tester@gentoo.org</who>
            <bug_when>2005-05-29 00:51:14 0000</bug_when>
            <thetext>the problem is that the whole thing for the serpent algorithm is in ASM..
Porting that to amd64 will be a pain.. You would have to replace all &quot;push %eXX&quot;
to &quot;push %rXX&quot; (and the same for pops).

Blubb, how did you test this ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2005-05-29 01:27:08 0000</bug_when>
            <thetext>does bestcrypt-1.6_p1 work? </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>havard.bjerke@cern.ch</who>
            <bug_when>2005-05-29 07:09:00 0000</bug_when>
            <thetext>bestcrypt-1.6_p1 doesn&apos;t build either. It has the same problem.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2005-06-01 04:43:47 0000</bug_when>
            <thetext>I&apos;ve emailed the jetico developers. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2005-06-18 17:56:50 0000</bug_when>
            <thetext>bestcrypt has been masked on amd64. I&apos;ll try to remember to notify you when 
the next version comes out. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2005-06-20 06:39:30 0000</bug_when>
            <thetext>I&apos;ve disabled rc6/serpent on amd64 in 1.6_p1 - hopefully it will work now. 
 
reporting serpent compile error to  Michael Oestergaard Pedersen 
(www.carceri.dk). </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2005-06-20 14:16:14 0000</bug_when>
            <thetext>From: Michael </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2005-06-20 14:16:14 0000</bug_when>
            <thetext>From: Michael Østergaard Pedersen 
 To: Daniel 
  
The reason for this error is that Serpent is written in x86 assembler. I 
have implemented the Windows version in C so it is compatible with more 
architectures, and I will do the same for the Linux patch. I was planning 
to do it tonight or sometime tomorrow. 
 
I will let you know when it is available. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2005-06-21 02:21:50 0000</bug_when>
            <thetext>bestcrypt-1.6_p1-r1 added thanks to a patch from Michael. 
 
You&apos;ll need to unmask it to test it (add =app-crypt/bestcrypt-1.6_p1-r1 
to /etc/portage/package.unmask) 
 
Please test the rc6 and serpent on amd64. Michael is awaiting feedback and I&apos;d 
like to know too. 
 
Thanks peoples. </thetext>
          </long_desc>
      
    </bug>

</bugzilla>