openwrt / openwrt/packages

luajit2 is not compiled for PowerPC8548 (relocation unsupported for bss-plt)

Open
#26,577 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Package details:

Maintainer: @jmarcet
PowerPC8545, musl
OpenWrt snapshot

Log:

/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_8548_gcc-14.2.0_musl/bin/../lib/gcc/powerpc-openwrt-linux-musl/14.2.0/../../../../powerpc-openwrt-linux-musl/bin/ld: lib_aux.o: in function `error_finalizer':
luajit2-2.1.2024.11.13/src/lib_aux.c:325:(.text+0xae): R_PPC_PLT16_HA relocation unsupported for bss-plt

Full log available here:
https://downloads.openwrt.org/snapshots/faillogs/powerpc_8548/packages/luajit2/compile.txt

Contributor guide

Open the contributing guide

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 by reviewing the luajit2 build failure in the linked compile.txt log and the reported location src/lib_aux.c:325. Investigate how the OpenWrt package builds luajit2 for PowerPC8548, then verify that compilation completes without the bss-plt relocation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, lua
Domain
build-system, compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.