I just tried to build the GAP 4.16.0-beta1 release, including the package distro in julia's binarybuilder, for later use in GAP.jl. This worked mostly fine, but there is a build issue with the semigroups package.
The concrete build script is located at JuliaPackaging/Yggdrasil@master...lgoettgens:Yggdrasil:lg/GAP_pkg#diff-61eaa7b76daf9fe3b10cedcc71d4ff2e6aae5e1fa8bc15742a7cba96d0a673b6.
The error I get on aarch64-apple-darwin20 (which is the alphabetically first Apple architecture) is
[...]
[16:28:51] c++ -pthread -g -O2 -fno-common -MQ gen/gapbind14/src/gapbind14.o -MMD -MP -MF gen/gapbind14/src/gapbind14.d -I/workspace/destdir/include -I/workspace/destdir/include/libsemigroups
-std=gnu++17 -O3 -Wno-unused-command-line-argument -flax-vector-conversions -Igapbind14/include/ -DFMT_HEADER_ONLY -DNDEBUG -o gen/gapbind14/src/gapbind14.o -I/workspace/destdir/include/gap/
extra -DUSE_JULIA_GC=1 -c gapbind14/src/gapbind14.cpp
[16:31:14] g++ -o bin/aarch64-apple-darwin20-julia1.14-64-kv10/semigroups.so -L/workspace/destdir/lib -lgap -bundle -undefined dynamic_lookup -Wl,-no_fixup_chains gen/src/bipart.o gen/src/c
onglatt.o gen/src/froidure-pin-fallback.o gen/src/isomorph.o gen/src/pkg.o gen/src/to-gap.o gen/src/init-cong.o gen/src/init-froidure-pin-base.o gen/src/init-froidure-pin-bipart.o gen/src/ini
t-froidure-pin-bmat.o gen/src/init-froidure-pin-matrix.o gen/src/init-froidure-pin-max-plus-mat.o gen/src/init-froidure-pin-min-plus-mat.o gen/src/init-froidure-pin-pbr.o gen/src/init-froidur
e-pin-pperm.o gen/src/init-froidure-pin-transf.o gen/src/init-presentation.o gen/src/init-sims.o gen/src/init-to-congruence.o gen/src/init-to-froidure-pin.o gen/src/init-todd-coxeter.o gen/ga
pbind14/src/gapbind14.o -Wl,-rpath,/workspace/destdir/lib/pkgconfig/../../lib -L/workspace/destdir/lib/pkgconfig/../../lib -lsemigroups
[16:31:14] ld: unknown option: -no_fixup_chains
[16:31:14] collect2: error: ld returned 1 exit status
[16:31:14] make: *** [Makefile.gappkg:141: bin/aarch64-apple-darwin20-julia1.14-64-kv10/semigroups.so] Error 1
Note that the build script explicitly uses the macOS 10.14 SDK. The build argument in question was introduced in #5789 by @fingolfin. (at least this is the only mention of that flag that I found in the repositories in question)
According to haskell/zlib#53 (comment), the -no_fixup_chains option was dropped from macOS 10.13. It would be good if someone who knows a bit about macOS could have a look at this (before the 4.16.0 release).
cc @fingolfin @jswent
I just tried to build the GAP 4.16.0-beta1 release, including the package distro in julia's binarybuilder, for later use in GAP.jl. This worked mostly fine, but there is a build issue with the
semigroupspackage.The concrete build script is located at JuliaPackaging/Yggdrasil@master...lgoettgens:Yggdrasil:lg/GAP_pkg#diff-61eaa7b76daf9fe3b10cedcc71d4ff2e6aae5e1fa8bc15742a7cba96d0a673b6.
The error I get on
aarch64-apple-darwin20(which is the alphabetically first Apple architecture) isNote that the build script explicitly uses the macOS 10.14 SDK. The build argument in question was introduced in #5789 by @fingolfin. (at least this is the only mention of that flag that I found in the repositories in question)
According to haskell/zlib#53 (comment), the
-no_fixup_chainsoption was dropped from macOS 10.13. It would be good if someone who knows a bit about macOS could have a look at this (before the 4.16.0 release).cc @fingolfin @jswent