Advertisement
Guest User

Bzip2 Aarch64 build

a guest
May 30th, 2019
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.31 KB | None | 0 0
  1. patching file Makefile
  2.  
  3. **********************
  4. Building package
  5. **********************
  6. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv8-a -fPIC -pthread -I. -c blocksort.c
  7. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv8-a -fPIC -pthread -I. -c huffman.c
  8. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv8-a -fPIC -pthread -I. -c crctable.c
  9. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv8-a -fPIC -pthread -I. -c randtable.c
  10. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv8-a -fPIC -pthread -I. -c compress.c
  11. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv8-a -fPIC -pthread -I. -c decompress.c
  12. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv8-a -fPIC -pthread -I. -c bzlib.c
  13. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv8-a -fPIC -pthread -I. -c bzip2.c
  14. bzip2.c: In function ‘applySavedFileAttrToOutputFile’:
  15. bzip2.c:1073:4: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result [-Wunused-result]
  16. (void) fchown ( fd, fileMetaInfo.st_uid, fileMetaInfo.st_gid );
  17. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv8-a -fPIC -pthread -I. -c bzip2recover.c
  19. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv8-a -fPIC -pthread -I. -o bzip2recover bzip2recover.o
  20. rm -f libbz2.a
  21. ar cq libbz2.a blocksort.o huffman.o crctable.o randtable.o compress.o decompress.o bzlib.o
  22. ranlib libbz2.a
  23. gcc -Wall -Winline -D_FILE_OFFSET_BITS=64 -g2 -O2 -march=armv8-a -fPIC -pthread -I. -o bzip2 bzip2.o -L. -lbz2
  24. ./bzip2 -1 < sample1.ref > sample1.rb2
  25. ./bzip2 -2 < sample2.ref > sample2.rb2
  26. ./bzip2 -3 < sample3.ref > sample3.rb2
  27. ./bzip2 -d < sample1.bz2 > sample1.tst
  28. ./bzip2 -d < sample2.bz2 > sample2.tst
  29. ./bzip2 -ds < sample3.bz2 > sample3.tst
  30. cmp sample1.bz2 sample1.rb2
  31. cmp sample2.bz2 sample2.rb2
  32. cmp sample3.bz2 sample3.rb2
  33. cmp sample1.tst sample1.ref
  34. cmp sample2.tst sample2.ref
  35. cmp sample3.tst sample3.ref
  36. **********************
  37. Testing package
  38. **********************
  39. ./bzip2 -1 < sample1.ref > sample1.rb2
  40. ./bzip2 -2 < sample2.ref > sample2.rb2
  41. ./bzip2 -3 < sample3.ref > sample3.rb2
  42. ./bzip2 -d < sample1.bz2 > sample1.tst
  43. ./bzip2 -d < sample2.bz2 > sample2.tst
  44. ./bzip2 -ds < sample3.bz2 > sample3.tst
  45. cmp sample1.bz2 sample1.rb2
  46. cmp sample2.bz2 sample2.rb2
  47. cmp sample3.bz2 sample3.rb2
  48. cmp sample1.tst sample1.ref
  49. cmp sample2.tst sample2.ref
  50. cmp sample3.tst sample3.ref
  51. Searching for errors hidden in log files
  52. **********************
  53. Installing package
  54. **********************
  55. [sudo] password for jwalton: if ( test ! -d /usr/local/bin ) ; then mkdir -p /usr/local/bin ; fi
  56. if ( test ! -d /usr/local/lib ) ; then mkdir -p /usr/local/lib ; fi
  57. if ( test ! -d /usr/local/man ) ; then mkdir -p /usr/local/man ; fi
  58. if ( test ! -d /usr/local/man/man1 ) ; then mkdir -p /usr/local/man/man1 ; fi
  59. if ( test ! -d /usr/local/include ) ; then mkdir -p /usr/local/include ; fi
  60. cp -f bzip2 /usr/local/bin/bzip2
  61. cp -f bzip2 /usr/local/bin/bunzip2
  62. cp -f bzip2 /usr/local/bin/bzcat
  63. cp -f bzip2recover /usr/local/bin/bzip2recover
  64. chmod a+x /usr/local/bin/bzip2
  65. chmod a+x /usr/local/bin/bunzip2
  66. chmod a+x /usr/local/bin/bzcat
  67. chmod a+x /usr/local/bin/bzip2recover
  68. cp -f bzip2.1 /usr/local/man/man1
  69. chmod a+r /usr/local/man/man1/bzip2.1
  70. cp -f bzlib.h /usr/local/include
  71. chmod a+r /usr/local/include/bzlib.h
  72. cp -f libbz2.a /usr/local/lib
  73. chmod a+r /usr/local/lib/libbz2.a
  74. cp -f bzgrep /usr/local/bin/bzgrep
  75. ln -s -f /usr/local/bin/bzgrep /usr/local/bin/bzegrep
  76. ln -s -f /usr/local/bin/bzgrep /usr/local/bin/bzfgrep
  77. chmod a+x /usr/local/bin/bzgrep
  78. cp -f bzmore /usr/local/bin/bzmore
  79. ln -s -f /usr/local/bin/bzmore /usr/local/bin/bzless
  80. chmod a+x /usr/local/bin/bzmore
  81. cp -f bzdiff /usr/local/bin/bzdiff
  82. ln -s -f /usr/local/bin/bzdiff /usr/local/bin/bzcmp
  83. chmod a+x /usr/local/bin/bzdiff
  84. cp -f bzgrep.1 bzmore.1 bzdiff.1 /usr/local/man/man1
  85. chmod a+r /usr/local/man/man1/bzgrep.1
  86. chmod a+r /usr/local/man/man1/bzmore.1
  87. chmod a+r /usr/local/man/man1/bzdiff.1
  88. echo ".so man1/bzgrep.1" > /usr/local/man/man1/bzegrep.1
  89. echo ".so man1/bzgrep.1" > /usr/local/man/man1/bzfgrep.1
  90. echo ".so man1/bzmore.1" > /usr/local/man/man1/bzless.1
  91. echo ".so man1/bzdiff.1" > /usr/local/man/man1/bzcmp.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement