From owner-freebsd-amd64@FreeBSD.ORG Thu Jun 3 21:24:11 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6BDE16A4CE; Thu, 3 Jun 2004 21:24:11 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B8AE43D41; Thu, 3 Jun 2004 21:24:11 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i544NdnA051630; Fri, 4 Jun 2004 00:23:39 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Sean McNeil In-Reply-To: <1086303205.87004.3.camel@server.mcneil.com> References: <1086303205.87004.3.camel@server.mcneil.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-At+sVBXgKcwikd3IUm1l" Organization: MarcusCom, Inc. Message-Id: <1086323045.41634.10.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 04 Jun 2004 00:24:05 -0400 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on creme-brulee.marcuscom.com cc: freebsd-gnome@freebsd.org cc: freebsd-amd64@freebsd.org Subject: Re: evolution compilation on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 04:24:12 -0000 --=-At+sVBXgKcwikd3IUm1l Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2004-06-03 at 18:53, Sean McNeil wrote: > I get an error when compiling evolution on amd64: >=20 > cc -shared address-conduit.lo -Wl,--whole-archive > ../../e-util/ename/.libs/libename-static.al > ../../addressbook/backend/ebook/.libs/libebook-static.a > -Wl,--no-whole-archive -Wl,--rpath > -Wl,/usr/ports/mail/evolution/work/evolution-1.4.6/e-util/.libs > -Wl,--rpath > -Wl,/usr/ports/mail/evolution/work/evolution-1.4.6/libversit/.libs > -Wl,--rpath > -Wl,/usr/ports/mail/evolution/work/evolution-1.4.6/camel/.libs > -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath > -Wl,/usr/X11R6/lib/evolution/1.4 -Wl,--rpath -Wl,/usr/local/lib > -L/usr/lib -L/usr/ports/mail/evolution/work/evolution-1.4.6/e-util/.libs > -L/usr/X11R6/lib -L/usr/local/lib ../../e-util/.libs/libeutil.so > ../../libversit/.libs/libversit.so ../../e-util/.libs/libeconduit.so > ../../camel/.libs/libcamel.so -lgpilotd -lgpilotdcm -lgpilotdconduit > /usr/local/lib/libpisock.so /usr/local/lib/libpisync.so -lgal-2.0 > -lgal-a11y-2.0 -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-2 > -lpopt -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 > -lgthread-2.0 -lgnomeprintui-2-2 -lgnomeprint-2-2 -lgnomecanvas-2 -lxml2 > -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXi > -lXinerama -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lXft > -lfreetype -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 > -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv -lpthread=20 > -Wl,--export-dynamic -Wl,-soname -Wl,libeaddress_conduit.so -o > .libs/libeaddress_conduit.so > /usr/bin/ld: > ../../addressbook/backend/ebook/.libs/libebook-static.a(addressbook-stubs= .o): relocation R_X86_64_32S can not be used when making a shared object; r= ecompile with -fPIC > ../../addressbook/backend/ebook/.libs/libebook-static.a(addressbook-stubs= .o): could not read symbols: Bad value > gmake[3]: *** [libeaddress_conduit.la] Error 1 >=20 > The following patch will get me past this issue. I would think this to > be a problem on any arch other than i386. For some reason, i386 allows > for normally build archives to be included into shared libraries... >=20 > *** Makefile.orig Thu Jun 3 15:34:38 2004 > --- Makefile Thu Jun 3 15:12:25 2004 > *************** CONFIGURE_ARGS+=3D--with-openldap=3D${LOCALB > *** 64,69 **** > --- 64,73 ---- > CONFIGURE_ARGS+=3D--with-openldap=3Dno > .endif >=20 > + .if ${ARCH} =3D=3D "amd64" > + CONFIGURE_ARGS+=3D--with-pic > + .endif > + > post-patch: > @${FIND} ${WRKSRC} -type f -name "*.[ch]" | ${XARGS} ${GREP} -l '= ' | \ > ${XARGS} ${REINPLACE_CMD} -e 's|||g' Committed, thanks! Joe >=20 >=20 > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-At+sVBXgKcwikd3IUm1l Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAv/lkb2iPiv4Uz4cRAv2EAJ4hmwe8NLY9v3ua5aHHkPdGept0/gCfWYwi f8K94HBmO0nNkG8g16ysYPs= =v3cz -----END PGP SIGNATURE----- --=-At+sVBXgKcwikd3IUm1l--