This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch libstdc++]: Fix LLP64 pointer-size issues for cxxabi, eh_alloc, and hash_bytes
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org, Paolo Carlini <paolo dot carlini at oracle dot com>
- Date: Fri, 21 Dec 2012 11:16:01 +0100
- Subject: Re: [patch libstdc++]: Fix LLP64 pointer-size issues for cxxabi, eh_alloc, and hash_bytes
- References: <CAFULd4Yh5ALXr1=5uNd61GTJSi9oaPPm=EjnjX_V3_70zoAfTw@mail.gmail.com>
2012/12/21 Uros Bizjak <ubizjak@gmail.com>:
> Hello!
>
>> 2012-12-21 Kai Tietz
>>
>> * config/os/mingw32/os_defines.h (_GLIBCXX_LLP64): Define if llp64
>> abi is used.
>> * config/os/mingw32-w64/os_defines.h: Likewise.
>> * libsupc++/cxxabi.h (__base_class_type_info): Adjust
>> type of __offset_flags for llp64.
>> * libsupc++/eh_alloc.cc (EMERGENCY_OBJ_SIZE): Define proper
>> for llp64 abi.
>> (EMERGENCY_OBJ_COUNT): Likewise.
>> (bitmask_type): Likewise.
>> * ibsupc++/hash_bytes.cc (_Hash_bytes): Handle llp64.
>
> // { dg-options "-fwhole-program" }
> +// { dg-options "-fwhole-program -static-libstdc++" { target *-*-mingw* } }
>
> Please use dg-additional-options in these cases.
I tried, but it doesn't seems to be supported by libstdc++'s testsuite.
Kai
PS: Sorry, testsuite cases I wanted sent separately, as I am still
going through it to adjust static-linking.