ports/60054: compile of transcode fails at "nasm -felf -g -o swap.o
Christoph Sold
cs at cheasy.de
Sun Dec 14 21:18:18 UTC 2003
On Sunday 14 December 2003 16:44, Kirill Ponomarew wrote:
> Synopsis: compile of transcode fails at "nasm -felf -g -o swap.o
>
> State-Changed-From-To: open->feedback
> State-Changed-By: krion
> State-Changed-When: Sun Dec 14 07:42:53 PST 2003
> State-Changed-Why:
> devel/nasm was updated to fix this problem, upgrade it please.
> Could you please build transcode again and report results ?
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=60054
Works for me. Thanks fopr the good work.
After applying this patch:
---<snip>---
I've sent this patch to nasm-devel@ list (with justifications).
It fixes a bug in nasm while creating the stabs table, and allows
transcode to compile on -current.
--- output/outelf.c.orig Sun Dec 14 09:50:09 2003
+++ output/outelf.c Sun Dec 14 10:01:05 2003
@@ -1411,7 +1411,7 @@
the source-file, the n_desc field should be set to the number
of remaining stabs
*/
- WRITE_STAB(sptr, fileidx[0], 0, 0, 0, strlen(allfiles[0]+12));
+ WRITE_STAB(sptr, fileidx[0], 0, 0, 0, stabstrlen);
ptr=stabslines;
numstabs = 0;
Please test it and mail me back if there is any issues.
Thanks !
- patrick
--
Patrick MARIE <mycroft at virgaria.org>
pgp: http://www.minithins.net/~mycroft/key.txt
---<snip>---
-Christoph Sold
More information about the freebsd-ports-bugs
mailing list