-
Notifications
You must be signed in to change notification settings - Fork 248
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
Segmentation Fault when trying to build on Mac #1144
Comments
I expect this is a duplicate of: YosysHQ/prjtrellis#185 You can try to apply the workaround and see if that fixes it. |
Thanks for the tip. Removing libpython3.11.dylib from prjtrellis/libtrellis/CMakeFiles/pytrellis.dir/link.txt did not help for me |
The comment did not say but I believe you have remove it prior to rebuilding prjtrellis. Did you do this:
And then try to build nextpnr. |
I did as you said and I unfortunately still have the same error. |
Seems to be fixed by using the newest nextpnr version |
Followed the instructions to install project trellis then
cmake . -DARCH=ecp5 -DTRELLIS_INSTALL_PREFIX=/usr/local
make -j$(nproc)
sudo make install
but failed on "make -j$(nproc)" with this error:
jamesmeech@Jamess-MacBook-Pro-10 nextpnr % make -j 4 [ 3%] Generating chipdb/chipdb-25k.bba [ 3%] Building CXX object bba/CMakeFiles/bbasm.dir/main.cc.o /bin/sh: line 1: 16752 Segmentation fault: 11 /opt/local/bin/python3.11 /Users/jamesmeech/Desktop/nextpnr/ecp5/trellis_import.py -L /usr/local/lib/trellis -L /usr/local/share/trellis/util/common -L /usr/local/share/trellis/timing/util -p /Users/jamesmeech/Desktop/nextpnr/ecp5/constids.inc -g /Users/jamesmeech/Desktop/nextpnr/ecp5/gfx.h 25k > chipdb/chipdb-25k.bba.new make[2]: *** [ecp5/chipdb/chipdb-25k.bba] Error 139 make[1]: *** [ecp5/CMakeFiles/chipdb-ecp5-bbas.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
The text was updated successfully, but these errors were encountered: