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

xed fails to build when using --no-avx #336

Open
roeeshoshani opened this issue Oct 26, 2024 · 3 comments
Open

xed fails to build when using --no-avx #336

roeeshoshani opened this issue Oct 26, 2024 · 3 comments
Assignees

Comments

@roeeshoshani
Copy link

i am trying to build xed using the following command:

../xed/mfile.py --no-avx

and i get the following error:

[ERROR] Look-ahead error - only some are nonterminal at next bit position
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 6395, in <module>
    main()
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 6375, in main
    gen_everything_else(agi)
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 5509, in gen_everything_else
    gi.graph = build_graph(agi.common,
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 2858, in build_graph
    build_sub_graph(common,graph, bitpos, skipped_bits)
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 2671, in build_sub_graph
    build_sub_graph(common, child, bitpos, 0)
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 2671, in build_sub_graph
    build_sub_graph(common, child, bitpos, 0)
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 2671, in build_sub_graph
    build_sub_graph(common, child, bitpos, 0)
  [Previous line repeated 2 more times]
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 2728, in build_sub_graph
    die("Look-ahead error - only some are nonterminal " +
  File "/home/sho/Documents/trash/xed_test/xed/pysrc/genutil.py", line 81, in die
@roeeshoshani roeeshoshani changed the title xed doesn't build when using --no-avx xed fails to build when using --no-avx Oct 26, 2024
@marjevan marjevan self-assigned this Oct 27, 2024
@matt-undo
Copy link

I experienced the same error, except I am using --no-srf build arg.

@marjevan
Copy link
Member

marjevan commented Feb 3, 2025

I experienced the same error, except I am using --no-srf build arg.

Report migrated to #343

@marjevan
Copy link
Member

marjevan commented Feb 3, 2025

i am trying to build xed using the following command:

../xed/mfile.py --no-avx
and i get the following error:

[ERROR] Look-ahead error - only some are nonterminal at next bit position
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 6395, in <module>
    main()
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 6375, in main
    gen_everything_else(agi)
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 5509, in gen_everything_else
    gi.graph = build_graph(agi.common,
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 2858, in build_graph
    build_sub_graph(common,graph, bitpos, skipped_bits)
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 2671, in build_sub_graph
    build_sub_graph(common, child, bitpos, 0)
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 2671, in build_sub_graph
    build_sub_graph(common, child, bitpos, 0)
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 2671, in build_sub_graph
    build_sub_graph(common, child, bitpos, 0)
  [Previous line repeated 2 more times]
  File "/home/sho/Documents/trash/xed_test/shit/../xed/pysrc/generator.py", line 2728, in build_sub_graph
    die("Look-ahead error - only some are nonterminal " +
  File "/home/sho/Documents/trash/xed_test/xed/pysrc/genutil.py", line 81, in die

Thanks for reporting this issue.

There are some legacy complexities and restructuring needed to properly address this.
Could you share the priority or urgency of this bug from your perspective? This will help us prioritize the fix accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants