-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
abc commit 0d0063f7 breaks tests/arch/ice40/rom.ys #3827
Comments
Hmm, I don't think this is caused by that commit. The YosysHQ/abc fork includes that commit, so #3825 would have failed CI if the ABC update brought changes that affect synthesis. My suspicion is actually on a compiler change or something; ABC does some very weird things that might cause a compiler to order things differently. Given that the CI uses the same compilers and distros, this seems the most likely variable to me? |
Possible. However with the environment I'm testing in, reverting the mentioned commit does fix the test failure so it's at least partially at fault. Here's a dump of package versions used in the build: https://dxld.at/localdebs/sid/berkeley-abc_1.01+20230625git01b1bd1+dfsg-3_amd64.buildinfo Most notably we're building with gcc-12 (g++ (= 4:12.3.0-1), gcc (= 4:12.3.0-1). Though FYI migration to gcc-13 is imminent in Debian unstable. |
The relevant ABC revision bump was #3796 not #3825, and there the tests got updated as they were failing. IIRC, those tests matched for a specific output that could plausibly change when abc's heuristics change and there wasn't anything actually broken. @mmicko: can we also tag our abc fork with the corresponding yosys release, like we started doing with SBY? |
@jix yes, we can do that. Also it is possible to do for past releases if needed, since we know exact version used |
@DanielG Now the tags are updated for yosys abc (https://github.com/YosysHQ/abc/tags) and they are named same as tags in yosys itself, so it will be maintained in future (same as for sby). Also note that tags are added for past releases as well. |
@mmicko excellent. Particularly having the matching tags even if the abc commit doesn't change is appreciated :) One nit: the current tag format is suboptimal, you end up with abc tarballs being called something like yosys-0.32.tar.gz, it would be better to leave off the |
Hi,
in Debian we package berkeley-abc master to use with yosys (using the 0.30 release). I've started seeing test failures a while back and only now found time to investigate. After cherry-picking a fix for the ioWriteVerilog segfault (commit) I'm seeing a test failure in tests/arch/ice40/rom.ys that also happened with the latest YosysHQ/abc. I ran a git-bisect with yosys-abc and found that the following commit is to blame (which is also present in berkeley-abc master):
git bisect log
:The test failure looks like this:
I would like to package the yosys-abc fork for Debian but since no releases are tagged for it our tooling doesn't allow this easily. cf. YosysHQ/prjtrellis#226.
Thanks,
--Daniel
The text was updated successfully, but these errors were encountered: