Skip to content

Instantly share code, notes, and snippets.

@VGib
Created November 10, 2016 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VGib/f4af56852adf637a48205b28841d7c7d to your computer and use it in GitHub Desktop.
Save VGib/f4af56852adf637a48205b28841d7c7d to your computer and use it in GitHub Desktop.
==> Construction et installation du paquet
==> Création du paquet proot 5.1.0-3 (jeu. nov. 10 19:24:04 CET 2016)
==> Vérification des dépendances pour l’exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
-> Téléchargement de proot-v5.1.0.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 121 0 121 0 0 227 0 --:--:-- --:--:-- --:--:-- 227
100 122 0 122 0 0 183 0 --:--:-- --:--:-- --:--:-- 183
100 247k 0 247k 0 0 154k 0 --:--:-- 0:00:01 --:--:-- 686k
-> 0001-Fix-use-of-size.patch trouvé
==> Validation des fichiers source avec sha1sums...
proot-v5.1.0.tar.gz ... Réussite
0001-Fix-use-of-size.patch ... Réussite
==> Extraction des sources...
-> Extraction de proot-v5.1.0.tar.gz avec bsdtar
==> Lancement de prepare()...
patching file src/execve/enter.c
Hunk #1 succeeded at 454 (offset -6 lines).
Hunk #2 succeeded at 483 (offset -6 lines).
==> Lancement de build()...
GEN build.h
CC cli/cli.o
CC cli/proot.o
./cli/proot.c: Dans la fonction ‘handle_option_V’:
./cli/proot.c:202:3: attention : ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(1, &_binary_licenses_start, size);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC cli/note.o
CC execve/enter.o
CC execve/exit.o
CC execve/shebang.o
CC execve/elf.o
CC execve/ldso.o
CC execve/auxv.o
CC execve/aoxp.o
CC path/binding.o
CC path/glue.o
CC path/canon.o
CC path/path.o
CC path/proc.o
CC path/temp.o
CC syscall/seccomp.o
CC syscall/syscall.o
CC syscall/chain.o
CC syscall/enter.o
CC syscall/exit.o
CC syscall/sysnum.o
CC syscall/socket.o
CC syscall/heap.o
CC tracee/tracee.o
CC tracee/mem.o
CC tracee/reg.o
CC tracee/event.o
CC ptrace/ptrace.o
CC ptrace/user.o
CC ptrace/wait.o
CC extension/extension.o
CC extension/kompat/kompat.o
CC extension/fake_id0/fake_id0.o
CC loader/loader.o
CC loader/assembly.o
LD loader/loader
GEN loader/loader-wrapped.o
Usage: objcopy [option(s)] fichier_d_entrée [fichier_de_sortie]
Copier un fichier binaire, possiblement le transformer durant le traitement
Les options sont :
-I --input-target <nombfd> Assumer que le fichier d'entrée est de format <nombfd>
-O --output-target <nombfd> Créer un fichier de sortie de format <nombfd>
-B --binary-architecture <arch> Sélectionner l'architecture du fichier de sortie si pas d'architecture en entrée
-F --target <nombfd> Initialiser les formats d'entrée et de sortie à <nombfd>
--debugging Convertir les informations de débug, si possible
-p --preserve-dates Conserver les dates d'accès et de modification de fichiers
-D --enable-deterministic-archives
Produire une sortie déterministe en élaguant les archives (par défaut)
-U --disable-deterministic-archives
Désactiver le comportement -D
-j --only-section <name> Only copy section <name> into the output
--add-gnu-debuglink=<file> Add section .gnu_debuglink linking to <file>
-R --remove-section <name> Remove section <name> from the output
-S --strip-all Remove all symbol and relocation information
-g --strip-debug Remove all debugging symbols & sections
--strip-dwo Remove all DWO sections
--strip-unneeded Remove all symbols not needed by relocations
-N --strip-symbol <name> Do not copy symbol <name>
--strip-unneeded-symbol <name>
Do not copy symbol <name> unless needed by
relocations
--only-keep-debug Strip everything but the debug information
--extract-dwo Copy only DWO sections
--extract-symbol Remove section contents but keep symbols
-K --keep-symbol <name> Do not strip symbol <name>
--keep-file-symbols Do not strip file symbol(s)
--localize-hidden Turn all ELF hidden symbols into locals
-L --localize-symbol <name> Force symbol <name> to be marked as a local
--globalize-symbol <name> Force symbol <name> to be marked as a global
-G --keep-global-symbol <name> Localize all symbols except <name>
-W --weaken-symbol <name> Force symbol <name> to be marked as a weak
--weaken Force all global symbols to be marked as weak
-w --wildcard Permit wildcard in symbol comparison
-x --discard-all Remove all non-global symbols
-X --discard-locals Remove any compiler-generated symbols
-i --interleave[=<number>] Only copy N out of every <number> bytes
--interleave-width <number> Set N for --interleave
-b --byte <num> Select byte <num> in every interleaved block
--gap-fill <val> Fill gaps between sections with <val>
--pad-to <addr> Pad the last section up to address <addr>
--set-start <addr> Set the start address to <addr>
{--change-start|--adjust-start} <incr>
Add <incr> to the start address
{--change-addresses|--adjust-vma} <incr>
Add <incr> to LMA, VMA and start addresses
{--change-section-address|--adjust-section-vma} <name>{=|+|-}<val>
Change LMA and VMA of section <name> by <val>
--change-section-lma <name>{=|+|-}<val>
Change the LMA of section <name> by <val>
--change-section-vma <name>{=|+|-}<val>
Change the VMA of section <name> by <val>
{--[no-]change-warnings|--[no-]adjust-warnings}
Warn if a named section does not exist
--set-section-flags <name>=<flags>
Set section <name>'s properties to <flags>
--add-section <name>=<file> Add section <name> found in <file> to output
--update-section <name>=<file>
Update contents of section <name> with
contents found in <file>
--dump-section <name>=<file> Dump the contents of section <name> into <file>
--rename-section <old>=<new>[,<flags>] Rename section <old> to <new>
--long-section-names {enable|disable|keep}
Handle long section names in Coff objects.
--change-leading-char Force output format's leading character style
--remove-leading-char Remove leading character from global symbols
--reverse-bytes=<num> Reverse <num> bytes at a time, in output sections with content
--redefine-sym <old>=<new> Redefine symbol name <old> to <new>
--redefine-syms <file> --redefine-sym for all symbol pairs
listed in <file>
--srec-len <number> Restrict the length of generated Srecords
--srec-forceS3 Restrict the type of generated Srecords to S3
--strip-symbols <file> -N for all symbols listed in <file>
--strip-unneeded-symbols <file>
--strip-unneeded-symbol for all symbols listed
in <file>
--keep-symbols <file> -K for all symbols listed in <file>
--localize-symbols <file> -L for all symbols listed in <file>
--globalize-symbols <file> --globalize-symbol for all in <file>
--keep-global-symbols <file> -G for all symbols listed in <file>
--weaken-symbols <file> -W for all symbols listed in <file>
--add-symbol <name>=[<section>:]<value>[,<flags>] Add a symbol
--alt-machine-code <index> Use the target's <index>'th alternative machine
--writable-text Mark the output text as writable
--readonly-text Make the output text write protected
--pure Mark the output file as demand paged
--impure Mark the output file as impure
--prefix-symbols <prefix> Add <prefix> to start of every symbol name
--prefix-sections <prefix> Add <prefix> to start of every section name
--prefix-alloc-sections <prefix>
Add <prefix> to start of every allocatable
section name
--file-alignment <num> Set PE file alignment to <num>
--heap <reserve>[,<commit>] Set PE reserve/commit heap to <reserve>/
<commit>
--image-base <address> Set PE image base to <address>
--section-alignment <num> Set PE section alignment to <num>
--stack <reserve>[,<commit>] Set PE reserve/commit stack to <reserve>/
<commit>
--subsystem <name>[:<version>]
Set PE subsystem to <name> [& <version>]
--compress-debug-sections[={none|zlib|zlib-gnu|zlib-gabi}]
Compress DWARF debug sections using zlib
--decompress-debug-sections Decompress DWARF debug sections using zlib
--elf-stt-common=[yes|no] Generate ELF common symbols with STT_COMMON
type
-v --verbose List all object files modified
@<file> Read options from <file>
-V --version Display this program's version number
-h --help Display this output
--info List object formats & architectures supported
objcopy: cibles supportées : elf64-x86-64 elf32-i386 elf32-iamcu elf32-x86-64 a.out-i386-linux pei-i386 pei-x86-64 elf64-l1om elf64-k1om elf64-little elf64-big elf32-little elf32-big plugin srec symbolsrec verilog tekhex binary ihex
make: *** [GNUmakefile:207: loader/loader-wrapped.o] Error 1
rm .check_process_vm .check_process_vm.o loader.exe .check_seccomp_filter.o .check_seccomp_filter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment