-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ralf Wildenhues wrote: | [ This is http://article.gmane.org/gmane.comp.lib.gnulib.bugs/5080 | Please remove bug-gnulib from followups. Thank you. ] | | * Paul Eggert wrote on Fri, Jan 06, 2006 at 12:06:59AM CET: | |>[EMAIL PROTECTED] (Karl Berry) writes: |> |> |>>Is it a problem in practice, ie, what are these non-Unix linkers? |> |>I've run into it on IBM mainframe platforms. You can run into it even |>with GCC, if you use -fno-common. Googling a bit reveals that libtool |>1.5 uses -fno-common on Mac OS X (why, I don't know; see |><http://www.tug.org/pipermail/tex-k/2003-June/000723.html>). | | | A couple of observations on this topic: It was introduced here | http://lists.gnu.org/archive/html/libtool-patches/2001-03/msg00053.html | as "necessary to build shared libraries", and this documentation | http://developer.apple.com/documentation/DeveloperTools/Conceptual/MachOTopics/Articles/executing_files.html | mentions this for multi-module shared libraries. | | Now we've had this discussion recently | http://lists.gnu.org/archive/html/libtool-patches/2005-12/msg00004.html | to use -single_module by default, which would enable us to kill | -fno-common, except we don't know at compile time whether the user will | specify -multi_module at link time. In any case changing pic_flag may | break ABI of some libraries (but also enable to build some others, esp. | Fortran ones). | | Comments?
I will not support the removal of -fno-common on darwin. Older darwin systems developer tools do not support -single_module. The gnulib use of program_name is annoying, getprogname(3), if it exists, can be used as well as other alternatives (e.g. argv[0]). Peter -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Darwin) iQCVAwUBQ8KpWLiDAg3OZTLPAQJr6wP+O4/uKPVYiq9dNhJ6/2nGppi0aWXgXdq9 /E10Izp9ibmH3SslrOPZWhLwpldLbU1vDK36knb+qrK849+3+lh38GnpWeMei20h z8UktKpaHXnpPMj81GzZWhInx1RxgCwsBpmLI8OEH81GK5vwwrPZjlhhTjaRvTg8 F0m6+7EaguU= =08P1 -----END PGP SIGNATURE----- _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib