[LLVMbugs] [Bug 4505] New: openssl-0.9.8k fails to build using llvm-gcc-4. 2 with arch x86_64

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Jul 4 07:56:44 PDT 2009


           Summary: openssl-0.9.8k fails to build using llvm-gcc-4.2 with
                    arch x86_64
           Product: new-bugs
           Version: unspecified
          Platform: Macintosh
               URL: http://trac.macports.org/ticket/19446#comment:8
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: ddkilzer at yahoo.com
                CC: llvmbugs at cs.uiuc.edu

The openssl-0.9.8k package fails to build using llvm-gcc-4.2 on
SnowLeopard10A394 for arch x86_64 with the following error:

ld: in s_time.o, ObjectFileAddressSpace::mappedAddress(0xFFFFFFFFFFFFFFFC) not
in any section

1. Download openssl-0.9.8k:  wget -c
2. Extract the archive:  tar xzf openssl-0.9.8k.tar.gz
3. Change directories:  cd openssl-0.9.8k
4. Configure to build using llvm-gcc-4.2 and x86_64:  CC=llvm-gcc-4.2
./Configure darwin64-x86_64-cc
5. Build it:  make

openssl-0.9.8k fails to build from source:

( :; LIBDEPS="${LIBDEPS:--Wl,-search_paths_first -L.. -lssl  -L.. -lcrypto }";
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch x86_64 -O3 -fomit-frame-pointer
-DL_ENDIAN -DMD32_REG_T=int -Wall}"; LIBPATH=`for x in $LIBDEPS; do if echo $x
| grep '^ *-L' > /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//'; fi; done |
uniq`; LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`;
${APPNAME:=openssl} openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o
enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o
dsa.o dsaparam.o ec.o ecparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o
speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o
ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o
prime.o cms.o ${LIBDEPS} )
ld: in s_time.o, ObjectFileAddressSpace::mappedAddress(0xFFFFFFFFFFFFFFFC) not
in any section
collect2: ld returned 1 exit status
make[2]: *** [link_app.] Error 1
make[1]: *** [openssl] Error 2
make: *** [build_apps] Error 1

This is a regression from gcc-4.2 and x86_64 since openssl-0.9.8k builds fine
with that configuration.

Original bug filed on MacPorts. 

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list