Launchpad has imported 3 comments from the remote bug at
https://bugs.gentoo.org/show_bug.cgi?id=649700.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2018-03-05T22:36:23+00:00 v_2e wrote:

Created attachment 522474
freehdl-0.0.8-declerative_region.patch

With sci-electronics/freehdl-0.0.8 the freehdl-v2cc command returns
Segmentation fault even for the simplest VHDL demo
(https://ghdl.readthedocs.io/en/latest/using/QuickStartGuide.html). It
also does for any schematic I tried in Qucs.

I did some backtrace and suggest a patch which seems to fix this issue.

As the source file 'v2cc/v2cc-chunk.t' states,

    ;; respect to the entity). Note that the value is set to NULL if
    ;; the object/declaration/expression is not static at all!
    (IIR_DeclarativeRegion static_declarative_region (= "NULL"))

so my patch provides a simple check of the NULL pointer. I am not sure
my solution is correct, but at least, it allows me to use freehdl-v2cc.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/freehdl/+bug/1781054/comments/0

------------------------------------------------------------------------
On 2018-03-05T22:40:59+00:00 v_2e wrote:

Created attachment 522476
freehdl-0.0.8-la.patch

sci-electronics/freehdl-0.0.8 installs the .la files.
This patch is to remove the references to these files, and substitute them by 
the correct values.

The fix is taken from these posts:
https://bugzilla.redhat.com/show_bug.cgi?id=1207310#c3
https://bugzilla.redhat.com/show_bug.cgi?id=1207310#c6

Reply at:
https://bugs.launchpad.net/ubuntu/+source/freehdl/+bug/1781054/comments/1

------------------------------------------------------------------------
On 2018-03-05T22:50:12+00:00 v_2e wrote:

Created attachment 522478
freehdl-0.0.8-r1.ebuild

This ebuild incorporates the two patches suggested above, and also fixes
these problems:

1. undefined reference to L4ieee_Q14std_logic_1164_Y0y0_i51 and several
other symbols in libieee.so

This issue is fixed by removing all the .cc files in 'ieee' subdirectory
prior to build. These .cc files are generated during the build process,
but they are shipped in the package archive for some reason. Probably,
it was the developer's mistake. So I simply delete them, and everything
builds correctly.

2. Since the .la files are deleted, in order for the later use of the
libieee.so library, the '/etc/ld.so.conf.d/freehdl.conf' file is
created. This was also grabbed from here:
https://bugzilla.redhat.com/show_bug.cgi?id=1207310#c3

Reply at:
https://bugs.launchpad.net/ubuntu/+source/freehdl/+bug/1781054/comments/2


** Changed in: freehdl (Gentoo Linux)
       Status: Unknown => New

** Changed in: freehdl (Gentoo Linux)
   Importance: Unknown => Medium

** Bug watch added: Red Hat Bugzilla #1207310
   https://bugzilla.redhat.com/show_bug.cgi?id=1207310

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1781054

Title:
  freehdl's /usr/bin/freehdl-v2cc crashes with sigsegv

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freehdl/+bug/1781054/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to