openwrt / openwrt/packages

[19.07] coova-chilli can not be built with enabled ASLR PIE for some targets

Open
#11,622 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Maintainer: @teslamint
Environment: powerpc 8540 && aarch64 cortex-a53 , OpenWrt 19.07.
I can compile it for mvebu (cortex-a9) successfully

Description:

CC      /mypath/target-aarch64_cortex-a53_musl/coova-chilli-1.4/src/linux/xt_coova.mod.o
LD [M]  /mypath/target-aarch64_cortex-a53_musl/coova-chilli-1.4/src/linux/xt_coova.ko
aarch64-openwrt-linux-musl-ld: -f may not be used without -shared
scripts/Makefile.modpost:129: recipe for target '/mypath/target-aarch64_cortex-a53_musl/coova-chilli-1.4/src/linux/xt_coova.ko' failed
make[8]: *** [/mypath/target-aarch64_cortex-a53_musl/coova-chilli-1.4/src/linux/xt_coova.ko] Error 1
Makefile:1545: recipe for target 'modules' failed
make[7]: *** [modules] Error 2
make[7]: Leaving directory '/mypath/target-aarch64_cortex-a53_musl/linux-mvebu_cortexa53/linux-4.14.172'
Makefile:7: recipe for target 'all' failed
make[6]: *** [all] Error 2
rm libxt_coova.o

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 with coova-chilli-1.4/src/linux/xt_coova.mod.o and the OpenWrt/Linux kernel-module build output, especially the failing xt_coova.ko target. Reproduce the build for aarch64 cortex-a53 or powerpc 8540 with ASLR PIE enabled, compare it with the working mvebu cortex-a9 build, and confirm that the package builds successfully for the affected targets.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.