-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Bruno Haible on 8/7/2009 1:06 AM: > powerpc-apple-darwin8 is MacOS X 10.4. I see this error also on MacOS X > 10.3.9. > It's the same linker bug as the one mentioned in lib/mbsrtowcs-state.c. I'm > applying this fix: > > 2009-08-07 Bruno Haible <br...@clisp.org> > > Avoid link error on MacOS X 10.3 and 10.4. > * lib/argp-ba.c (argp_program_bug_address): Explicitly zero-initialize > on non-ELF systems.
Cygwin is a non-ELF system, but does not need the explicit initialization. Is there a tighter condition we could use that would pick up just the MacOS situation, without penalizing PE-COFF systems? On the other hand, I haven't checked whether gcc on cygwin is smart enough to put zero-initialized data in .bss in spite of the explicit initialization, so it might not make a difference in compiled code size. - -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkqCsYwACgkQ84KuGfSFAYDu4wCfYShZQoaJlhSZuCN6FrQdbqBK eKQAn0NgiRgPUvJK69C6GYoLfwKphVjv =LJpZ -----END PGP SIGNATURE-----