From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7840 invoked by alias); 21 Feb 2014 14:27:19 -0000 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 Received: (qmail 7821 invoked by uid 48); 21 Feb 2014 14:27:15 -0000 From: "valeryweber at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/60301] New: cross compiler for android: multiple definition of TARGET_POSIX_IO Date: Fri, 21 Feb 2014 14:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: valeryweber at hotmail dot 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-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-02/txt/msg02243.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60301 Bug ID: 60301 Summary: cross compiler for android: multiple definition of TARGET_POSIX_IO Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: valeryweber at hotmail dot com Dear while building a cross gcc (trunk) for android (ndk-r9c toolchains). I get a multiple definition of TARGET_POSIX_IO (see bellow). Getting rid of it makes the thing compile fine. Thanks v ./build/tools/build-gcc.sh --build-out=/home/vwe/libs/gcc/test/tmp2 --binutils-version=2.22.90 --mpfr-version=3.1.2 --mpc-version=1.0 --gmp-version=5.1.3 --gdb-version=7.7 --cloog-version=0.18.1 --ppl-version=1.1 --isl-version=0.12 --try-64 /home/vwe/libs/gcc/test/android-ndk-r9c/src /home/vwe/libs/gcc/test/android-ndk-r9c arm-linux-androideabi-4.8 [...] In file included from ../.././gcc/tm.h:24:0, from /home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/libgcc/fixed-bit.c:48: /home/vwe/libs/gcc/test/android-ndk-r9c/src/build/../gcc/gcc-4.8/libgcc/../gcc/config/gnu-user.h:109:0: warning: "TARGET_POSIX_IO" redefined #define TARGET_POSIX_IO