More testing shows that if I restore two-level namespace linking for
OS X the resulting Pike works fine again. This means switching from

  LDSHARED="$REALCC $CFLAGS -bundle -bind_at_load -flat_namespace -undefined 
suppress"

to

  LDSHARED="$REALCC $CFLAGS -bundle -bind_at_load -undefined dynamic_lookup"

combined with "export MACOSX_DEPLOYMENT_TARGET=10.4".

In src/configure.in r1.568 Grubba added Bill's patch for bug #2820
which forced flat namespace (i.e. the OS X 10.0 default link mode).
This bug ticket says:

> After considerable fiddling, it appears that it will be necessary to
> use the flat namespace when compiling for Darwin (ask me offline if
> you need specific examples and reasons).

Bill, can you recall the rationale for this change? Otherwise one
solution is to switch to my alternate LDSHARED above.

Separately Grubba and Agehall have identified a GCC visibility pragma
that may solve this particular issue in image_jpeg.c and image_tiff.c.
I'm rebuilding again (poor slow G4 laptop :-) and will soon report the
results. Still, this would only fix the identified problem and not
future issues caused by multiple symbols in other places.
        • 7.8 a... Per Hedbor () @ Pike (-) developers forum
          • 7... Mirar @ Pike developers forum
            • ... Jonas Walld�n @ Pike developers forum
              • ... Mirar @ Pike developers forum
              • ... Jonas Walld�n @ Pike developers forum
              • ... Martin Stjernholm, Roxen IS @ Pike developers forum
  • Re: 7.8 alpha 2 Jonas Walld�n @ Pike developers forum
    • Re: 7.8 alpha... Mirar @ Pike developers forum
    • Re: 7.8 alpha... Jonas Walld�n @ Pike developers forum
      • Re: 7.8 a... H. William Welliver III
        • Re: 7... Martin Stjernholm, Roxen IS @ Pike developers forum
        • Re: 7... Jonas Walld�n @ Pike developers forum
          • R... H. William Welliver III
            • ... Jonas Walld�n @ Pike developers forum
              • ... Peter Bortas @ Pike developers forum
              • ... Jonas Walld�n @ Pike developers forum
              • ... Peter Bortas @ Pike developers forum
              • ... Jonas Walld�n @ Pike developers forum
              • ... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum

Reply via email to