[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: test-argp-version-etc failures on mac
From: |
Eric Blake |
Subject: |
Re: test-argp-version-etc failures on mac |
Date: |
Wed, 12 Aug 2009 06:11:56 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.6.666 |
-----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 <address@hidden>
>
> 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 address@hidden
-----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-----