Am Samstag, den 15.10.2011, 10:48 -0700 schrieb Dario Teixeira:
> Hi again,
> 
> In the meantime I've located the problem. It seems there's been a change to 
> the default
> linking of shared libraries in Ubuntu.  See this page for more information:
> https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition
> 
> A temporary fix is to run GODI bootstrap with LDFLAGS="-Wl,--no-as-needed".
> This overrides the new default "--as-needed" which was causing the problem...

Thanks for looking into this.

I'll probably change GODI so that this flag is passed by default if an
OS is detected with that problem (yeah, another OS-specific configure
script, I'm so happy, and thanks). GODI is not Ubuntu-specific, and
other operating systems normally stick to the traditional SunOS-4
behavior, which is the more liberal, "old-fashioned" behavior.

That said, I really wonder what the value is for the OS. I mean, if the
addressed point is just a QA measure to ensure better linking of the
distributed libraries and executables, there would have been less
intrusive possibilities. It's not evident why this radical way was
chosen - there is a price to pay, e.g. when you cannot easily change the
code base.

Gerd

> Cheers,
> Dario Teixeira
> 
> _______________________________________________
> Godi-list mailing list
> [email protected]
> https://godirepo.camlcity.org/mailman/listinfo/godi-list
> 

-- 
------------------------------------------------------------
Gerd Stolpmann, Darmstadt, Germany    [email protected]
Creator of GODI and camlcity.org.
Contact details:        http://www.camlcity.org/contact.html
Company homepage:       http://www.gerd-stolpmann.de
*** Searching for new projects! Need consulting for system
*** programming in Ocaml? Gerd Stolpmann can help you.
------------------------------------------------------------

_______________________________________________
Godi-list mailing list
[email protected]
https://godirepo.camlcity.org/mailman/listinfo/godi-list

Reply via email to