pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/39569: openssl-0.9.8h fails to build: Error: alignment not a power of 2



The following reply was made to PR pkg/39569; it has been noted by GNATS.

From: Mike Cappella <lists-netbsd%cappella.us@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/39569: openssl-0.9.8h fails to build: Error: alignment not
 a power of 2
Date: Sun, 21 Sep 2008 00:19:51 -0700

 OBATA Akio wrote:
 > The following reply was made to PR pkg/39569; it has been noted by GNATS.
 > 
 > From: "OBATA Akio"
 > To: gnats-bugs%netbsd.org@localhost
 > Cc: 
 > Subject: Re: pkg/39569: openssl-0.9.8h fails to build: Error: alignment not a
 >  power of 2
 > Date: Sun, 21 Sep 2008 14:57:43 +0900
 > 
 >  On Wed, 17 Sep 2008 14:40:00 +0900, <lists-netbsd @ cappella.us> wrote:
 >  
 >  > gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS 
 > -pthread -D_THREAD_SAFE -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -O2 
 > -DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall 
 > -DOPENSSL_BN_ASM_PART_WORDS -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -c  
 > -o dx86-out.o dx86-out.s
 >  > dx86-out.s: Assembler messages:
 >  > dx86-out.s:2500: Error: alignment not a power of 2
 >  > dx86-out.s:2510: Error: alignment not a power of 2
 >  > dx86-out.s:2687: Error: alignment not a power of 2
 >  > dx86-out.s:2697: Error: alignment not a power of 2
 >  > gmake[2]: *** [dx86-out.o] Error 1
 >  > gmake[2]: Leaving directory 
 > `/usr/pkgsrc/security/openssl/work/openssl-0.9.8h/crypto/des'
 >  
 >  OpenSSL's configure script gusses that your machine is using a.out, not ELF.
 
 How curious!
 
 >  At least, on my NetBSD-4.0 "Relaese" box, gussed as ELF, using dx86-elf.s 
 > and build fine.
 >  What about result of following commands on your environment?
 >  % file /usr/lib/libc.so
 >  % file -L /usr/lib/libc.so
 >  
 $ file /usr/lib/libc.so
 /usr/lib/libc.so: symbolic link to `../../lib/libc.so.12.149'
 
 $ ll /lib/libc.so.12.149
 -r--r--r--  1 root  wheel  1.0M Sep  1  2007 /lib/libc.so.12.149
 
 $  file -L /usr/lib/libc.so
 /usr/lib/libc.so: ELF 32-bit LSB shared object, Intel 80386, version 1
    (SYSV), dynamically linked, for NetBSD 4.0, not stripped
 
 Looks like ELF to me.  Next steps?
 


Home | Main Index | Thread Index | Old Index