Hax4Us

Glibcerror

Nov 22nd, 2017
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.64 KB | None | 0 0
  1.  
  2. root@kali:~# gcc --version
  3. gcc (Debian 7.2.0-12) 7.2.1 20171025
  4. Copyright (C) 2017 Free Software Foundation, Inc.
  5. This is free software; see the source for copying conditions. There is NO
  6. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  7.  
  8. root@kali:~# cd /home
  9. root@kali:/home# ls
  10. gbuild glibc-2.26
  11. root@kali:/home# cd gbuild
  12. root@kali:/home/gbuild# ls
  13. Makefile csu libcrypt.map libthread_db.map
  14. Versions.all dl-tunable-list.h libdl.map libutil.map
  15. Versions.def dl-tunable-list.stmp libm.map shlib-versions.v
  16. Versions.tmp first-versions.h libnsl.map shlib-versions.v.i
  17. Versions.v ld.map libnss_compat.map soversions.i
  18. Versions.v.i ldbl-compat-choose.h libnss_db.map soversions.mk
  19. abi-versions.h libBrokenLocale.map libnss_dns.map stamp.o
  20. bits libanl.map libnss_files.map stamp.oS
  21. cmath libc-abis.h libnss_hesiod.map stamp.os
  22. config.h libc-abis.stamp libnss_nis.map sysd-rules
  23. config.log libc-modules.h libnss_nisplus.map sysd-sorted
  24. config.make libc-modules.stmp libpthread.map sysd-syscalls
  25. config.status libc.map libresolv.map sysd-versions
  26. cstdlib libcidn.map librt.map versions.stmp
  27.  
  28. -----------------------
  29. configure script output
  30. -----------------------
  31.  
  32. root@kali:/home/gbuild# ../glibc-2.26/configure --prefix=/usr
  33. checking build system type... aarch64-unknown-linux-gnu
  34. checking host system type... aarch64-unknown-linux-gnu
  35. checking for gcc... gcc
  36. checking for suffix of object files... o
  37. checking whether we are using the GNU C compiler... yes
  38. checking whether gcc accepts -g... yes
  39. checking for readelf... readelf
  40. checking for g++... g++
  41. checking whether we are using the GNU C++ compiler... yes
  42. checking whether g++ accepts -g... yes
  43. checking whether g++ can link programs... yes
  44. checking for sysdeps preconfigure fragments... aarch64 alpha arm hppa i386 m68k microblaze mips nios2 powerpc s390 sh sparc tile x86_64
  45. configure: running configure fragment for add-on libidn
  46. checking for -fstack-protector... yes
  47. checking for -fstack-protector-strong... yes
  48. checking for -fstack-protector-all... yes
  49. checking for assembler and linker STT_GNU_IFUNC support... yes
  50. checking for gcc attribute ifunc support... no
  51. checking sysdep dirs... sysdeps/unix/sysv/linux/aarch64 sysdeps/aarch64/nptl sysdeps/unix/sysv/linux/generic sysdeps/unix/sysv/linux/wordsize-64 sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix sysdeps/posix sysdeps/aarch64/fpu sysdeps/aarch64/multiarch sysdeps/aarch64 sysdeps/wordsize-64 sysdeps/ieee754/ldbl-128 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/aarch64/soft-fp sysdeps/ieee754 sysdeps/generic
  52. checking for a BSD-compatible install... /usr/bin/install -cchecking whether ln -s works... yes
  53. checking whether as is GNU as... yes
  54. checking whether ld is GNU ld... yes
  55. checking for as... as
  56. checking version of as... 2.29.1, ok
  57. checking for ld... ld
  58. checking version of ld... 2.29.1, ok
  59. checking for gnumake... no
  60. checking for gmake... no
  61. checking for make... make
  62. checking version of make... 4.1, ok
  63. checking for gnumsgfmt... no
  64. checking for gmsgfmt... no
  65. checking for msgfmt... no
  66. checking for makeinfo... no
  67. checking for sed... sed
  68. checking version of sed... 4.4, ok
  69. checking for gawk... gawk
  70. checking version of gawk... 4.1.4, ok
  71. checking if gcc is sufficient to build libc... yes
  72. checking for nm... nm
  73. checking for python3... python3
  74. configure: WARNING:
  75. *** These auxiliary programs are missing or incompatible versions: msgfmt makeinfo
  76. *** some features or tests will be disabled.
  77. *** Check the INSTALL file for required versions.
  78. checking LD_LIBRARY_PATH variable... ok
  79. checking for bash... /bin/bash
  80. checking for perl... /usr/bin/perl
  81. checking for install-info... no
  82. checking for bison... no
  83. checking for .set assembler directive... yes
  84. checking linker support for protected data symbol... yes
  85. checking for broken __attribute__((alias()))... no
  86. checking whether to put _rtld_local into .sdata section... no
  87. checking whether to use .ctors/.dtors header and trailer... no
  88. checking for libunwind-support in compiler... no
  89. checking whether --noexecstack is desirable for .S files... yes
  90. checking for -z combreloc... yes
  91. checking for linker that supports -z execstack... yes
  92. checking for -fpie... yes
  93. checking for --hash-style option... yes
  94. checking for sufficient default -shared layout... no
  95. checking for GLOB_DAT reloc... yes
  96. checking linker output format... elf32-littlearm
  97. checking for -fno-toplevel-reorder -fno-section-anchors... yes
  98. checking for -mtls-dialect=gnu2... yes
  99. checking whether cc puts quotes around section names... no
  100. checking for __builtin_memset... no
  101. checking for redirection of built-in functions... yes
  102. checking for compiler option to disable generation of FMA instructions... -ffp-contract=off
  103. checking if gcc accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__))... yes
  104. checking for libgd... no
  105. checking for is_selinux_enabled in -lselinux... no
  106. checking for _FORTIFY_SOURCE predefine... no
  107. checking whether the linker provides working __ehdr_start... yes
  108. checking for __builtin_trap with no external dependencies... yes
  109. checking whether the C++ compiler supports thread_local... yes
  110. running configure fragment for sysdeps/unix/sysv/linux/aarch64
  111. running configure fragment for sysdeps/unix/sysv/linux
  112. checking installed Linux kernel header files... 3.2.0 or later
  113. checking for kernel header at least 3.7.0... ok
  114. checking for symlinks in /usr/include... ok
  115. running configure fragment for sysdeps/gnu
  116. running configure fragment for sysdeps/aarch64
  117. checking for grep that handles long lines and -e... /bin/grep
  118. checking for egrep... /bin/grep -E
  119. checking for big endian... no
  120. checking whether -fPIC is default... yes
  121. checking whether -fPIE is default... yes
  122. configure: creating ./config.status
  123. config.status: creating config.make
  124. config.status: creating Makefile
  125. config.status: creating config.h
  126. config.status: config.h is unchanged
  127. config.status: executing default commands
  128. root@kali:/home/gbuild# apt-get install make
  129.  
  130. -----------------
  131. Config.log output
  132. -----------------
  133.  
  134. root@kali:/home/gbuild# cat config.log
  135. This file contains any messages produced by compilers while
  136. running configure, to aid debugging if configure makes a mistake.
  137.  
  138. It was created by GNU C Library configure (see version.h), which was
  139. generated by GNU Autoconf 2.69. Invocation command line was
  140. $ ../glibc-2.26/configure --prefix=/usr
  141.  
  142. ## --------- ##
  143. ## Platform. ##
  144. ## --------- ##
  145.  
  146. hostname = kali
  147. uname -m = aarch64
  148. uname -r = 3.10.65+
  149. uname -s = Linux
  150. uname -v = #1 SMP PREEMPT Sat Mar 5 08:46:58 CST 2016
  151.  
  152. /usr/bin/uname -p = unknown
  153. /bin/uname -X = unknown
  154.  
  155. /bin/arch = unknown
  156. /usr/bin/arch -k = unknown
  157. /usr/convex/getsysinfo = unknown
  158. /usr/bin/hostinfo = unknown
  159. /bin/machine = unknown
  160. /usr/bin/oslevel = unknown
  161. /bin/universe = unknown
  162.  
  163. PATH: /usr/local/sbin
  164. PATH: /usr/local/bin
  165. PATH: /usr/sbin
  166. PATH: /usr/bin
  167. PATH: /sbin
  168. PATH: /bin
  169. PATH: /system/xbin
  170.  
  171.  
  172. ## ----------- ##
  173. ## Core tests. ##
  174. ## ----------- ##
  175.  
  176. configure:2213: checking build system type
  177. configure:2227: result: aarch64-unknown-linux-gnu
  178. configure:2247: checking host system type
  179. configure:2260: result: aarch64-unknown-linux-gnu
  180. configure:2329: checking for gcc
  181. configure:2345: found /usr/bin/gcc
  182. configure:2356: result: gcc
  183. configure:2585: checking for C compiler version
  184. configure:2594: gcc --version >&5
  185. gcc (Debian 7.2.0-12) 7.2.1 20171025
  186. Copyright (C) 2017 Free Software Foundation, Inc.
  187. This is free software; see the source for copying conditions. There is NO
  188. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  189.  
  190. configure:2605: $? = 0
  191. configure:2594: gcc -v >&5
  192. Using built-in specs.
  193. COLLECT_GCC=gcc
  194. COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/7/lto-wrapper
  195. Target: arm-linux-gnueabihf
  196. 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
  197. Thread model: posix
  198. gcc version 7.2.1 20171025 (Debian 7.2.0-12)
  199. configure:2605: $? = 0
  200. configure:2594: gcc -V >&5
  201. gcc: error: unrecognized command line option '-V'
  202. gcc: fatal error: no input files
  203. compilation terminated.
  204. configure:2605: $? = 1
  205. configure:2594: gcc -qversion >&5
  206. gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
  207. gcc: fatal error: no input files
  208. compilation terminated.
  209. configure:2605: $? = 1
  210. configure:2610: checking for suffix of object files
  211. configure:2632: gcc -c conftest.c >&5
  212. configure:2636: $? = 0
  213. configure:2657: result: o
  214. configure:2661: checking whether we are using the GNU C compiler
  215. configure:2680: gcc -c conftest.c >&5
  216. configure:2680: $? = 0
  217. configure:2689: result: yes
  218. configure:2698: checking whether gcc accepts -g
  219. configure:2718: gcc -c -g conftest.c >&5
  220. configure:2718: $? = 0
  221. configure:2759: result: yes
  222. configure:2879: checking for readelf
  223. configure:2895: found /usr/bin/readelf
  224. configure:2906: result: readelf
  225. configure:2988: checking for g++
  226. configure:3004: found /usr/bin/g++
  227. configure:3015: result: g++
  228. configure:3042: checking for C++ compiler version
  229. configure:3051: g++ --version >&5
  230. g++ (Debian 7.2.0-12) 7.2.1 20171025
  231. Copyright (C) 2017 Free Software Foundation, Inc.
  232. This is free software; see the source for copying conditions. There is NO
  233. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  234.  
  235. configure:3062: $? = 0
  236. configure:3051: g++ -v >&5
  237. Using built-in specs.
  238. COLLECT_GCC=g++
  239. COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/7/lto-wrapper
  240. Target: arm-linux-gnueabihf
  241. 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
  242. Thread model: posix
  243. gcc version 7.2.1 20171025 (Debian 7.2.0-12)
  244. configure:3062: $? = 0
  245. configure:3051: g++ -V >&5
  246. g++: error: unrecognized command line option '-V'
  247. g++: fatal error: no input files
  248. compilation terminated.
  249. configure:3062: $? = 1
  250. configure:3051: g++ -qversion >&5
  251. g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
  252. g++: fatal error: no input files
  253. compilation terminated.
  254. configure:3062: $? = 1
  255. configure:3066: checking whether we are using the GNU C++ compiler
  256. configure:3085: g++ -c conftest.cpp >&5
  257. configure:3085: $? = 0
  258. configure:3094: result: yes
  259. configure:3103: checking whether g++ accepts -g
  260. configure:3123: g++ -c -g conftest.cpp >&5
  261. configure:3123: $? = 0
  262. configure:3164: result: yes
  263. configure:3189: checking whether g++ can link programs
  264. configure:3212: g++ -o conftest -g -O2 conftest.cpp >&5
  265. configure:3212: $? = 0
  266. configure:3235: g++ -o conftest -g -O2 -static conftest.cpp >&5
  267. configure:3235: $? = 0
  268. configure:3250: result: yes
  269. configure:3809: checking for sysdeps preconfigure fragments
  270. configure:3816: result:
  271. configure:3887: running configure fragment for add-on libidnconfigure:3982: checking for -fstack-protector
  272. configure:3988: gcc -g -O2 -Werror -fstack-protector -xc /dev/null -S -o /dev/null
  273. configure:3991: $? = 0
  274. configure:3999: result: yes
  275. configure:4002: checking for -fstack-protector-strong
  276. configure:4008: gcc -g -O2 -Werror -fstack-protector-strong -xc /dev/null -S -o /dev/null
  277. configure:4011: $? = 0
  278. configure:4019: result: yes
  279. configure:4022: checking for -fstack-protector-all
  280. configure:4028: gcc -g -O2 -Werror -fstack-protector-all -xc /dev/null -S -o /dev/null
  281. configure:4031: $? = 0
  282. configure:4039: result: yes
  283. configure:4082: checking for assembler and linker STT_GNU_IFUNC support
  284.  
  285. Relocation section '.rel.dyn' at offset 0x190 contains 1 entries:
  286. Offset Info Type Sym.Value Sym. Name
  287. 0001100c 000000a0 R_ARM_IRELATIVE
  288. configure:4113: result: yes
  289. configure:4117: checking for gcc attribute ifunc support
  290. conftest.c:10:24: error: ifunc is not supported on this target
  291. extern __typeof (func) func __attribute__ ((ifunc ("resolver")));
  292. ^~~~
  293. configure:4143: result: no
  294. configure:4168: checking sysdep dirs
  295. configure:4388: result: sysdeps/generic
  296. configure:4465: checking for a BSD-compatible install
  297. configure:4533: result: /usr/bin/install -c
  298. configure:4548: checking whether ln -s works
  299. configure:4552: result: yes
  300. configure:4576: checking whether as is GNU as
  301. configure:4590: result: yes
  302. configure:4595: checking whether ld is GNU ld
  303. configure:4609: result: yes
  304. configure:4619: checking for as
  305. configure:4646: result: as
  306. configure:4661: checking version of as
  307. configure:4671: result: 2.29.1, ok
  308. configure:4749: checking for ld
  309. configure:4776: result: ld
  310. configure:4791: checking version of ld
  311. configure:4801: result: 2.29.1, ok
  312. configure:4816: checking for gnumake
  313. configure:4846: result: no
  314. configure:4816: checking for gmake
  315. configure:4846: result: no
  316. configure:4816: checking for make
  317. configure:4832: found /usr/bin/make
  318. configure:4843: result: make
  319. configure:4858: checking version of make
  320. configure:4868: result: 4.1, ok
  321. configure:4880: checking for gnumsgfmt
  322. configure:4910: result: no
  323. configure:4880: checking for gmsgfmt
  324. configure:4910: result: no
  325. configure:4880: checking for msgfmt
  326. configure:4910: result: no
  327. configure:4943: checking for makeinfo
  328. configure:4973: result: no
  329. configure:5006: checking for sed
  330. configure:5022: found /bin/sed
  331. configure:5033: result: sed
  332. configure:5048: checking version of sed
  333. configure:5058: result: 4.4, ok
  334. configure:5069: checking for gawk
  335. configure:5085: found /usr/bin/gawk
  336. configure:5096: result: gawk
  337. configure:5111: checking version of gawk
  338. configure:5121: result: 4.1.4, ok
  339. configure:5129: checking if gcc is sufficient to build libc
  340. configure:5149: gcc -c -g -O2 conftest.c >&5
  341. configure:5149: $? = 0
  342. configure:5156: result: yes
  343. configure:5205: checking for nm
  344. configure:5221: found /usr/bin/nm
  345. configure:5232: result: nm
  346. configure:5330: checking for python3
  347. configure:5346: found /usr/bin/python3
  348. configure:5357: result: python3
  349. configure:5388: WARNING:
  350. *** These auxiliary programs are missing or incompatible versions: msgfmt makeinfo
  351. *** some features or tests will be disabled.
  352. *** Check the INSTALL file for required versions.
  353. configure:5439: checking LD_LIBRARY_PATH variable
  354. configure:5449: result: ok
  355. configure:5460: checking for bash
  356. configure:5478: found /bin/bash
  357. configure:5491: result: /bin/bash
  358. configure:5502: checking for perl
  359. configure:5520: found /usr/bin/perl
  360. configure:5533: result: /usr/bin/perl
  361. configure:5547: checking for install-info
  362. configure:5579: result: no
  363. configure:5591: checking for bison
  364. configure:5621: result: no
  365. configure:5651: checking for .set assembler directive
  366. configure:5677: result: yes
  367. configure:5684: checking linker support for protected data symbol
  368. configure:5694: gcc -nostdlib -nostartfiles -fno-stack-protector -fPIC -shared conftest.c -o conftest.so
  369. configure:5697: $? = 0
  370. configure:5704: gcc -nostdlib -nostartfiles -fno-stack-protector conftest.c -o conftest conftest.so
  371. /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 000002a8
  372. configure:5707: $? = 0
  373. configure:5715: result: yes
  374. configure:5719: checking for broken __attribute__((alias()))configure:5734: gcc -Werror -S conftest.c -o conftest.s 1>&5configure:5737: $? = 0
  375. configure:5747: result: no
  376. configure:5753: checking whether to put _rtld_local into .sdata section
  377. configure:5767: result: no
  378. configure:5774: checking whether to use .ctors/.dtors header and trailer
  379. configure:5791: gcc -g -O2 -fno-stack-protector -o conftest
  380. conftest.c -static -nostartfiles -nostdlib
  381. 1>&5
  382. configure:5794: $? = 0
  383. configure:5820: result: no
  384. configure:5827: checking for libunwind-support in compiler
  385. configure:5844: result: no
  386. configure:5853: checking whether --noexecstack is desirable for .S files
  387. configure:5863: gcc -g -O2
  388. -S -o conftest.s conftest.c 1>&5
  389. configure:5866: $? = 0
  390. configure:5871: gcc -Wa,--noexecstack
  391. -c -o conftest.o conftest.s 1>&5
  392. configure:5874: $? = 0
  393. configure:5883: result: yes
  394. configure:5890: checking for -z combreloc
  395. configure:5904: gcc -g -O2
  396. -fPIC -shared -fno-stack-protector -o conftest.so conftest.c
  397. -nostdlib -nostartfiles
  398. -Wl,-z,combreloc 1>&5
  399. configure:5907: $? = 0
  400. configure:5920: result: yes
  401. configure:5928: checking for linker that supports -z execstack
  402. configure:5941: gcc -g -O2 -fno-stack-protector
  403. -Wl,-z,execstack -nostdlib -nostartfiles
  404. -fPIC -shared -o conftest.so conftest.c
  405. 1>&5
  406. configure:5944: $? = 0
  407. configure:5957: result: yes
  408. configure:5961: checking for -fpie
  409. configure:5967: gcc -fpie -xc /dev/null -S -o /dev/null
  410. configure:5970: $? = 0
  411. configure:5978: result: yes
  412. configure:5983: checking for --hash-style option
  413. configure:5994: gcc -g -O2 -fno-stack-protector
  414. -fPIC -shared -o conftest.so conftest.c
  415. -Wl,--hash-style=both -nostdlib 1>&5
  416. configure:5997: $? = 0
  417. configure:6006: result: yes
  418. configure:6014: checking for sufficient default -shared layout
  419. configure:6033: gcc -shared -o conftest.so conftest.s 1>&5
  420. configure:6036: $? = 0
  421. nono from:
  422.  
  423. NOTE .note.gnu.build-i
  424. GNU_HASH .gnu.hash
  425. DYNSYM .dynsym
  426. STRTAB .dynstr
  427. VERSYM .gnu.version
  428. VERNEED .gnu.version_r
  429. REL .rel.dyn
  430. REL .rel.plt
  431. PROGBITS .init
  432. PROGBITS .plt
  433. PROGBITS .text
  434. PROGBITS .fini
  435. NOTE .note.a
  436. NOTE .note.b
  437. PROGBITS .eh_frame
  438. INIT_ARRAY .init_array
  439. FINI_ARRAY .fini_array
  440. DYNAMIC .dynamic
  441. PROGBITS .got
  442. PROGBITS .data
  443. NOBITS .bss
  444. PROGBITS .comment
  445. ARM_ATTRIBUTES .ARM.attributes
  446. SYMTAB .symtab
  447. STRTAB .strtab
  448. STRTAB .shstrtab
  449. configure:6068: result: no
  450. configure:6073: checking for GLOB_DAT reloc
  451. configure:6086: gcc -g -O2
  452. -fPIC -shared -o conftest.so conftest.c
  453. -nostdlib -nostartfiles -fno-stack-protector
  454. 1>&5
  455. configure:6089: $? = 0
  456. configure:6102: result: yes
  457. configure:6106: checking linker output format
  458. configure:6120: result: elf32-littlearm
  459. configure:6124: checking for -fno-toplevel-reorder -fno-section-anchors
  460. configure:6134: gcc -g -O2 -S -fno-toplevel-reorder -fno-section-anchors
  461. conftest.c 1>&5
  462. configure:6137: $? = 0
  463. configure:6146: result: yes
  464. configure:6155: checking for -mtls-dialect=gnu2
  465. configure:6169: gcc -g -O2 -S -fPIC -mtls-dialect=gnu2
  466. conftest.c 1>&5
  467. configure:6172: $? = 0
  468. configure:6181: result: yes
  469. configure:6187: checking whether cc puts quotes around section names
  470. configure:6208: result: no
  471. configure:6215: checking for __builtin_memset
  472. configure:6227: gcc -O3 -S conftest.c -o - | grep -F memset > /dev/null
  473. configure:6230: $? = 0
  474. configure:6239: result: no
  475. configure:6246: checking for redirection of built-in functions
  476. configure:6259: gcc -O3 -S conftest.c -o - | grep -F my_strstr > /dev/null
  477. configure:6262: $? = 0
  478. configure:6271: result: yes
  479. configure:6277: checking for compiler option to disable generation of FMA instructions
  480. configure:6285: gcc -ffp-contract=off -xc /dev/null -S -o /dev/null
  481. configure:6288: $? = 0
  482. configure:6294: result: -ffp-contract=off
  483. configure:6327: checking if gcc accepts -fno-tree-loop-distribute-patterns with __attribute__ ((__optimize__))
  484. configure:6340: gcc -g -O2 -c conftest.c
  485. configure:6343: $? = 0
  486. configure:6350: result: yes
  487. configure:6358: checking for libgd
  488. configure:6378: gcc -o conftest -g -O2 conftest.c -lgd -lpng -lz -lm >&5
  489. conftest.c:20:10: fatal error: gd.h: No such file or directory
  490. #include <gd.h>
  491. ^~~~~~
  492. compilation terminated.
  493. configure:6378: $? = 1
  494. configure: failed program was:
  495. | /* confdefs.h */
  496. | #define PACKAGE_NAME "GNU C Library"
  497. | #define PACKAGE_TARNAME "glibc"
  498. | #define PACKAGE_VERSION "(see version.h)"
  499. | #define PACKAGE_STRING "GNU C Library (see version.h)"
  500. | #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/"
  501. | #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
  502. | #define PKGVERSION "(GNU libc) "
  503. | #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
  504. | #define HAVE_TUNABLES 1
  505. | #define HAVE_LIBIDN 1
  506. | #define HAVE_CC_NO_STACK_PROTECTOR 1
  507. | #define STACK_PROTECTOR_LEVEL 0
  508. | #define USE_MULTIARCH 1
  509. | #define HAVE_ASM_SET_DIRECTIVE 1
  510. | #define NO_CTORS_DTORS_SECTIONS 1
  511. | #define HAVE_Z_COMBRELOC 1
  512. | #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
  513. | /* end confdefs.h. */
  514. | #include <gd.h>
  515. | int
  516. | main ()
  517. | {
  518. | gdImagePng (0, 0)
  519. | ;
  520. | return 0;
  521. | }
  522. configure:6391: result: no
  523. configure:6400: checking for is_selinux_enabled in -lselinuxconfigure:6425: gcc -o conftest -g -O2 conftest.c -lselinux >&5
  524. /usr/bin/ld: cannot find -lselinux
  525. collect2: error: ld returned 1 exit status
  526. configure:6425: $? = 1
  527. configure: failed program was:
  528. | /* confdefs.h */
  529. | #define PACKAGE_NAME "GNU C Library"
  530. | #define PACKAGE_TARNAME "glibc"
  531. | #define PACKAGE_VERSION "(see version.h)"
  532. | #define PACKAGE_STRING "GNU C Library (see version.h)"
  533. | #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/"
  534. | #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
  535. | #define PKGVERSION "(GNU libc) "
  536. | #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
  537. | #define HAVE_TUNABLES 1
  538. | #define HAVE_LIBIDN 1
  539. | #define HAVE_CC_NO_STACK_PROTECTOR 1
  540. | #define STACK_PROTECTOR_LEVEL 0
  541. | #define USE_MULTIARCH 1
  542. | #define HAVE_ASM_SET_DIRECTIVE 1
  543. | #define NO_CTORS_DTORS_SECTIONS 1
  544. | #define HAVE_Z_COMBRELOC 1
  545. | #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
  546. | /* end confdefs.h. */
  547. |
  548. | /* Override any GCC internal prototype to avoid an error.
  549. | Use char because int might match the return type of a GCC
  550. | builtin and then its argument prototype would still apply. */
  551. | #ifdef __cplusplus
  552. | extern "C"
  553. | #endif
  554. | char is_selinux_enabled ();
  555. | int
  556. | main ()
  557. | {
  558. | return is_selinux_enabled ();
  559. | ;
  560. | return 0;
  561. | }
  562. configure:6434: result: no
  563. configure:6557: checking for _FORTIFY_SOURCE predefine
  564. configure:6576: gcc -c -g -O2 conftest.c >&5
  565. configure:6576: $? = 0
  566. configure:6583: result: no
  567. configure:6593: checking whether the linker provides working __ehdr_start
  568. configure:6616: gcc -o conftest -g -O2 -fPIC -nostdlib -nostartfiles -shared -fno-stack-protector conftest.c >&5
  569. configure:6616: $? = 0
  570. configure:6632: result: yes
  571. configure:6642: checking for __builtin_trap with no external dependencies
  572. configure:6659: gcc -c -g -O2 conftest.c >&5
  573. configure:6659: $? = 0
  574. libc_undefs=''
  575. configure:6673: result: yes
  576. configure:6687: checking whether the C++ compiler supports thread_local
  577. configure:6715: g++ -c -g -O2 -std=gnu++11 conftest.cpp >&5configure:6715: $? = 0
  578. configure:6724: result: yes
  579. configure:6754: result: running configure fragment for sysdeps/unix/sysv/linux/aarch64
  580. configure:6754: result: running configure fragment for sysdeps/unix/sysv/linux
  581. configure:9: checking installed Linux kernel header files
  582. configure:28: gcc -c -g -O2 conftest.c >&5
  583. configure:28: $? = 0
  584. configure:35: result: 3.2.0 or later
  585. configure:69: checking for kernel header at least 3.7.0
  586. configure:87: gcc -c -g -O2 conftest.c >&5
  587. configure:87: $? = 0
  588. configure:93: result: ok
  589. configure:142: checking for symlinks in /usr/include
  590. configure:159: result: ok
  591. configure:6754: result: running configure fragment for sysdeps/gnu
  592. configure:6754: result: running configure fragment for sysdeps/aarch64
  593. configure:13: checking for grep that handles long lines and -e
  594. configure:71: result: /bin/grep
  595. configure:76: checking for egrep
  596. configure:138: result: /bin/grep -E
  597. configure:143: checking for big endian
  598. configure:164: result: no
  599. configure:6815: checking whether -fPIC is default
  600. conftest.c:2:3: error: #error PIC is default.
  601. # error PIC is default.
  602. ^~~~~
  603. configure:6831: result: yes
  604. configure:6835: checking whether -fPIE is default
  605. conftest.c:2:3: error: #error PIE is default.
  606. # error PIE is default.
  607. ^~~~~
  608. configure:6851: result: yes
  609. configure:6985: creating ./config.status
  610.  
  611. ## ---------------------- ##
  612. ## Running config.status. ##
  613. ## ---------------------- ##
  614.  
  615. This file was extended by GNU C Library config.status (see version.h), which was
  616. generated by GNU Autoconf 2.69. Invocation command line was
  617. CONFIG_FILES =
  618. CONFIG_HEADERS =
  619. CONFIG_LINKS =
  620. CONFIG_COMMANDS =
  621. $ ./config.status
  622.  
  623. on kali
  624.  
  625. config.status:940: creating config.make
  626. config.status:940: creating Makefile
  627. config.status:940: creating config.h
  628. config.status:1100: config.h is unchanged
  629. config.status:1114: executing default commands
  630.  
  631. ## ---------------- ##
  632. ## Cache variables. ##
  633. ## ---------------- ##
  634.  
  635. ac_cv_build=aarch64-unknown-linux-gnu
  636. ac_cv_c_compiler_gnu=yes
  637. ac_cv_cxx_compiler_gnu=yes
  638. ac_cv_env_CCC_set=
  639. ac_cv_env_CCC_value=
  640. ac_cv_env_CC_set=
  641. ac_cv_env_CC_value=
  642. ac_cv_env_CFLAGS_set=
  643. ac_cv_env_CFLAGS_value=
  644. ac_cv_env_CPPFLAGS_set=
  645. ac_cv_env_CPPFLAGS_value=
  646. ac_cv_env_CPP_set=
  647. ac_cv_env_CPP_value=
  648. ac_cv_env_CXXFLAGS_set=
  649. ac_cv_env_CXXFLAGS_value=
  650. ac_cv_env_CXX_set=
  651. ac_cv_env_CXX_value=
  652. ac_cv_env_LDFLAGS_set=
  653. ac_cv_env_LDFLAGS_value=
  654. ac_cv_env_LIBS_set=
  655. ac_cv_env_LIBS_value=
  656. ac_cv_env_build_alias_set=
  657. ac_cv_env_build_alias_value=
  658. ac_cv_env_host_alias_set=
  659. ac_cv_env_host_alias_value=
  660. ac_cv_env_target_alias_set=
  661. ac_cv_env_target_alias_value=
  662. ac_cv_host=aarch64-unknown-linux-gnu
  663. ac_cv_lib_selinux_is_selinux_enabled=no
  664. ac_cv_objext=o
  665. ac_cv_path_BASH_SHELL=/bin/bash
  666. ac_cv_path_EGREP='/bin/grep -E'
  667. ac_cv_path_GREP=/bin/grep
  668. ac_cv_path_INSTALL_INFO=no
  669. ac_cv_path_PERL=/usr/bin/perl
  670. ac_cv_path_install='/usr/bin/install -c'
  671. ac_cv_prog_AS=as
  672. ac_cv_prog_AWK=gawk
  673. ac_cv_prog_LD=ld
  674. ac_cv_prog_MAKE=make
  675. ac_cv_prog_PYTHON_PROG=python3
  676. ac_cv_prog_SED=sed
  677. ac_cv_prog_ac_ct_CC=gcc
  678. ac_cv_prog_ac_ct_CXX=g++
  679. ac_cv_prog_ac_ct_NM=nm
  680. ac_cv_prog_ac_ct_READELF=readelf
  681. ac_cv_prog_cc_g=yes
  682. ac_cv_prog_cxx_g=yes
  683. libc_cv_aarch64_be=no
  684. libc_cv_as_noexecstack=yes
  685. libc_cv_asm_set_directive=yes
  686. libc_cv_broken_alias_attribute=no
  687. libc_cv_builtin_trap=yes
  688. libc_cv_cc_loop_to_function=yes
  689. libc_cv_cc_nofma=-ffp-contract=off
  690. libc_cv_cc_with_libunwind=no
  691. libc_cv_compiler_ok=yes
  692. libc_cv_complocaledir='${exec_prefix}/lib/locale'
  693. libc_cv_ctors_header=no
  694. libc_cv_cxx_link_ok=yes
  695. libc_cv_cxx_thread_local=yes
  696. libc_cv_ehdr_start=yes
  697. libc_cv_fno_toplevel_reorder=yes
  698. libc_cv_fpie=yes
  699. libc_cv_gcc_builtin_memset=no
  700. libc_cv_gcc_builtin_redirection=yes
  701. libc_cv_gcc_indirect_function=no
  702. libc_cv_gcc_unwind_find_fde=no
  703. libc_cv_has_glob_dat=yes
  704. libc_cv_hashstyle=yes
  705. libc_cv_have_sdata_section=no
  706. libc_cv_have_section_quotes=no
  707. libc_cv_idn=no
  708. libc_cv_ld_gnu_indirect_function=yes
  709. libc_cv_linux320='3.2.0 or later'
  710. libc_cv_localstatedir=/var
  711. libc_cv_mtls_dialect_gnu2=yes
  712. libc_cv_nss_crypt=no
  713. libc_cv_output_format=elf32-littlearm
  714. libc_cv_pic_default=yes
  715. libc_cv_pie_default=yes
  716. libc_cv_predef_fortify_source=no
  717. libc_cv_prog_as_gnu=yes
  718. libc_cv_prog_ld_gnu=yes
  719. libc_cv_protected_data=yes
  720. libc_cv_rootsbindir=/sbin
  721. libc_cv_rtlddir=/lib
  722. libc_cv_slibdir=/lib64
  723. libc_cv_ssp=yes
  724. libc_cv_ssp_all=yes
  725. libc_cv_ssp_strong=yes
  726. libc_cv_static_nss_crypt=no
  727. libc_cv_sysconfdir=/etc
  728. libc_cv_use_default_link=no
  729. libc_cv_z_combreloc=yes
  730. libc_cv_z_execstack=yes
  731.  
  732. ## ----------------- ##
  733. ## Output variables. ##
  734. ## ----------------- ##
  735.  
  736. AR='ar'
  737. AS='as'
  738. ASFLAGS_config=' -Wa,--noexecstack'
  739. AUTOCONF='no'
  740. AWK='gawk'
  741. BASH_SHELL='/bin/bash'
  742. BISON='no'
  743. BUILD_CC=''
  744. CC='gcc'
  745. CFLAGS='-g -O2'
  746. CPP='gcc -E'
  747. CPPFLAGS=''
  748. CPPUNDEFS=''
  749. CXX='g++'
  750. CXXFLAGS='-g -O2'
  751. CXX_BITS_STD_ABS_H='/usr/include/c++/7/bits/std_abs.h'
  752. CXX_CMATH_HEADER='/usr/include/c++/7/cmath'
  753. CXX_CSTDLIB_HEADER='/usr/include/c++/7/cstdlib'
  754. CXX_SYSINCLUDES=''
  755. DEFINES=''
  756. DEFS='-DHAVE_CONFIG_H'
  757. ECHO_C=''
  758. ECHO_N='-n'
  759. ECHO_T=''
  760. INSTALL_DATA='${INSTALL} -m 644'
  761. INSTALL_INFO='no'
  762. INSTALL_PROGRAM='${INSTALL}'
  763. INSTALL_SCRIPT='${INSTALL}'
  764. LD='ld'
  765. LDFLAGS=''
  766. LIBGD='no'
  767. LIBOBJS=''
  768. LIBS=''
  769. LN_S='ln -s'
  770. LTLIBOBJS=''
  771. MAKE='make'
  772. MAKEINFO=':'
  773. MSGFMT=':'
  774. NM='nm'
  775. OBJCOPY='objcopy'
  776. OBJDUMP='objdump'
  777. OBJEXT='o'
  778. PACKAGE_BUGREPORT='http://sourceware.org/bugzilla/'
  779. PACKAGE_NAME='GNU C Library'
  780. PACKAGE_STRING='GNU C Library (see version.h)'
  781. PACKAGE_TARNAME='glibc'
  782. PACKAGE_URL='http://www.gnu.org/software/glibc/'
  783. PACKAGE_VERSION='(see version.h)'
  784. PATH_SEPARATOR=':'
  785. PERL='/usr/bin/perl'
  786. PKGVERSION='(GNU libc) '
  787. PKGVERSION_TEXI='(GNU libc) '
  788. PYTHON='python3 -B'
  789. PYTHON_PROG='python3'
  790. READELF='readelf'
  791. RELEASE='stable'
  792. REPORT_BUGS_TEXI='@uref{http://www.gnu.org/software/libc/bugs.html}'
  793. REPORT_BUGS_TO='<http://www.gnu.org/software/libc/bugs.html>'
  794. SED='sed'
  795. SHELL='/bin/bash'
  796. SYSINCLUDES=''
  797. VERSION='2.26'
  798. ac_ct_CC='gcc'
  799. ac_ct_CXX='g++'
  800. add_on_subdirs=' libidn'
  801. add_ons='libidn'
  802. all_warnings=''
  803. base_machine='aarch64'
  804. bindir='${exec_prefix}/bin'
  805. bindnow='no'
  806. build='aarch64-unknown-linux-gnu'
  807. build_alias=''
  808. build_cpu='aarch64'
  809. build_nscd='yes'
  810. build_obsolete_nsl='no'
  811. build_os='linux-gnu'
  812. build_pt_chown='no'
  813. build_vendor='unknown'
  814. cross_compiling='no'
  815. datadir='${datarootdir}'
  816. datarootdir='${prefix}/share'
  817. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  818. dvidir='${docdir}'
  819. enable_lock_elision='no'
  820. enable_timezone_tools='yes'
  821. enable_werror='yes'
  822. exec_prefix='${prefix}'
  823. experimental_malloc='yes'
  824. fno_unit_at_a_time='-fno-toplevel-reorder -fno-section-anchors'
  825. force_install='yes'
  826. hardcoded_path_in_tests='no'
  827. have_libaudit=''
  828. have_libcap=''
  829. have_selinux='no'
  830. have_tunables='yes'
  831. host='aarch64-unknown-linux-gnu'
  832. host_alias=''
  833. host_cpu='aarch64'
  834. host_os='linux-gnu'
  835. host_vendor='unknown'
  836. htmldir='${docdir}'
  837. includedir='${prefix}/include'
  838. infodir='${datarootdir}/info'
  839. ldd_rewrite_script='no'
  840. libc_cv_cc_loop_to_function='yes'
  841. libc_cv_cc_nofma='-ffp-contract=off'
  842. libc_cv_cc_submachine=''
  843. libc_cv_cc_with_libunwind='no'
  844. libc_cv_complocaledir='${exec_prefix}/lib/locale'
  845. libc_cv_cxx_thread_local='yes'
  846. libc_cv_fpie='yes'
  847. libc_cv_gcc_unwind_find_fde='no'
  848. libc_cv_has_glob_dat='yes'
  849. libc_cv_hashstyle='yes'
  850. libc_cv_localstatedir='/var'
  851. libc_cv_mtls_dialect_gnu2='yes'
  852. libc_cv_nss_crypt='no'
  853. libc_cv_output_format='elf32-littlearm'
  854. libc_cv_pic_default='yes'
  855. libc_cv_pie_default='yes'
  856. libc_cv_protected_data='yes'
  857. libc_cv_rootsbindir='/sbin'
  858. libc_cv_rtlddir='/lib'
  859. libc_cv_slibdir='/lib64'
  860. libc_cv_ssp='yes'
  861. libc_cv_static_nss_crypt='no'
  862. libc_cv_sysconfdir='/etc'
  863. libc_cv_z_combreloc='yes'
  864. libc_cv_z_execstack='yes'
  865. libc_extra_cflags=''
  866. libc_extra_cppflags=''
  867. libdir='${exec_prefix}/lib64'
  868. libexecdir='${exec_prefix}/libexec'
  869. link_obsolete_rpc='no'
  870. localedir='${datarootdir}/locale'
  871. localstatedir='${prefix}/var'
  872. mach_interface_list=''
  873. mandir='${datarootdir}/man'
  874. multi_arch='default'
  875. no_stack_protector='-fno-stack-protector -DSTACK_PROTECTOR_LEVEL=0'
  876. oldincludedir='/usr/include'
  877. pdfdir='${docdir}'
  878. prefix='/usr'
  879. profile='no'
  880. program_transform_name='s,x,x,'
  881. psdir='${docdir}'
  882. sbindir='${exec_prefix}/sbin'
  883. shared='yes'
  884. sharedstatedir='${prefix}/com'
  885. stack_protector='-fno-stack-protector'
  886. static=''
  887. static_nss='no'
  888. subdirs=' '
  889. submachine=''
  890. sysconfdir='${prefix}/etc'
  891. sysdeps_add_ons=''
  892. sysheaders=''
  893. sysnames=' sysdeps/unix/sysv/linux/aarch64 sysdeps/aarch64/nptl sysdeps/unix/sysv/linux/generic sysdeps/unix/sysv/linux/wordsize-64 sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix sysdeps/posix sysdeps/aarch64/fpu sysdeps/aarch64/multiarch sysdeps/aarch64 sysdeps/wordsize-64 sysdeps/ieee754/ldbl-128 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/aarch64/soft-fp sysdeps/ieee754 sysdeps/generic'
  894. target_alias=''
  895. use_default_link='no'
  896. use_ldconfig='yes'
  897. use_nscd='yes'
  898. with_fp='yes'
  899.  
  900. ## ----------- ##
  901. ## confdefs.h. ##
  902. ## ----------- ##
  903.  
  904. /* confdefs.h */
  905. #define PACKAGE_NAME "GNU C Library"
  906. #define PACKAGE_TARNAME "glibc"
  907. #define PACKAGE_VERSION "(see version.h)"
  908. #define PACKAGE_STRING "GNU C Library (see version.h)"
  909. #define PACKAGE_BUGREPORT "http://sourceware.org/bugzilla/"
  910. #define PACKAGE_URL "http://www.gnu.org/software/glibc/"
  911. #define PKGVERSION "(GNU libc) "
  912. #define REPORT_BUGS_TO "<http://www.gnu.org/software/libc/bugs.html>"
  913. #define HAVE_TUNABLES 1
  914. #define HAVE_LIBIDN 1
  915. #define HAVE_CC_NO_STACK_PROTECTOR 1
  916. #define STACK_PROTECTOR_LEVEL 0
  917. #define USE_MULTIARCH 1
  918. #define HAVE_ASM_SET_DIRECTIVE 1
  919. #define NO_CTORS_DTORS_SECTIONS 1
  920. #define HAVE_Z_COMBRELOC 1
  921. #define HAVE_CC_INHIBIT_LOOP_TO_LIBCALL 1
  922. #define HAVE_EHDR_START 1
  923. #define HAVE_BUILTIN_TRAP 1
  924. #define __LINUX_KERNEL_VERSION (3 * 65536 + 7 * 256 + 0)
  925. #define __ABI_TAG_VERSION 3,7,0
  926. #define HAVE_INLINED_SYSCALLS 1
  927. #define HAVE_IFUNC 1
  928. #define USE_NSCD 1
  929. #define USE_LDCONFIG 1
  930.  
  931. configure: exit 0
  932.  
  933. ------------------------
  934. Here is error while make
  935. ------------------------
  936.  
  937. root@kali:/home/gbuild# make
  938. make -r PARALLELMFLAGS="" -C ../glibc-2.26 objdir=`pwd` all
  939. make[1]: Entering directory '/home/glibc-2.26'
  940. { echo '#include "posix/bits/posix1_lim.h"'; \
  941. } | \gcc -E -dM -MD -MP -MF /home/gbuild/bits/stdio_lim.dT -MT '/home/gbuild/bits/stdio_lim.h /home/gbuild/bits/stdio_lim.d'\ -Iinclude -I/home/gbuild -Isysdeps/unix/sysv/linux/aarch64 -Isysdeps/aarch64/nptl -Isysdeps/unix/sysv/linux/generic -Isysdeps/unix/sysv/linux/wordsize-64 -Isysdeps/unix/sysv/linux/include -Isysdeps/unix/sysv/linux -Isysdeps/nptl -Isysdeps/pthread -Isysdeps/gnu -Isysdeps/unix/inet -Isysdeps/unix/sysv -Isysdeps/unix -Isysdeps/posix -Isysdeps/aarch64/fpu -Isysdeps/aarch64/multiarch -Isysdeps/aarch64 -Isysdeps/wordsize-64 -Isysdeps/ieee754/ldbl-128 -Isysdeps/ieee754/dbl-64/wordsize-64 -Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/aarch64/soft-fp -Isysdeps/ieee754 -Isysdeps/generic -Ilibio -I. -xc - -o /home/gbuild/bits/stdio_lim.hT
  942. sed -e 's@ /home/gbuild/@ $(common-objpfx)@g' -e 's@^/home/gbuild/@$(common-objpfx)@g' -e 's@ *\([^ \/$][^ \]*\)@ $(..)\1@g' -e 's@^\([^ \/$][^ \]*\)@$(..)\1@g' \ /home/gbuild/bits/stdio_lim.dT > /home/gbuild/bits/stdio_lim.dt
  943. mv -f /home/gbuild/bits/stdio_lim.dt /home/gbuild/bits/stdio_lim.d
  944. fopen_max=`sed -n 's/^#define OPEN_MAX //1p' /home/gbuild/bits/stdio_lim.hT`; \
  945. filename_max=`sed -n 's/^#define PATH_MAX //1p' /home/gbuild/bits/stdio_lim.hT`; \
  946. fopen_max=${fopen_max:-16}; \filename_max=${filename_max:-1024}; \sed -e "s/@FOPEN_MAX@/$fopen_max/" \ -e "s/@FILENAME_MAX@/$filename_max/" \ -e "s/@L_tmpnam@/20/" \
  947. -e "s/@TMP_MAX@/238328/" \
  948. -e "s/@L_ctermid@/9/" \
  949. -e "s/@L_cuserid@/9/" \
  950. stdio-common/stdio_lim.h.in > /home/gbuild/bits/stdio_lim.h.new
  951. /bin/sh scripts/move-if-change /home/gbuild/bits/stdio_lim.h.new /home/gbuild/bits/stdio_lim.h
  952. rm -f /home/gbuild/bits/stdio_lim.hT /home/gbuild/bits/stdio_lim.dT /home/gbuild/bits/stdio_lim.dt
  953. touch /home/gbuild/bits/stdio_lim.st
  954. LC_ALL=C gawk -f scripts/sysd-rules.awk > /home/gbuild/sysd-rulesT \
  955. -v all_object_suffixes='.o .os .oS' \
  956. -v inhibit_sysdep_asm='' \
  957. -v sysd_rules_patterns='%:% rtld-%:rtld-% rtld-%:% m_%:s_%' \
  958. -v config_sysdirs='sysdeps/unix/sysv/linux/aarch64 sysdeps/aarch64/nptl sysdeps/unix/sysv/linux/generic sysdeps/unix/sysv/linux/wordsize-64 sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix sysdeps/posix sysdeps/aarch64/fpu sysdeps/aarch64/multiarch sysdeps/aarch64 sysdeps/wordsize-64 sysdeps/ieee754/ldbl-128 sysdeps/ieee754/dbl-64/wordsize-64 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/aarch64/soft-fp sysdeps/ieee754 sysdeps/generic'
  959. mv -f /home/gbuild/sysd-rulesT /home/gbuild/sysd-rules
  960. gawk -f scripts/gen-sorted.awk \
  961. -v subdirs='csu assert ctype locale intl catgets math setjmp signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype manual shadow gshadow po argp crypt localedata timezone rt conform debug mathvec support libidn dlfcn elf' \
  962. -v srcpfx='' \
  963. sysdeps/nptl/Subdirs sysdeps/unix/inet/Subdirs sysdeps/posix/Subdirs assert/Depend catgets/Depend debug/Depend hesiod/Depend iconvdata/Depend intl/Depend libio/Depend localedata/Depend malloc/Depend mathvec/Depend nis/Depend nscd/Depend nss/Depend posix/Depend resolv/Depend rt/Depend stdio-common/Depend stdlib/Depend string/Depend time/Depend wcsmbs/Depend > /home/gbuild/sysd-sorted-tmp
  964. mv -f /home/gbuild/sysd-sorted-tmp /home/gbuild/sysd-sorted
  965. make subdir=csu -C csu ..=../ subdir_lib
  966. make[2]: Entering directory '/home/glibc-2.26/csu'
  967. gawk -f ../scripts/gen-as-const.awk ../sysdeps/aarch64/nptl/tcb-offsets.sym \
  968. | gcc -S -o /home/gbuild/tcb-offsets.hT3 -std=gnu11 -fgnu89-inline -O2 -Wall -Werror -Wundef -Wwrite-strings -fmerge-all-constants -fno-stack-protector -frounding-math -g -Wstrict-prototypes -Wold-style-definition -ftls-model=initial-exec -I../include -I/home/gbuild/csu -I/home/gbuild -I../sysdeps/unix/sysv/linux/aarch64 -I../sysdeps/aarch64/nptl -I../sysdeps/unix/sysv/linux/generic -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux/include -I../sysdeps/unix/sysv/linux -I../sysdeps/nptl -I../sysdeps/pthread -I../sysdeps/gnu -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/aarch64/fpu -I../sysdeps/aarch64/multiarch -I../sysdeps/aarch64 -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-128 -I../sysdeps/ieee754/dbl-64/wordsize-64 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/aarch64/soft-fp -I../sysdeps/ieee754 -I../sysdeps/generic -I.. -I../libio -I. -D_LIBC_REENTRANT -include /home/gbuild/libc-modules.h -DMODULE_NAME=libc -include ../include/libc-symbols.h -DTOP_NAMESPACE=glibc -x c - \
  969. -MD -MP -MF /home/gbuild/tcb-offsets.h.dT -MT '/home/gbuild/tcb-offsets.h.d /home/gbuild/tcb-offsets.h'
  970. In file included from ../sysdeps/unix/sysv/linux/aarch64/sys/procfs.h:34:0,
  971. from ../nptl/../nptl_db/thread_db.h:28,
  972. from ../nptl/descr.h:32,
  973. from ../sysdeps/aarch64/nptl/tls.h:44,
  974. from ../sysdeps/unix/sysv/linux/aarch64/sysdep.h:29,
  975. from <stdin>:1:
  976. ../sysdeps/unix/sysv/linux/aarch64/sys/user.h:32:3: error: unknown type name '__uint128_t'
  977. __uint128_t vregs[32];
  978. ^~~~~~~~~~~
  979. ../Makerules:281: recipe for target '/home/gbuild/tcb-offsets.h' failed
  980. make[2]: *** [/home/gbuild/tcb-offsets.h] Error 1
  981. make[2]: Leaving directory '/home/glibc-2.26/csu'
  982. Makefile:215: recipe for target 'csu/subdir_lib' failed
  983. make[1]: *** [csu/subdir_lib] Error 2
  984. make[1]: Leaving directory '/home/glibc-2.26'
  985. Makefile:9: recipe for target 'all' failed
  986. make: *** [all] Error 2
  987. root@kali:/home/gbuild#
Add Comment
Please, Sign In to add comment