Github messages for voidlinux
 help / color / mirror / Atom feed
From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Closed]: [RFC] gc: update to 8.2.0, cleanup.
Date: Sun, 21 Nov 2021 13:55:54 +0100	[thread overview]
Message-ID: <20211121125554.vn-Oc-3aYPyxN062eAUExfgIiT2cv6pOdWFJZZ3_ZUw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34176@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 2010 bytes --]

There's a closed pull request on the void-packages repository

[RFC] gc: update to 8.2.0, cleanup.
https://github.com/void-linux/void-packages/pull/34176

Description:
I was looking for out of date dependencies for sage so I updated `gc` to 8.2.0. After I had already finished I realized that 8.2.0 is experimental; it seems all the `*.*.0` releases are experimental so I added an ignore to the update file.

Even if this is not to merge now (although it might be useful to merge the ignore), I made some cleanup for some things that seem to be old and not needed anymore -- but since I'm not sure I'm asking for comments.

Cleanup 1: for musl, the current template sets `CFLAGS='-D_GNU_SOURCE -DNO_GETCONTEXT -DSEARCH_FOR_DATA_START -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR'` but all of this seems noop except maybe `-DSEARCH_FOR_DATA_START` which I don't understand; it seems originally came from alpine which afaict doesn't use it anymore. In any case I'd argue for using the same CFLAGS for all archs and since this seems to be working without any...

Cleanup 2: there is a `post_install()` which installed headers, in fact it just copied all of the `include` dir in the source which also contains build artifacts. It seems to me the upstream make install works ok. It should be pointed out that some headers are not installed, seemingly those related to c++. But if c++ support is needed, passing `--enable-cplusplus` to configure seems the right way and then it will not only install those headers but also install a couple extra shared libraries so maybe installing just the .h is useless.

My test of the resulting packages (after the cleanup) is to compile and check ecl (using #34175) and while a small number of tests fail it doesn't seem to be the change in gc causing that (I tested on glibc and musl with both 8.0.6 and 8.2.0).

Maybe @ivmai can give us some feedback about these changes, and also please confirm that `*.*.0` is always experimental so it's safe to ignore in the update-check.

  parent reply	other threads:[~2021-11-21 12:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-20 22:48 [PR PATCH] " tornaria
2021-11-20 22:55 ` leahneukirchen
2021-11-21  8:08 ` ivmai
2021-11-21  8:21 ` ivmai
2021-11-21  8:30 ` ivmai
2021-11-21  8:38 ` ivmai
2021-11-21 12:55 ` tornaria
2021-11-21 12:55 ` tornaria [this message]
2021-11-21 15:26 ` ivmai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211121125554.vn-Oc-3aYPyxN062eAUExfgIiT2cv6pOdWFJZZ3_ZUw@z \
    --to=tornaria@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).