[oe-issues] [Bug 1605] New: sh: gmp 4.2.1 doesn't work on sh

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Mon Nov 20 23:00:21 UTC 2006


http://bugs.openembedded.org/show_bug.cgi?id=1605

           Summary: sh: gmp 4.2.1 doesn't work on sh
           Product: Openembedded
           Version: unspecified
          Platform: SuperH
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: lenehan at twibble.org
         QAContact: tinderbox-oe at gmx.net


gmp 4.2.1 compiles fine, but several routines are not being compiled into the
libraries resulting in linking errors when attempting to use the library. There
is no obvious reason why this is happening:

| ccache sh4-linux-gcc -ml -m4 -o pluto
-L/home/lenehan/devel/oe/build/titan-glibc-24/tmp/staging/sh4-linux/lib
-Wl,-rpath-link,/home/lenehan/devel/oe/build/titan-glibc-24/tmp/staging/sh4-linux/lib
-Wl,-O1 ike_alg.o db_ops.o connections.o cookie.o crypto.o defs.o  foodgroups.o
log.o state.o plutomain.o plutoalg.o server.o timer.o pluto_constants.o id.o
ipsec_doi.o kernel.o  kernel_netlink.o  kernel_pfkey.o kernel_noklips.o
rcv_whack.o   demux.o packet.o lex.o keys.o dnskey.o rnd.o spdb.o sha1.o md5.o 
vendor.o nat_traversal.o virtual.o  ike_alg_aes.o ike_alginit.o    ac.o asn1.o
oid.o pem.o pgp.o pkcs.o x509.o certs.o md2.o ocsp.o x509keys.o  whacklib.o  
../../lib/libdes/libdes.a ../../lib/libcrypto/libaes/libaes.a
../../lib/libopenswan/libopenswan.a          -lgmp -lresolv
|
/home/lenehan/devel/oe/build/titan-glibc-24/tmp/staging/sh4-linux/lib/libgmp.so:
undefined reference to `__gmpn_add_nc'
|
/home/lenehan/devel/oe/build/titan-glibc-24/tmp/staging/sh4-linux/lib/libgmp.so:
undefined reference to `__gmpn_sub_nc'
| collect2: ld returned 1 exit status
| make[2]: *** [pluto] Error 1
| make[2]: Leaving directory
`/home/lenehan/devel/oe/build/titan-glibc-24/tmp/work/openswan-2.2.0-r5/openswan-2.2.0/programs/pluto'
| make[1]: *** [programs] Error 1
| make[1]: Leaving directory
`/home/lenehan/devel/oe/build/titan-glibc-24/tmp/work/openswan-2.2.0-r5/openswan-2.2.0/programs'
| make: *** [programs] Error 1
| FATAL: oe_runmake failed
NOTE: Task failed:
/home/lenehan/devel/oe/build/titan-glibc-24/tmp/work/openswan-2.2.0-r5/temp/log.do_compile.8229
NOTE: package openswan-2.2.0-r5: task do_compile: failed


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the Openembedded-issues mailing list