Confirming that when I manually add -lgmp to the linker_options, v8 will build. 
Not v9.

When v8 configures, I believe that modules/linker_options *does* include the 
-lgmp flag, which gmp/linker_options needs manual add.

Checking again, but I think that with v9, the flag is missing in both files.

Again, though, even having manually inserted it in both places. In v9, missing 
symbols when trying to build.

In addition to last update, here are some relevant looking files from the build 
modules:

https://gist.github.com/MikeiLL/59203c766452c8c763d04ec35b638a34
More Pike Install Build Modules (manually added -lgmp in both linker_options)
gist.github.com

Additionally, tried installing gnu-sed and running with that instead of native 
osX version and get a different sed error when running `make linker_options`:

sed: -e expression #1, char 332: unknown option to `s'
echo /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/modules/Gmp/module.a  > 
linker_options

As opposed to native which gets:

sed: 1: "s@-L/usr/local/opt/ruby ...": bad flag in substitute command: '@'
echo /Users/mikekilmer/pike/build/darwin-22.6.0-x86_64/modules/Gmp/module.a  > 
linker_options

Reply via email to