06-28-2016 09:01 PM
I have formerly installed Vivado on Arch Linux and it worked fine, but I seem to be getting a random crash when attempting to run synthesis.
I am using a Nexys 4 FPGA with Vivado and this is the backtrace it spit out: https://gist.github.com/vadixidav/ba6ce950ed3e28e5ad4689096c0bc62a
The synthesis otherwise completes successfully, but I get nothing out of it since it crashes at the very end. I just see this error message: http://i.imgur.com/St06LI0.png
I am using some SystemVerilog features, so it would be an annoyance to switch to ISE to make this work. Is anyone familiar with this issue?
06-28-2016 09:06 PM
06-29-2016 04:07 AM
ArchLinux is not officially supported by Vivado. Did you pre install ncurses5 libs before installing vivado?
06-29-2016 03:20 PM
I do have ncurses5, but it might be some other issue revolving around the lack of support for Arch Linux. I know for certain that 2015.02 does work, so I have decided to install that as well. If anyone has a fix for the newest version, that would be appreciated. Some others have gotten similar crashes, but from what I have seen they were all separate issues and likely don't relate to my situation. If I find a solution I'll post it here.
06-29-2016 05:52 PM
Seems like it fails with the 2015.4 version as well. I wonder why this is? Again, it crashes, only on a simple synthesis test. The 2015.04 version doesn't even seem to give any backtrace. I also installed the 32-bit ncurses5 in case that mattered, but it didn't. I wonder why this happens? This used to work fine, so I imagine it is some system incompatibility.
--------------------------------------------------------------------------------- Start Part Resource Summary --------------------------------------------------------------------------------- Parent process (pid 7876) has died. This helper process will now exit
06-29-2016 06:13 PM
I have decided I will attempt to run this on a supported OS in a VM. In the meantime, it seems I was having this issue, which although it is marked as solved is actually not resolved and also happened on Windows: https://forums.xilinx.com/t5/Synthesis/Synthesis-failed-without-reporting-any-error/td-p/686000
06-29-2016 09:24 PM
So I installed Lubuntu in a VM using Gnome Boxes and sure enough it worked. If anyone figures out how to stop the crashing on Arch, it would be appreciated if the solution could be put here.
06-30-2016 05:25 AM - edited 06-30-2016 05:31 AM
HI , Vivado is not tested in Arch linux as we do not support it. So we cannot send the crash logs to development to lookinto it.
May I know why you cannot go with any of the supported OS like Redhat , CentOS, Suse, Ubuntu?
07-02-2016 12:24 AM
I am a student and I run Arch Linux as my primary OS. Considering the multitude of packages in the AUR which I rely on daily (including packages for the tools I develop with), I am stuck using it, and I like it anyways. It is quite inconvenient but for now it is a short term solution to run Lubuntu in a VM, which is working. I am sure some ABI broke on Arch Linux that makes it incompatible and I hope somebody figures out how to make it work there, but in the meantime I will simply run a VM and deal with it.
07-21-2016 03:27 PM
There is a bug in vivado synthesis that causes a double unlock of a pthread mutex, which is illegal. It used to work fine by accident though. Until intel TSX came along and glibc started supporting it (so it is only reproducible on recent intel CPUs). Work around on arch is to recompile the glibc package with --disable-lock-elision instead of --enable-lock-elision.
09-07-2016 06:11 PM
Running in a VM seems to hide the crashing bug, probably because of some limitations in how the offending Intel TSX instructions are virtualized.
11-10-2016 10:40 AM
Regarding "bug in Vivado synthesis that causes a double unlock of a pthread mutex".
Since Ubuntu is heavily based on Debian and re-builds packages from Debian, it's a matter of time, till that bug gets exposed in Ubuntu as well.
I get crash with exact same problem on Debian. Likely any modern distribution are affected as it will enable that type of locking for performance gains.
Supported Ubuntu Linux 14.04.4 LTS (April 17, 2014) is very old now, I would be surprised if Vivado works on Ubuntu 16.04 with that bug ignored.
11-30-2016 11:49 AM
I faced the same problem with Vivado running on 64-bit openSuse 42.2 Leap. But luckily I found that folder /lib64 already contained noelision folder with libpthread library inside. I simply copied this file together with a symbolic link to <Xilinx>/lib/lnx<Architecture>.o/ folder (in my case it is /opt/Xilinx/Vivado/2016.2/lib/lnx64.o) and it fixed the problem. So easy!
Hope it will save your time.
10-29-2018 10:36 PM
I came out this error when I used vivado on ubuntun 16.04. There is no error but synthesis failed.
I am a fresher in Linux. Could you please describe how to recompile glibc in detail? which command I should use to recompile glibc？List all the steps is better. Thanks a lot.