From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11939 invoked by alias); 21 Dec 2012 10:16:11 -0000 Received: (qmail 11924 invoked by uid 22791); 21 Dec 2012 10:16:10 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_ZJ X-Spam-Check-By: sourceware.org Received: from mail-wi0-f179.google.com (HELO mail-wi0-f179.google.com) (209.85.212.179) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Dec 2012 10:16:03 +0000 Received: by mail-wi0-f179.google.com with SMTP id o1so2606164wic.12 for ; Fri, 21 Dec 2012 02:16:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.20.109 with SMTP id m13mr22408288wie.16.1356084961755; Fri, 21 Dec 2012 02:16:01 -0800 (PST) Received: by 10.216.153.132 with HTTP; Fri, 21 Dec 2012 02:16:01 -0800 (PST) In-Reply-To: References: Date: Fri, 21 Dec 2012 10:16:00 -0000 Message-ID: Subject: Re: [patch libstdc++]: Fix LLP64 pointer-size issues for cxxabi, eh_alloc, and hash_bytes From: Kai Tietz To: Uros Bizjak Cc: gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org, Paolo Carlini Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg01302.txt.bz2 2012/12/21 Uros Bizjak : > 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.