openresty / openresty/luajit2

loongarch64, lj_arch.h:73:2: error: #error "No support for this architecture (yet)"

Open
#185 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1.4k
Forks
252
Avg merge
7d 11h
Merged PRs (30d)
3

Description

openresty-1.21.4.1/build/LuaJIT-2.1-20220411/src”
lj_arch.h:73:2: error: #error "No support for this architecture (yet)"
#error "No support for this architecture (yet)"
^~~~~

[root@localhost build]# uname -a
Linux localhost.localdomain 4.19.90-23.19.v2101.a.ky10.loongarch64 #1 SMP Mon Sep 13 22:33:20 CST 2021 loongarch64 loongarch64 loongarch64 GNU/Linux

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with src/lj_arch.h at line 73 and reproduce the build on the reported loongarch64 Linux environment. Compare the architecture checks there with the existing supported architectures and determine the scope of required support. Done means LuaJIT builds without the unsupported-architecture error on loongarch64.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
compilers, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.