Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39829 - openssl-0.9.7c-r1 fails to compile, wrong gcc
Summary: openssl-0.9.7c-r1 fails to compile, wrong gcc
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: Alpha Linux
: High normal (vote)
Assignee: Aron Griffis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-29 16:33 UTC by Evert
Modified: 2004-02-07 12:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evert 2004-01-29 16:33:12 UTC
openssl-0.9.7c-r1 fails to compile, looks like it determines the wrong gcc as shown below at "results". 
 * Forcing linux-alpha-alpha-unknown-linux-gnu-gcc compile

My /etc/env.d/gcc/alpha-unknown-linux-gnu-3.3.2 contains:

PATH="/usr/alpha-unknown-linux-gnu/gcc-bin/3.3"
ROOTPATH="/usr/alpha-unknown-linux-gnu/gcc-bin/3.3"
LDPATH="/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2"
MANPATH="/usr/share/gcc-data/alpha-unknown-linux-gnu/3.3/man"
INFOPATH="/usr/share/gcc-data/alpha-unknown-linux-gnu/3.3/info"
STDCXX_INCDIR="g++-v3"
#CC="gcc"
CC="alpha-unknown-linux-gnu-gcc"
#CXX="g++"
CXX="alpha-unknown-linux-gnu-g++"



Reproducible: Always
Steps to Reproduce:
1.emerge -b openssl


Actual Results:  
OpenSSL 0.9.7c 30 Sep 2003
built on: Fri Jan 30 00:12:03 CET 2004
platform: linux-alpha-gcc
options:  bn(64,64) md2(int) rc4(ptr,int) des(idx,risc1,16,long) idea(int)
blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H
-DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -O2 -pipe
OPENSSLDIR: "/etc/ssl"
 * Forcing linux-alpha-alpha-unknown-linux-gnu-gcc compile
Configuring for linux-alpha-alpha-unknown-linux-gnu-gcc
Usage: Configure [no-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx]
[rsaref] [no-threads] [no-asm] [no-dso] [386] [--prefix=DIR]
[--openssldir=OPENSSLDIR] [--test-sanity] os/compiler[:flags]
                                                                               
                                                                             
pick os/compiler from:
BC-16 BC-32 BS2000-OSD Cygwin Cygwin-pre1.3 FreeBSD FreeBSD-alpha FreeBSD-elf
MPE/iX-gcc Mingw32 NetBSD-m68 NetBSD-sparc NetBSD-x86 OS390-Unix OpenBSD
OpenBSD-alpha OpenBSD-mips OpenBSD-x86 OpenUNIX-8 OpenUNIX-8-gcc
OpenUNIX-8-gcc-shared OpenUNIX-8-pentium OpenUNIX-8-pentium_pro
OpenUNIX-8-shared ReliantUNIX SINIX SINIX-N UWIN VC-MSDOS VC-NT VC-W31-16
VC-W31-32 VC-WIN16 VC-WIN32 aix-cc aix-gcc aix43-cc aix43-gcc alpha-cc
alpha-cc-rpath alpha-gcc alpha164-cc alphaold-cc aux3-gcc bsdi-elf-gcc
bsdi-gcc cc cray-j90 cray-t3e darwin-ppc-cc dgux-R3-gcc dgux-R4-gcc
dgux-R4-x86-gcc dist gcc hpux-brokencc hpux-brokengcc hpux-cc hpux-gcc
hpux-m68k-gcc hpux-parisc-cc hpux-parisc-cc-o4 hpux-parisc-gcc
hpux-parisc1_1-cc hpux-parisc2-cc hpux10-brokencc hpux10-brokengcc hpux10-cc
hpux10-gcc hpux64-parisc-cc hpux64-parisc-gcc hpux64-parisc2-cc irix-cc
irix-gcc irix-mips3-cc irix-mips3-gcc irix64-mips4-cc irix64-mips4-gcc
linux-alpha+bwx-ccc linux-alpha+bwx-gcc linux-alpha-ccc linux-alpha-gcc
linux-aout linux-elf linux-elf-arm linux-ia64 linux-m68k linux-mips
linux-mipsel linux-parisc linux-ppc linux-s390 linux-s390x linux-sparcv7
linux-sparcv8 linux-sparcv9 ncr-scde newsos4-gcc nextstep nextstep3.3 purify
qnx4 qnx6 rhapsody-ppc-cc sco3-gcc sco5-cc sco5-cc-pentium sco5-cc-shared
sco5-gcc sco5-gcc-shared solaris-sparc-sc3 solaris-sparcv7-cc
solaris-sparcv7-gcc solaris-sparcv8-cc solaris-sparcv8-gcc solaris-sparcv9-cc
solaris-sparcv9-gcc solaris-sparcv9-gcc27 solaris-x86-cc solaris-x86-gcc
solaris64-sparcv9-cc solaris64-sparcv9-gcc31 sunos-gcc tandem-c89 ultrix-cc
ultrix-gcc unixware-2.0 unixware-2.0-pentium unixware-2.1 unixware-2.1-p6
unixware-2.1-pentium unixware-7 unixware-7-gcc unixware-7-pentium
unixware-7-pentium_pro vxworks-ppc405 debug debug-ben debug-ben-debug
debug-ben-strict debug-bodo debug-levitte-linux-elf debug-linux-elf
debug-linux-elf-noefence debug-rse debug-solaris-sparcv8-cc
debug-solaris-sparcv8-gcc debug-solaris-sparcv9-cc debug-solaris-sparcv9-gcc
debug-steve debug-ulf
                                                                               
                                                                             
NOTE: If in doubt, on Unix-ish systems use './config'.
                                                                               
                                                                             
!!! ERROR: dev-libs/openssl-0.9.7c-r1 failed.
!!! Function src_compile, Line 158, Exitcode 1
!!! (no error message)



Expected Results:  
:-)



Gentoo Base System version 1.4.3.10
Portage 2.0.49-r21 (default-alpha-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.24)
=================================================================
System uname: 2.4.24 alpha EV4
distcc 2.11.1 alpha-unknown-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [disabled]
ACCEPT_KEYWORDS="alpha"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe "
CHOST="alpha-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe "
DISTDIR="/data/linux/gentoo/distfiles"
FEATURES=""
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo
http://ftp.easynet.nl/mirror/gentoo http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/data/linux/gentoo/packages/alpha"
PORTAGE_TMPDIR="/small/portage_tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync4.nl.gentoo.org/gentoo-portage"
USE="X alpha alsa berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm
gtk gtk2 imlib jpeg libg++ libwww mikmod motif mozilla ncurses oggvorbis opengl
oss pam pdflib perl png python quicktime readline sdl slang ssl tcpd truetype
xml2 xmms xv zlib"
Comment 1 Aron Griffis (RETIRED) gentoo-dev 2004-02-05 20:43:29 UTC
When I build this, the output is more like the following.  I can't figure out where the output you posted is coming from...  Could you explain?

$ sudo emerge openssl
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-libs/openssl-0.9.7c-r1 to /
>>> md5 src_uri ;-) openssl-0.9.7c.tar.gz
>>> md5 src_uri ;-) openssl-0.9.6l.tar.gz
>>> Unpacking source...
>>> Unpacking openssl-0.9.7c.tar.gz to /usr/local/tmp/portage/openssl-0.9.7c-r1/work
>>> Unpacking openssl-0.9.6l.tar.gz to /usr/local/tmp/portage/openssl-0.9.7c-r1/work
 * Applying openssl-0.9.7c-gentoo.diff...                                                                    [ ok ]
>>> Source unpacked.
Operating system: alpha-whatever-linux2
Configuring for linux-alpha+bwx-gcc
Configuring for linux-alpha+bwx-gcc
IsWindows=0
CC            =gcc
CFLAG         =-fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -mcpu=ev6 -DL_ENDIAN -DTERMIO -mcpu=ev67 -O3 -pipe -mieee
EX_LIBS       =-ldl
BN_ASM        =bn_asm.o
DES_ENC       =des_enc.o fcrypt_b.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4_enc.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =
SHA1_OBJ_ASM  =
RMD160_OBJ_ASM=
PROCESSOR     =
RANLIB        =/usr/bin/ranlib
ARFLAGS       =
PERL          =/usr/bin/perl
SIXTY_FOUR_BIT_LONG mode
DES_RISC1 used
DES_UNROLL used
RC4 uses uchar
RC4_CHUNK is unsigned long
Makefile => Makefile.ssl
.....
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-02-07 12:35:39 UTC
Without further explanation, there's nothing I can do since this works for me