From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9792 invoked by alias); 21 Dec 2012 10:13:28 -0000 Received: (qmail 9776 invoked by uid 22791); 21 Dec 2012 10:13:27 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-oa0-f45.google.com (HELO mail-oa0-f45.google.com) (209.85.219.45) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Dec 2012 10:12:57 +0000 Received: by mail-oa0-f45.google.com with SMTP id i18so4480255oag.18 for ; Fri, 21 Dec 2012 02:12:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.212.70 with SMTP id ni6mr10718115obc.44.1356084776495; Fri, 21 Dec 2012 02:12:56 -0800 (PST) Received: by 10.182.153.201 with HTTP; Fri, 21 Dec 2012 02:12:56 -0800 (PST) Date: Fri, 21 Dec 2012 10:13:00 -0000 Message-ID: Subject: Re: [patch libstdc++]: Fix LLP64 pointer-size issues for cxxabi, eh_alloc, and hash_bytes From: Uros Bizjak To: gcc-patches@gcc.gnu.org Cc: libstdc++@gcc.gnu.org, Paolo Carlini , Kai Tietz Content-Type: text/plain; charset=ISO-8859-1 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/msg01301.txt.bz2 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. Uros.