Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96874 - failed compilation from stage 2 on package openssl-0.9.7e
Summary: failed compilation from stage 2 on package openssl-0.9.7e
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-23 09:01 UTC by Daniel Nguyen
Modified: 2005-06-26 00:58 UTC (History)
1 user (show)

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 Daniel Nguyen 2005-06-23 09:01:32 UTC
I am running an amd64 processor
I am compiling my gentoo to be strictly 32 bit.  as you can see from my make file the neccessary flag are set accordingly for 32bit linux on an amd64 processor.

/*CFLAGS="-O0 -march=athlon-xp -msse2 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"*/

problem.
Gentoo is trying to look for a 64-bit mode during the compilation of package openssl-0.9.7e.  You can see this in the "make output screen"



// ##########################################################################
// ##########################################################################
// make output screen
 * Compiling openssl-0.9.7e
making all in crypto...
make[1]: Entering directory `/var/tmp/portage/openssl-0.9.7e-r1/work/openssl-0.9.7e/crypto'
( echo "#ifndef MK1MF_BUILD"; \
echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
echo '  #define CFLAGS "i686-pc-linux-gnu-gcc -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -m64 -DL_ENDIAN -DTERMIO  -Wall -DMD32_REG_T=int -O0 -march=athlon-xp -msse2 -pipe -Wa,--noexecstack"'; \
echo '  #define PLATFORM "linux-x86_64"'; \
echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
echo '#endif' ) >buildinf.h
i686-pc-linux-gnu-gcc -I. -I.. -I../include -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -m64 -DL_ENDIAN -DTERMIO  -Wall -DMD32_REG_T=int -O0 -march=athlon-xp -msse2 -pipe -Wa,--noexecstack   -c -o cryptlib.o cryptlib.c
cc1: sorry, unimplemented: 64-bit mode not compiled in
make[1]: *** [cryptlib.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/openssl-0.9.7e-r1/work/openssl-0.9.7e/crypto'
make: *** [sub_all] Error 1

!!! ERROR: dev-libs/openssl-0.9.7e-r1 failed.
!!! Function src_compile, Line 162, Exitcode 2
!!! make all failed
!!! If you need support, post the topmost build error, NOT this status message.
// end of make output screen
// ##########################################################################
// ##########################################################################



// ##########################################################################
// ##########################################################################
// make file
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O0 -march=athlon-xp -msse2 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
DISTDIR=${PORTDIR}/distfiles
PKGDIR=${PORTDIR}/packages
#PORT_LOGDIR=/var/log/portage

FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp \${URI} -P \${DISTDIR}"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp \${URI} -P \${DISTDIR}"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.ccccom.com http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://mirror.espri.arizona.edu/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ http://gentoo.binarycompass.org http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.cs.lewisu.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo http://modzer0.cs.uaf.edu/public/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://lug.mtu.edu/gentoo http://mirror.phy.olemiss.edu/mirror/gentoo http://san.csc.calpoly.edu/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
#PORTAGE_BINHOST="http://grp.mirror.site/gentoo/grp/1.4/i686/athlon64"

SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
RSYNC_RETRIES="2"
RSYNC_TIMEOUT=18
AUTOCLEAN="yes"
#PORTAGE_TMPFS="/dev/shm"
FEATURES="sandbox ccache"

DISTCC_DIR="${PORTAGE_TMPDIR}/.distcc"
RSYNC_EXCLUDEFROM=/etc/portage/rsync_excludes

USE_MEDIA="a52 aac aalib audiofile avi bmp cdparanoia divx4linux dvd dvdread flac gd gif gstreamer imagemagick imlib jpeg mad mng mp3 mpeg ogg oggvorbis pdflib png quicktime real speex svg theora tiff truetype vcd videos vorbis wmf win32codecs xine xpm xine xmms xv xvid xpm nocd"
USE_DESKTOP="X gnome -kde gtk gtk2 gtkhtml xosd"
USE_SYSTEM="mmx sse 3dnow acpi directfb fbcon openal opengl sdl alsa sndfile -oss hal howl posix svg svga threads dio nptl sockets"
USE_OTHER="bash-completion bzip2 doc fastcgi gnutls libcaca libedit mhash ncurses slang"

USE="${USE_MEDIA} ${USE_DESKTOP} ${USE_SYSTEM} ${USE_OTHER}"
// end of make file
// ##########################################################################
// ##########################################################################
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2005-06-23 11:37:13 UTC
not related to amd64
Comment 2 SpanKY gentoo-dev 2005-06-26 00:58:05 UTC
sounds like you didnt use linux32