Skip to content
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

--coverage produces a broken makefile when systemperl not installed #953

Closed
veripoolbot opened this issue Aug 6, 2015 · 3 comments
Closed
Assignees
Labels
area: configure/compiling Issue involves configuring or compilating Verilator itself resolution: fixed Closed; fixed

Comments

@veripoolbot
Copy link
Contributor


Author Name: Eivind Liland
Original Redmine Issue: 953 from https://www.veripool.org
Original Date: 2015-08-06
Original Assignee: Wilson Snyder (@wsnyder)


Already reported in issue #873, which I believe was mistakenly closed.
I have uploaded a log there which shows the problem.

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Jie Xu (@jiexu)
Original Date: 2015-08-07T06:45:11Z


The errors are caused by GCC when it try to compile and link the file. The root cause is in include/verilated.mk where it tries to add the "CPPFLAGS += -I$(SYSTEMPERL_INCLUDE)".

When $(SYSTEMPERL_INCLUDE) is not defined, then it generates the compiling option with "... -I -c -o Vt_assert_cover__ALLcls.o Vt_assert_cover__ALLcls.cpp".

Then GCC will take the "@-c@" as including path and try to compile and link the file, that is why you got lots of linking errors.

Some cleanup needed to fully solve this. But in the meantime it is easy for you to work around. It would be highly appreciated if you could try to submit a patch for cleanup the COVERAGE related makefile issues.

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2015-08-12T23:11:10Z


Makefile issue fixed in git towards 3.875.

@veripoolbot
Copy link
Contributor Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2015-08-13T01:44:58Z


In 3.876.

@veripoolbot veripoolbot added area: configure/compiling Issue involves configuring or compilating Verilator itself resolution: fixed Closed; fixed labels Dec 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: configure/compiling Issue involves configuring or compilating Verilator itself resolution: fixed Closed; fixed
Projects
None yet
Development

No branches or pull requests

2 participants