[buildroot 0000495]: openssl build fails for Target Architecture i386 Variant i386

bugs at busybox.net bugs at busybox.net
Tue Nov 29 16:42:50 UTC 2005


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=495 
====================================================================== 
Reported By:                noah
Assigned To:                uClibc
====================================================================== 
Project:                    buildroot
Issue ID:                   495
Category:                   Architecture Specific
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             10-20-2005 17:26 PDT
Last Modified:              11-29-2005 08:42 PST
====================================================================== 
Summary:                    openssl build fails for Target Architecture i386 
Variant i386
Description: 
The openssl.mk file sets OPENSSL_TARGET_ARCH to
i386-i386, but this wrong. This is a special case.
It should be set to just i386. The following patch
fixes the problem, diff -u openssl.mk.original openssl.mk
--- openssl.mk.original	2005-10-20 16:46:28.000000000 -0700
+++ openssl.mk	2005-10-20 17:17:12.569581608 -0700
@@ -14,8 +14,12 @@
 ifeq ($(ARCH),i686)
 OPENSSL_TARGET_ARCH:=i386-i686/cmov
 else
+ifeq ($(ARCH),i386)
+OPENSSL_TARGET_ARCH:=i386
+else
 OPENSSL_TARGET_ARCH:=i386-$(ARCH)
 endif
+endif
 else
 OPENSSL_TARGET_ARCH:=$(ARCH)
 endif


====================================================================== 

---------------------------------------------------------------------- 
 crafterm - 11-29-05 08:42  
---------------------------------------------------------------------- 
Hi All,

I can confirm this problem still occurs in the latest SVN cut of
buildroot.

The above patch works fine though to fix it.

Cheers,

Marcus 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-20-05 17:26  noah           New Issue                                    
10-20-05 17:26  noah           Status                   new => assigned     
10-20-05 17:26  noah           Assigned To               => uClibc          
10-20-05 17:26  noah           File Added: openssl.mk.patch                    
11-29-05 08:42  crafterm       Note Added: 0000711                          
======================================================================




More information about the uClibc-cvs mailing list