Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport changes to stable-4.12 #5119

Merged
merged 20 commits into from
Oct 17, 2022

Conversation

ThomasBreuer and others added 20 commits October 14, 2022 18:41
show the degrees of the field extensions of the shown characters
... not just via a message printed to the user
Before this, `make doc` would end up in a GAP prompt, which is against
any convention and makes it unusable in automation.

Likewise, errors would just result in a break loop, instead of terminating
with a non-zero exit code.

This patch fixes this. It also suppresses the GAP banner for `make doc`.

To take effect, packages need to update to this new version.
This broke the HAP test suite
The test suite reported a diff without this. Reported by Bill Allombert.
(and the other way round)
by installing the current methods only for mutiplying with internal FFEs
and adding new methods for multiplying with non-internal FFEs.

(This addresses issue gap-system#5062.)
The two methods now give equivalent results when both are applicable
(for a pc group and a finite prime field).
The `gen` directory is for things that are created by `make` and it
is deleted by `make clean`. But `pkgconfig.h.in` is *not* generated by
`make`. So it does not belong into `src` but rather into `gen`.

Unfortunately GAP's `BuildPackages.sh` script runs `make clean` before
`make`, which triggered this problematic behavior, causing build failures
in `io` and `curlInterface`.
Without this, the check failed with at least some compilers;
here is an error from Apple Clang:

    conftest.c:34:28: error: result argument to overflow builtin must be
    a pointer to a non-const integer ('int' invalid)
    __builtin_mul_overflow(0,0,0);
                               ^

And here with GCC 9.4:

    conftest.c:34:28: error: argument 3 in call to function
    '__builtin_mul_overflow' does not have pointer to integral type
       34 | __builtin_mul_overflow(0,0,0);
          |                            ^
... as it is not contained in release tarballs!
@fingolfin fingolfin added the release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes label Oct 14, 2022
@fingolfin fingolfin merged commit 459f4d7 into gap-system:stable-4.12 Oct 17, 2022
@fingolfin fingolfin deleted the mh/backports-stable-4.12 branch October 17, 2022 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants