UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

Reply

Vivado crashes on Arch Linux when performing synthesis

Visitor
Posts: 7
Registered: ‎06-28-2016

Vivado crashes on Arch Linux when performing synthesis

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?

Visitor
Posts: 7
Registered: ‎06-28-2016

Re: Vivado crashes on Arch Linux when performing synthesis

It also does not produce any errors or warnings. Here is the log of the synthesis: https://gist.github.com/vadixidav/7ec9a3509ec135ffa9b9d097f3c7da20

Xilinx Employee
Posts: 715
Registered: ‎05-07-2015

Re: Vivado crashes on Arch Linux when performing synthesis

HI @vadix

 

ArchLinux is not officially supported by Vivado. Did you  pre install ncurses5 libs before installing vivado?

Ref: https://wiki.archlinux.org/index.php/Xilinx_Vivado

 

Thanks
Bharath
--------------------------------------------------​--------------------------------------------
Please mark the Answer as "Accept as solution" if information provided addresses your query/concern.
Give Kudos to a post which you think is helpful.
--------------------------------------------------​-------------------------------------------
Visitor
Posts: 7
Registered: ‎06-28-2016

Re: Vivado crashes on Arch Linux when performing synthesis

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.

Visitor
Posts: 7
Registered: ‎06-28-2016

Re: Vivado crashes on Arch Linux when performing synthesis

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
Visitor
Posts: 7
Registered: ‎06-28-2016

Re: Vivado crashes on Arch Linux when performing synthesis

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

Visitor
Posts: 7
Registered: ‎06-28-2016

Re: Vivado crashes on Arch Linux when performing synthesis

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.

Xilinx Employee
Posts: 715
Registered: ‎05-07-2015

Re: Vivado crashes on Arch Linux when performing synthesis

[ Edited ]

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?

Thanks
Bharath
--------------------------------------------------​--------------------------------------------
Please mark the Answer as "Accept as solution" if information provided addresses your query/concern.
Give Kudos to a post which you think is helpful.
--------------------------------------------------​-------------------------------------------
Visitor
Posts: 7
Registered: ‎06-28-2016

Re: Vivado crashes on Arch Linux when performing synthesis

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.

Newbie
Posts: 1
Registered: ‎07-21-2016

Re: Vivado crashes on Arch Linux when performing synthesis

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.