AIX: Ignore duplicate symbols in multiple headers?

Vinh Nguyen vinhdizzo@gmail.com
Tue Oct 20 21:40:00 GMT 2015


On Tue, Sep 29, 2015 at 7:14 AM, Vinh Nguyen <vinhdizzo@gmail.com> wrote:
> On Tue, Sep 29, 2015 at 7:07 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
>> Another option would be to build GCC with _XOPEN_SOURCE=700 defined,
>> or rebuild Python with the same _XOPEN_SOURCE value as GCC was built
>> with (which was probably not set at all when building GCC) so that
>> they agree.
>>
>> Possibly you just need to rebuild Python with that installation of
>> GCC, so that it uses the "include-fixed" headers from GCC.
>
> I won't be able to re-build GCC as I was lucky enough to find the
> binaries for AIX :).
>
> I could try to rebuild Python though.  How do I find out what
> _XOPEN_SOURCE value was used when GCC was built?  And once I know that
> value, how do I build Python with this value?
>
> Thanks so much for your help!

Jonathan,

Could you clarify on how to dtermine what value _XOPEN_SOURCE was gcc
built with, and how I could re-build python with the same value?
Thanks.

-- Vinh



More information about the Gcc-help mailing list