With you and Chris' help, got Pike 9!

Needed to also manually add  -lmpfr.

I hadn't noticed that the missing set of symbols was different after adding 
-lgmp flag manually.

Maybe v8 wasn't depending on mpfr.

Is there a command/process you'd recommend I run to troubleshoot the sed issue?

On our other colleague, John's (older) Mac, Pike 9 compiled fine, BTW.

Thanks much, Bill.

Mike

> On Mar 11, 2024, at 9:22 PM, Mike Kilmer <m...@mzoo.org> wrote:
> 
> 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
> 
> 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