Created attachment 10628 [details]
It is screenshot of error while making glibc
I am on android 5.1 kernel 3.10.65+ aarch64
I am trying to compile glibc in Kali Nethunter but when I executed make then an error was came , error is given in screenshot
All GCC versions supported for building glibc support the __uint128_t type on 64-bit systems, so you must be building with an unsupported compiler. Please work with the libc-help mailing list on understanding the problems with your build environment and why configure didn't detect them. You'll need to post information such as the complete output of the configure script (text, not image) and the options passed to it, and probably the contents of config.log.
First of all thnx Joseph for your reply
Click on pastebin link to see all required things like configure script output , config.log output and make error.
I can't paste here my frst account got blocked due to spam...that's why I am giving pastebin link
Link :-----> https://pastebin.com/NkUDd1Gp
You're trying to build an aarch64 glibc with an arm compiler. That can't
possibly work. Please use the libc-help mailing list, not Bugzilla, for
any further questions about how to build glibc.
*** Bug 22482 has been marked as a duplicate of this bug. ***
For the record, the key piece of information from the pastebin is this:
Configured with: ../src/configure -v --with-pkgversion='Debian 7.2.0-12' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=arm-linux-gnueabihf- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-werror --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Which shows the compiler used by the user is a "arm-linux-gnueabihf" 32-bit ARM compiler, and the user is trying to use this to compile a 64-bit AArch64 glibc.
It means that Kali Nethunter can only compile glibc for arm not aarch64 or arm64
(In reply to Auxilus from comment #6)
> It means that Kali Nethunter can only compile glibc for arm not aarch64 or
Please ask these questions on firstname.lastname@example.org.