fix: strip symbols of elf files in the bundle - #180
Open
Anillc wants to merge 1 commit into
Open
Conversation
Member
Traceback (most recent call last):
File "numpy/_core/__init__.py", line 22, in <module>
File "pyimod02_importers.py", line 457, in exec_module
File "numpy/_core/multiarray.py", line 11, in <module>
ImportError: libscipy_openblas64_-fdde5778.so: ELF load command address/offset not page-aligned
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "run_ecc.py", line 19, in <module>
File "chipcompiler/cli/main.py", line 16, in main
sys.exit(run())
^^^^^
File "chipcompiler/cli/main.py", line 12, in run
return invoke_typer_app(raw)
^^^^^^^^^^^^^^^^^^^^^
File "chipcompiler/cli/app.py", line 80, in invoke_typer_app
result = command.main(
^^^^^^^^^^^^^
File "typer/core.py", line 794, in main
File "typer/core.py", line 188, in _main
File "click/core.py", line 1873, in invoke
File "click/core.py", line 1269, in invoke
File "click/core.py", line 824, in invoke
File "typer/main.py", line 1514, in wrapper
File "chipcompiler/cli/commands/project.py", line 82, in run_cmd
execute_command("run", command_input, project_handlers.run)
File "chipcompiler/cli/core/invocation.py", line 84, in execute_command
result = handler(command_input, ctx)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "chipcompiler/cli/command_handlers/project.py", line 190, in run
from chipcompiler import rtl2gds as rtl2gds_api
File "pyimod02_importers.py", line 457, in exec_module
File "chipcompiler/rtl2gds/__init__.py", line 1, in <module>
from .builder import (
File "pyimod02_importers.py", line 457, in exec_module
File "chipcompiler/rtl2gds/builder.py", line 4, in <module>
from chipcompiler.data import StateEnum, StepEnum
File "pyimod02_importers.py", line 457, in exec_module
File "chipcompiler/data/__init__.py", line 1, in <module>
from .candidate_capabilities import export_candidate_capabilities
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "pyimod02_importers.py", line 457, in exec_module
File "chipcompiler/data/checklist.py", line 9, in <module>
from chipcompiler.utility import json_read, json_write
File "pyimod02_importers.py", line 457, in exec_module
File "chipcompiler/utility/__init__.py", line 19, in <module>
from .plot import plot_bar_chart, plot_csv_bar_chart, plot_csv_map, plot_csv_table, plot_metrics
File "pyimod02_importers.py", line 457, in exec_module
File "chipcompiler/utility/plot.py", line 4, in <module>
import matplotlib
File "pyimod02_importers.py", line 457, in exec_module
File "matplotlib/__init__.py", line 161, in <module>
File "pyimod02_importers.py", line 457, in exec_module
File "matplotlib/cbook.py", line 24, in <module>
File "pyimod02_importers.py", line 457, in exec_module
File "numpy/__init__.py", line 112, in <module>
File "pyimod02_importers.py", line 457, in exec_module
File "numpy/__config__.py", line 4, in <module>
File "pyimod02_importers.py", line 457, in exec_module
File "numpy/_core/__init__.py", line 83, in <module>
ImportError:
IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.
We have compiled some common reasons and troubleshooting tips at:
https://numpy.org/devdocs/user/troubleshooting-importerror.html
Please note and check the following:
* The Python version is: Python 3.11 from "/home/Emin/Downloads/ecc-cli-linux-x86_64/ecc/ecc"
* The NumPy version is: "2.4.0"
and make sure that they are the versions you expect.
Please carefully study the information and documentation linked above.
This is unlikely to be a NumPy issue but will be caused by a bad install
or environment on your machine.
Original error was: libscipy_openblas64_-fdde5778.so: ELF load command address/offset not page-aligned
[PYI-602985:ERROR] Failed to execute script 'run_ecc' due to unhandled exception! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Changed
Scope
Select the areas touched by this PR:
uv.lock, or release artifacts.Validation
List the commands you ran. Mark checks that are not applicable as N/A.
uv run pytest test/uv run ruff check chipcompiler testuv run ruff format --check chipcompiler testecc --help,ecc --version,ecc version --jsonnix run .#cli -- --helpSkipped checks and reason:
Runtime And Packaging Impact
ecc-toolsorecc-dreamplacedependency changedNotes:
Checklist