Date: Mon, 23 May 2005 22:47:56 -0300 From: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> To: freebsd-stable@FreeBSD.org Subject: Can objcopy(1) handle coff? (was update math/mprime) Message-ID: <20050524014818.68633.qmail@exxodus.fedaykin.here>
next in thread | raw e-mail | index | archive | help
--cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I am having trouble updating the port math/mprime. I need to convert from .obj coff to .o elf32. However, I get a complain "Invalid bfd target" I have the sample port at http://people.FreeBSD.org/~lioux/mprime.tgz I believe that the problem is related to the fact that we are unable to handle coff files. Am I doing something wrong? Just try building it to see the problem.=20 FreeBSD exxodus.fedaykin.here 5.4-STABLE FreeBSD 5.4-STABLE #3: Sun May 8 = 10:28:48 BRT 2005 lioux@exxodus:/usr/obj/usr/src/sys/LIOUX i386 Script started on Mon May 23 22:37:29 2005 =3D=3D=3D> Extracting for mprime-0.0.23.5 =3D> Checksum OK for mprime/source23.zip. =3D> Checksum OK for mprime/prime95-text-2004022600-23.5.tar.bz2. =3D=3D=3D> mprime-0.0.23.5 depends on executable: unzip - found /bin/cp /usr/home/lioux/src/myports/ports/math/mprime/files/makebsd /usr/ho= me/lioux/src/myports/ports/math/mprime/work/linux =3D=3D=3D> Patching for mprime-0.0.23.5 =3D=3D=3D> mprime-0.0.23.5 depends on executable: gmake - found =3D=3D=3D> Configuring for mprime-0.0.23.5 =3D=3D=3D> Building for mprime-0.0.23.5 rm -f mprime sprime prime.o menu.o mult.o mult1.o mult2.o mult2a.o mult3.o = mult3a.o mult4.o mult4a.o mult4b.o mult1p.o mult2p.o mult2ap.o mult3p.o mul= t3ap.o mult3q.o mult3aq.o mult4p.o mult4ap.o mult4bp.o mult4q.o mult4aq.o m= ult4bq.o mult1aux.o mult2aux.o mult3aux.o mult3auq.o mult4aux.o mult4auq.o = xmult1.o xmult1ax.o xmult2.o xmult2a.o xmult2ax.o xmult3.o xmult3a.o xmult3= ax.o ecmhelp.o cpuid.o dummy4.o dummy8.o dummy12.o dummy16.o dummy20.o dumm= y24.o dummy28.o dummyt4.o dummyt8.o dummyt12.o dummyt16.o dummyt20.o dummyt= 24.o dummyt28.o [ ! -e ../security.h ] && touch ../security.h || true [ ! -e ../security.c ] && touch ../security.c || true /usr/local/libexec/ccache/cc -O -pipe -pipe -funit-at-a-time -m3dnow -msse = -mfpmath=3Dsse,387 -falign-functions -fforce-addr -fforce-mem -foptimize-re= gister-move -foptimize-sibling-calls -fpeel-loops -fprefetch-loop-arrays -f= reorder-blocks -march=3Dathlon-xp -I.. -malign-double -c prime.c /usr/local/libexec/ccache/cc -O -pipe -pipe -funit-at-a-time -m3dnow -msse = -mfpmath=3Dsse,387 -falign-functions -fforce-addr -fforce-mem -foptimize-re= gister-move -foptimize-sibling-calls -fpeel-loops -fprefetch-loop-arrays -f= reorder-blocks -march=3Dathlon-xp -I.. -malign-double -c menu.c menu.c: In function `options_preferences': menu.c:698: warning: the address of `PRIMENET', will always evaluate as `tr= ue' menu.c:700: warning: the address of `PRIMENET', will always evaluate as `tr= ue' menu.c:702: warning: the address of `PRIMENET', will always evaluate as `tr= ue' objcopy -v --input-target=3Dcoff-i386 --output-target=3Delf32-i386-freebsd = =2E./prime95/mult.obj mult.o objcopy: ../prime95/mult.obj: Invalid bfd target gmake: *** [mult.o] Error 1 *** Error code 2 Stop in /usr/home/lioux/src/myports/ports/math/mprime. Script done on Mon May 23 22:37:32 2005 ps: Please, CC: me because I do not subscribe to this mailing list. --=20 Mario S F Ferreira - DF - Brazil - "I guess this is a signature." feature, n: a documented bug | bug, n: an undocumented feature --cNdxnHkX5QqsyA0e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCkofirxEiaFLzGQwRAg6mAJsFPvLz8PCZgWfafRhxZuRVn3ZOZgCfRici wU2rvAQ9L0NvenxzC48ptWc= =pdjV -----END PGP SIGNATURE----- --cNdxnHkX5QqsyA0e--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050524014818.68633.qmail>