configure check for -faligned-new needs to include header #1232
Labels
area: configure/compiling
Issue involves configuring or compilating Verilator itself
resolution: fixed
Closed; fixed
Author Name: Jeff Bush (@jbush001)
Original Redmine Issue: 1232 from https://www.veripool.org
Original Assignee: Wilson Snyder (@wsnyder)
There is a check in the configure script to see if -faligned-new works correctly. The test program looks like this:
If I run this program on MacOS 10.12.6 with command line tools 9.0, it links correctly. However, if I include the header <new> at the top, it will fail:
So, the problem is that the test program passes, but then verilator fails to link because it does pull in the <new> header. The configure test program should probably include this header.
The text was updated successfully, but these errors were encountered: