From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32420 invoked by alias); 7 Jun 2010 15:23:37 -0000 Received: (qmail 32380 invoked by uid 48); 7 Jun 2010 15:23:25 -0000 Date: Mon, 07 Jun 2010 15:23:00 -0000 Message-ID: <20100607152325.32379.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libstdc++/44417] make check-target-libstdc++-v3 fails due to undefined ptrdiff_t In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paolo dot carlini at oracle dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg00733.txt.bz2 ------- Comment #15 from paolo dot carlini at oracle dot com 2010-06-07 15:23 ------- Johannes, can you try the patch and in case, give me some details about the remaining issues? The idea is simply that if a glibc header has been included by before , then __GLIBC__ is defined and __GLIBC_MINOR__ set to the proper value. If the minor is < 10, thus is buggy, we include by hand *before* . It should work. Unless the library is somehow including somewhere else outside . That should be also fixed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44417