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
share/verilator/include/verilated.mk contains non-existent AR=/usr/local/bin/ar on FreeBSD #4213
Comments
yes making the change in share/verilator/include/verilated.mk seems to work for me (I just didn't know where to look, thank you) |
it might be good to change this to
i reckon many package build systems might set that variable |
I think that this line should be just:
to allow the PATH variable to determine the path. |
Note it comes from whatever ./configure determines. You can override it with "./configure AR=ar". |
Then this is a bug in configure because |
What does ./configure print?
You can add echos or whatever to debug the shell code in "configure" that computes this. Most likely you do have a $AR variable, or ar is in your $PATH. This code shouldn't be able to pull "/usr/local/bin" from nowhere. |
I found what the problem was. For whatever reason verilator's port build requires ar from binutils. But binutils wasn't present at the runtime, so /usr/local/bin/ar provided by binutils isn't present. Some time back binutils was added as dependency to solve some problem, I don't remember what problem that was. I will correct the port. Thank you for your help! |
On FreeBSD it installs the file
share/verilator/include/verilated.mk
with this line:The build should find the ar executable and use it, for example:
Version: 5.010
FreeBSD 13.2 STABLE
The text was updated successfully, but these errors were encountered: