-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
Please provide a PPC32 Build #71
Comments
looking at what i can find regarding your hardware i am unsure it would be supported. however you can start here: https://github.com/pi-hole/FTL#how-to-compile-ftl-from-source and once DL6ER is awake (he wrote the FTL backend) he may have a better answer |
We'll check and see if our builder is capable of producing binaries for that platform. We use Travis to build out our binaries and it may not be possible to get something on that processor, but we will try. |
I haven't had much luck trying to get a ready-to-use cross compiler. Have you tried to compile FTL from source as suggested by @technicalpyro ? |
I don't think there is a compiler on the WD MyBook.
Debian have ready to use cross compilers AFAIK, you can check on
https://wiki.debian.org/CrossToolchains
Also for other distributions: http://crosstool-ng.github.io/
…On 14/06/2017 3:28 am, "DL6ER" ***@***.***> wrote:
I haven't had much luck trying to get a ready-to-use cross compiler. Have
you tried to compile FTL from source as suggested by @technicalpyro
<https://github.com/technicalpyro> ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#71 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEOr2wUGW4K__fLlqmBDEuJuBJ7XpVawks5sDqqVgaJpZM4N1-a4>
.
|
I was able to cross-compile by doing this as root on a fresh Debian Jessie install: apt update && apt install curl git
echo 'deb http://emdebian.org/tools/debian/ jessie main' >> /etc/apt/sources.list
curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | apt-key add -
dpkg --add-architecture powerpc
apt update
apt install crossbuild-essential-powerpc
git clone https://github.com/pi-hole/FTL
cd FTL
sed -i.bak 's/^CC=gcc/CC=powerpc-linux-gnu-gcc/' Makefile
export ARCH=powerpc
make |
Seems using 'sudo: required' in your Travis config file will provide the sudo capabilities needed to install crosscompilers? I'm not familiar with Travis though. Also adding this to .travis.yml should work I guess: - env:
- BUILD_CC="powerpc-linux-gnu-gcc"
- BIN_NAME="pihole-FTL-powerpc-linux-gnu"
addons:
apt:
packages:
- gcc-powerpc-linux-gnu
- binutils-powerpc-linux-gnu
- libc6-dev-powerpc-cross |
We use the container based Trusty build environment, which precludes the use of |
In raising this issue, I confirm the following (please check boxes, eg [X]) Failure to fill the template will close your issue:
How familiar are you with the codebase?:
1
[BUG | ISSUE] Expected Behaviour:
FTL runs
[BUG | ISSUE] Actual Behaviour:
No binary available for CPU arch ppc as per lscpu output
Architecture: ppc
CPU op-mode(s): 32-bit
Byte Order: Big Endian
CPU(s): 1
On-line CPU(s) list: 0
Thread(s) per core: 1
Core(s) per socket: 1
Socket(s): 1
Model: amcc,apollo3g
BogoMIPS: 1600.00
L1d cache: 32K
L1i cache: 32K
L2d cache: unknown size
L2i cache: unknown size
[BUG | ISSUE] Steps to reproduce:
Install pi-hole on a PPC based device.
Device specifics
Hardware Type: MyBook Live
OS: Linux
The text was updated successfully, but these errors were encountered: