[osv-dev] [PATCH V2] Add GNU libc extension variables __progname and __progname_full

2019-04-30 Thread Waldemar Kozaczuk
This patch adds GNU libc extension variables __progname and __progname_full used by coreutils. These seem to come from BSD as 'BSD' paragraph explains - https://rosettacode.org/wiki/Program_name#C. Signed-off-by: Waldemar Kozaczuk --- libc/libc.cc | 3 +++ 1 file changed, 3 insertions(+) diff

[osv-dev] [PATCH 2/2] Enhance getopt family of functions to work with PIEs

2019-04-30 Thread Waldemar Kozaczuk
This patch enhances implementation of getopt() and getopt_long() functions to work with PIEs. Newer GCC compiler optimizes PIEs by emitting machine code with so called copy relocations and affects how caller (PIEs) and callee (OSv kernel) see same logical global variables like optarg. New

[osv-dev] [PATCH 1/2] Move getopt* files to libc folder and convert to C++

2019-04-30 Thread Waldemar Kozaczuk
Signed-off-by: Waldemar Kozaczuk --- Makefile | 4 +-- libc/misc/getopt.cc | 77 libc/misc/getopt_long.cc | 61 +++ 3 files changed, 140 insertions(+), 2 deletions(-) create mode 100644

[osv-dev] [PATCH 0/2] Enhance getopt functions to work with PIEs

2019-04-30 Thread Waldemar Kozaczuk
Waldemar Kozaczuk (2): Move getopt* files to libc folder and convert to C++ Enhance getopt family of functions to work with PIEs Makefile | 4 +- core/elf.cc | 14 +++ include/osv/elf.hh | 4 + libc/misc/getopt.cc | 125 +

[osv-dev] Jenkins build is back to normal : osv-build #1475

2019-04-30 Thread jenkins
See -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[osv-dev] [COMMIT osv master] Update apps submodule

2019-04-30 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master Update apps submodule The openjdk8-zulu-full module's Makefile didn't properly handle new versions of openjdk, causing builds on old directories (as Jenkins does) to fail. This update should fix the Jenkins build. Signed-off-by: Nadav

[osv-dev] [COMMIT osv-apps master] openjdk8-zulu-full: fix build when new openjdk version comes out

2019-04-30 Thread Commit Bot
From: Nadav Har'El Committer: Nadav Har'El Branch: master openjdk8-zulu-full: fix build when new openjdk version comes out Our Makefile uses "wget -c" to avoid re-downloading the very large openjdk package on every build, or allow the build to continue if interrupted in the middle of the long