From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30619 invoked by alias); 13 Feb 2013 11:46:45 -0000 Received: (qmail 30559 invoked by uid 48); 13 Feb 2013 11:46:24 -0000 From: "uwe.seidler@siemens-enterprise.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug preprocessor/56306] New: -m32 does not support all includes Date: Wed, 13 Feb 2013 11:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: preprocessor X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: uwe.seidler@siemens-enterprise.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2013-02/txt/msg01313.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56306 Bug #: 56306 Summary: -m32 does not support all includes Classification: Unclassified Product: gcc Version: 4.3.4 Status: UNCONFIRMED Severity: minor Priority: P3 Component: preprocessor AssignedTo: unassigned@gcc.gnu.org ReportedBy: uwe.seidler@siemens-enterprise.com Created attachment 29437 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29437 simple test program Scenario: Compilation of a 32bit application on a 64bit host. For "compiler internal" header files the preprocessor accesses the corret header files, e.g. #include includes 32/bits/stdc++.h. For includes located somewher in the sysroot folders this usefull mechanism does not work. gcc-4.3 -m32 curlbr.c does not work if 32bit variant of curlbuild.h is provided in a 32/curl folder.