Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Dec 2003 22:17:41 +0100
From:      Christoph Sold <cs@cheasy.de>
To:        Kirill Patrick MARIE <mycroft@virgaria.org>, Ponomarew <krion@freebsd.org>, freebsd-ports-bugs@freebsd.org
Subject:   Re: ports/60054: compile of transcode fails at "nasm -felf -g -o swap.o
Message-ID:  <200312142217.41225.cs@cheasy.de>
In-Reply-To: <200312141544.hBEFigd1078525@freefall.freebsd.org>
References:  <200312141544.hBEFigd1078525@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@virgaria.org>
pgp: http://www.minithins.net/~mycroft/key.txt

---<snip>---

-Christoph Sold



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312142217.41225.cs>