-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Add powerpc arch #88
Add powerpc arch #88
Conversation
Pi-hole FTL v2.7.1
FTL v2.7.2
FTL v2.7.3
FTL v2.7.4
Master - Fix wrong config key for AAAA_QUERY_ANALYSIS
FTL v2.9.1
Fixes #71 |
Just an observation. The generated binary is significantly larger than the one I got from compiling on GCC 4.9.2. Seem to work alright AFAIK. root@MyBook-Live:~# file pihole-FTL-powerpc-linux-gnu $(which pihole-FTL)
pihole-FTL-powerpc-linux-gnu: ELF 32-bit MSB shared object, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked, interpreter /lib/ld.so.1, for GNU/Linux 2.6.32, BuildID[sha1]=98a2b550f82ca20d8580ba3c9c0585802a9c0db0, not stripped
/usr/bin/pihole-FTL: ELF 32-bit MSB shared object, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked, interpreter /lib/ld.so.1, for GNU/Linux 2.6.32, BuildID[sha1]=684983a82263186ef118bea6e1c9738fa8b9b87b, not stripped
root@MyBook-Live:~# ls -lh pihole-FTL-powerpc-linux-gnu $(which pihole-FTL)
-rwxr-xr-x 1 root root 1.4M Jun 20 07:24 pihole-FTL-powerpc-linux-gnu
-rwxr-xr-x 1 root root 383K Jun 14 16:45 /usr/bin/pihole-FTL
root@MyBook-Live:~# gcc --version
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
May be from the debugging symbols that we leave in the binary for @DL6ER Am I vastly incorrect? |
Ignore that, compiling the same version gives similar results. Seems that between pihole-FTL v2.8.2 and v2.9.2 the binary size grew from ~400kb to ~1.4MB. |
By submitting this pull request, I confirm the following (please check boxes, eg [X]) Failure to fill the template will close your PR:
Please submit all pull requests against the
development
branch. Failure to do so will delay or deny your requestHow familiar are you with the codebase?: 1
Add powerpc arch to the build scripts.