[med-svn] [Git][med-team/plink2][master] 4 commits: New upstream version 2.00~a3-220218+dfsg
Andreas Tille (@tille)
gitlab at salsa.debian.org
Sun Feb 20 20:48:58 GMT 2022
Andreas Tille pushed to branch master at Debian Med / plink2
Commits:
5c4d7d84 by Andreas Tille at 2022-02-20T21:24:51+01:00
New upstream version 2.00~a3-220218+dfsg
- - - - -
d5d5dc17 by Andreas Tille at 2022-02-20T21:24:54+01:00
Update upstream source from tag 'upstream/2.00_a3-220218+dfsg'
Update to upstream version '2.00~a3-220218+dfsg'
with Debian dir 48a45c915f3580003848b491892ec6aac49ce461
- - - - -
60604564 by Andreas Tille at 2022-02-20T21:25:14+01:00
Upstream provided bug fix release
- - - - -
1cc95fe5 by Andreas Tille at 2022-02-20T21:46:09+01:00
Upload to unstable
- - - - -
5 changed files:
- debian/changelog
- include/plink2_base.cc
- include/plink2_base.h
- plink2.cc
- plink2_cmdline.cc
Changes:
=====================================
debian/changelog
=====================================
@@ -1,11 +1,11 @@
-plink2 (2.00~a3-220217+dfsg-1) UNRELEASED; urgency=medium
+plink2 (2.00~a3-220218+dfsg-1) unstable; urgency=medium
* Team upload.
* New upstream version
Closes: #1000782, #1004037
* Standards-Version: 4.6.0 (routine-update)
- -- Andreas Tille <tille at debian.org> Sat, 19 Feb 2022 11:51:01 +0100
+ -- Andreas Tille <tille at debian.org> Sun, 20 Feb 2022 21:36:16 +0100
plink2 (2.00~a3-211011+dfsg-1) unstable; urgency=medium
=====================================
include/plink2_base.cc
=====================================
@@ -23,7 +23,7 @@ namespace plink2 {
uintptr_t g_failed_alloc_attempt_size = 0;
-#if (__GNUC__ <= 4) && (__GNUC_MINOR__ < 7) && !defined(__APPLE__)
+#if (((__GNUC__ == 4) && (__GNUC_MINOR__ < 7)) || (__GNUC__ >= 11)) && !defined(__APPLE__)
BoolErr pgl_malloc(uintptr_t size, void* pp) {
*S_CAST(unsigned char**, pp) = S_CAST(unsigned char*, malloc(size));
if (likely(*S_CAST(unsigned char**, pp))) {
=====================================
include/plink2_base.h
=====================================
@@ -2010,12 +2010,16 @@ extern uintptr_t g_failed_alloc_attempt_size;
// number is printed as well; see e.g.
// https://stackoverflow.com/questions/15884793/how-to-get-the-name-or-file-and-line-of-caller-method
-#if (__GNUC__ == 4) && (__GNUC_MINOR__ < 7) && !defined(__APPLE__)
+#if (((__GNUC__ == 4) && (__GNUC_MINOR__ < 7)) || (__GNUC__ >= 11)) && !defined(__APPLE__)
// putting this in the header file caused a bunch of gcc 4.4 strict-aliasing
// warnings, while not doing so seems to inhibit some malloc-related compiler
// optimizations, bleah
// compromise: header-inline iff gcc version >= 4.7 (might not be the right
// cutoff?)
+// update (18 Feb 2022): looks like inlined pgl_malloc is not compiled as
+// intended by gcc 11, due to new ipa-modref pass? Open to suggestions on how
+// to fix this; maybe it's now necessary to define type-specific malloc
+// wrappers, ugh...
BoolErr pgl_malloc(uintptr_t size, void* pp);
#else
// Unfortunately, defining the second parameter to be of type void** doesn't do
=====================================
plink2.cc
=====================================
@@ -71,7 +71,7 @@ static const char ver_str[] = "PLINK v2.00a3"
#ifdef USE_MKL
" Intel"
#endif
- " (17 Feb 2022)";
+ " (18 Feb 2022)";
static const char ver_str2[] =
// include leading space if day < 10, so character length stays the same
""
@@ -10944,13 +10944,7 @@ int main(int argc, char** argv) {
reterr = kPglRetWriteFail;
}
if (bigstack_ua) {
- if (g_debug_on) {
- fputs("--debug: Trying to free bigstack_ua.\n", stdout);
- }
free(bigstack_ua);
}
- if (g_debug_on) {
- fputs("--debug: Exiting.\n", stdout);
- }
return S_CAST(int32_t, reterr);
}
=====================================
plink2_cmdline.cc
=====================================
@@ -526,15 +526,9 @@ BoolErr CleanupLogfile(uint32_t print_end_time) {
}
BoolErr ret_boolerr = 0;
if (g_logfile) {
- if (g_debug_on) {
- printf("--debug: g_log_failed = %u.\n", g_log_failed);
- }
if (!g_log_failed) {
logputs_silent("\n");
logputs_silent(g_logbuf);
- if (g_debug_on) {
- fputs("--debug: Trying to close log.\n", stdout);
- }
if (unlikely(fclose(g_logfile))) {
fflush(stdout);
fprintf(stderr, "Error: Failed to finish writing to log: %s.\n", strerror(errno));
View it on GitLab: https://salsa.debian.org/med-team/plink2/-/compare/ef75742520e1e53041640db547b7994241ac301c...1cc95fe59f40f64e2491a5311a604622cb533065
--
View it on GitLab: https://salsa.debian.org/med-team/plink2/-/compare/ef75742520e1e53041640db547b7994241ac301c...1cc95fe59f40f64e2491a5311a604622cb533065
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220220/36a554be/attachment-0001.htm>
More information about the debian-med-commit
mailing list