Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 18:13:42 -0500 (EST)
From:      cswiger@mac.com
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kuriyama@FreeBSD.org
Subject:   ports/47419: gnupg build failure...
Message-ID:  <200301232313.h0NNDgFf066851@pi.codefab.com>

next in thread | raw e-mail | index | archive | help

>Number:         47419
>Category:       ports
>Synopsis:       gnupg build failure...
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 23 15:20:03 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Chuck Swiger
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
CodeFab
>Environment:
System: FreeBSD sec.codefab.com 4.7-STABLE FreeBSD 4.7-STABLE #8: Tue Jan 14 08:35:14 EST 2003 root@sec.local:/usr/obj/usr/src/sys/SEC i386

	<machine, os, target, libraries (multiple lines)>
P2-300 tracking 4.7-STABLE

>Description:

Gnupg in the ports fails to build.


>How-To-Repeat:

33-sec# cd /usr/ports/security/gnupg
34-sec# make

[ ... ]
source='mpiutil.c' object='mpiutil.o' libtool=no \
depfile='.deps/mpiutil.Po' tmpdepfile='.deps/mpiutil.TPo' \
depmode=gcc /bin/sh ../scripts/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include  -I/usr/local/include  -O -march=pentiumpro -Wall  -c `test -f 'mpiutil.c' || echo './'`mpiutil.c
source='g10m.c' object='g10m.o' libtool=nodepfile='.deps/g10m.Po' tmpdepfile='.deps/g10m.TPo' depmode=gcc /bin/sh ../scripts/depcomp
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include  -I/usr/local/include  -O -march=pentiumpro -Wall  -c `test -f 'g10m.c' || echo './'`g10m.c
cc -E -I.. -I../include -DHAVE_CONFIG_H mpih-mul1.S | grep -v '^#' > _mpih-mul1.s
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include  -I/usr/local/include  -O -march=pentiumpro -Wall  -c _mpih-mul1.s
_mpih-mul1.s: Assembler messages:
_mpih-mul1.s:114: Error: alignment not a power of 2
_mpih-mul1.s:132: Error: alignment not a power of 2
gmake[2]: *** [mpih-mul1.o] Error 1
gmake[2]: Leaving directory `/usr/ports/security/gnupg/work/gnupg-1.2.1/mpi'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/security/gnupg/work/gnupg-1.2.1'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/security/gnupg.

>Fix:

# make check passes all tests after the following:

79-sec# cd /usr/ports/security/gnupg/work/gnupg-1.2.1/mpi/i586
80-sec# foreach f (*.S)
diff -w -u $f~ $f
end
--- mpih-add1.S~        Sat Jun 29 10:14:07 2002
+++ mpih-add1.S Thu Jan 23 17:43:31 2003
@@ -35,7 +35,7 @@
  */

 .text
-       ALIGN (3)
+       ALIGN (4)
        .globl C_SYMBOL_NAME(mpihelp_add_n)
 C_SYMBOL_NAME(mpihelp_add_n:)
        pushl   %edi
@@ -58,7 +58,7 @@
        jz      Lend
        pushl   %edx

-       ALIGN (3)
+       ALIGN (4)
 Loop:  movl    28(%edi),%eax           /* fetch destination cache line */
        leal    32(%edi),%edi

--- mpih-lshift.S~      Sat Jun 29 10:14:07 2002
+++ mpih-lshift.S       Thu Jan 23 17:44:16 2003
@@ -42,7 +42,7 @@
  */

 .text
-       ALIGN (3)
+       ALIGN (4)
        .globl C_SYMBOL_NAME(mpihelp_lshift)
 C_SYMBOL_NAME(mpihelp_lshift:)

--- mpih-mul1.S~        Sat Jun 29 10:14:07 2002
+++ mpih-mul1.S Thu Jan 23 17:37:10 2003
@@ -48,7 +48,7 @@
 #define s2_limb ebp

        TEXT
-       ALIGN (3)
+       ALIGN (4)
        GLOBL   C_SYMBOL_NAME(mpihelp_mul_1)
 C_SYMBOL_NAME(mpihelp_mul_1:)

@@ -66,7 +66,7 @@
        INSN2(lea,l     ,R(s1_ptr),MEM_INDEX(s1_ptr,size,4))
        INSN1(neg,l     ,R(size))
        INSN2(xor,l     ,R(ebx),R(ebx))
-       ALIGN (3)
+       ALIGN (4)

 Loop:  INSN2(adc,l     ,R(ebx),$0)
        INSN2(mov,l     ,R(eax),MEM_INDEX(s1_ptr,size,4))
--- mpih-mul2.S~        Sat Jun 29 10:14:07 2002
+++ mpih-mul2.S Thu Jan 23 17:38:42 2003
@@ -48,7 +48,7 @@
 #define s2_limb ebp

        TEXT
-       ALIGN (3)
+       ALIGN (4)
        GLOBL   C_SYMBOL_NAME(mpihelp_addmul_1)
 C_SYMBOL_NAME(mpihelp_addmul_1:)

@@ -66,7 +66,7 @@
        INSN2(lea,l     ,R(s1_ptr),MEM_INDEX(s1_ptr,size,4))
        INSN1(neg,l     ,R(size))
        INSN2(xor,l     ,R(ebx),R(ebx))
-       ALIGN (3)
+       ALIGN (4)

 Loop:  INSN2(adc,l     ,R(ebx),$0)
        INSN2(mov,l     ,R(eax),MEM_INDEX(s1_ptr,size,4))
--- mpih-mul3.S~        Sat Jun 29 10:14:07 2002
+++ mpih-mul3.S Thu Jan 23 17:42:09 2003
@@ -48,7 +48,7 @@
 #define s2_limb ebp

        TEXT
-       ALIGN (3)
+       ALIGN (4)
        GLOBL   C_SYMBOL_NAME(mpihelp_submul_1)
 C_SYMBOL_NAME(mpihelp_submul_1:)

@@ -66,7 +66,7 @@
        INSN2(lea,l     ,R(s1_ptr),MEM_INDEX(s1_ptr,size,4))
        INSN1(neg,l     ,R(size))
        INSN2(xor,l     ,R(ebx),R(ebx))
-       ALIGN (3)
+       ALIGN (4)

 Loop:  INSN2(adc,l     ,R(ebx),$0)
        INSN2(mov,l     ,R(eax),MEM_INDEX(s1_ptr,size,4))
--- mpih-rshift.S~      Sat Jun 29 10:14:07 2002
+++ mpih-rshift.S       Thu Jan 23 17:43:10 2003
@@ -43,7 +43,7 @@
  */

 .text
-       ALIGN (3)
+       ALIGN (4)
        .globl C_SYMBOL_NAME(mpihelp_rshift)
 C_SYMBOL_NAME(mpihelp_rshift:)
        pushl   %edi
--- mpih-sub1.S~        Sat Jun 29 10:14:07 2002
+++ mpih-sub1.S Thu Jan 23 17:43:53 2003
@@ -44,7 +44,7 @@


 .text
-       ALIGN (3)
+       ALIGN (4)
        .globl C_SYMBOL_NAME(mpihelp_sub_n)
 C_SYMBOL_NAME(mpihelp_sub_n:)

@@ -68,7 +68,7 @@
        jz      Lend
        pushl   %edx

-       ALIGN (3)
+       ALIGN (4)
 Loop:  movl    28(%edi),%eax           /* fetch destination cache line */
        leal    32(%edi),%edi

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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