Yes,

I agree that a more modern solution would be preferable, if one exists (it appears that's the case with 10.3+). I would have definitely would have preferred your proposal had it been available back then.

I just confirmed that the gmp bundle compiles but results in a failure during pike linking:

Linking Gmp
ld: absolute addressing (perhaps -mdynamic-no-pic) used in ___gmpn_add_nc from /Users/hww3/Downloads/Pikev7.8.8/build/ darwin-9.2.1-i386/bundles/lib/./libgmp.a(add_n.o) not allowed in slidable image
collect2: ld returned 1 exit status

The package of 4.2.2 shipped with fink seems to work just fine (and doesn't appear to be doing anything special during configuration), so I'm not sure what the difference might be... does the process of using a bundle pass any arguments to the gmp configuration script?

Bill

On Aug 14, 2008, at 1:05 PM, Jonas Walldén @ Pike developers forum wrote:

Thanks for the comments. It's indeed the multiple libjpeg issue I'm
taking a stab at here. Your fix predates 10.3 while my suggested tweak
requires a 10.3+ ld feature (-undefined dynamic_lookup) so perhaps
what seemed a necessity back then is better handled in this fashion
nowadays. And who knows when the 10.0 compatibility mode disappears?

I can try this fix on a few more Macs before passing final judgement.
I've got ppc32 on 10.4, x86 on 10.4 and x86_64 on 10.5 in Roxen's
build farm.

Unfortunately I couldn't get the #pragma idea to work so it's not an
option.

              • ... 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
              • ... Jonas Walld�n @ Pike developers forum
              • ... H. William Welliver III
              • ... Peter Bortas @ Pike developers forum
  • Re: 7.8 alpha 2 Lance Dillon

Reply via email to